{"protocolVersion":"2025-06-18","capabilities":{"tools":{"listChanged":false}},"agentGuidance":{"description":"General guidance for external AI agents using this MCP server. Read before selecting a project endpoint, requesting tool schemas, or calling protocol tools.","skillUrl":"https://erc8004.heyanon.ai/mcp/skill.md"},"serverInfo":{"name":"heyanon-erc8004-meteoraAmmV2","version":"1.0.0"},"tools":[{"name":"claim","title":"Claim Rewards","description":"Claim earned rewards from Meteora AMM V2 liquidity pool. Use getPoolAddress to resolve the pool address before proceeding.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"poolAddress":{"type":"string","description":"The address of the AMM V2 pool"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","poolAddress","baseToken","quoteToken","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"transaction":{"type":"string","description":"Base64-encoded serialized VersionedTransaction"}},"required":["transaction"],"additionalProperties":false},"description":"Solana transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"createMemePool","title":"Create Meme Pool","description":"Create new Meteora memecoin AMM V2 pool.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"},"baseAmount":{"type":"string","description":"Amount of base tokens to deposit in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"quoteAmount":{"type":"string","description":"Amount of quote tokens to deposit in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"fee":{"type":"string","description":"The fee tier of the AMM pool"},"useDynamicFee":{"type":"string","description":"Set to \"1\" to enable dynamic fees, or \"0\" for static fees"},"collectMode":{"type":"string","description":"Set to \"0\" to collect fees in both tokens, or \"1\" to collect fees only in the quote token"},"feeSchedulerMode":{"type":"string","description":"Set to \"0\" for linear mode, or \"1\" for exponential mode"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","baseToken","quoteToken","baseAmount","quoteAmount","fee","useDynamicFee","collectMode","feeSchedulerMode","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"transaction":{"type":"string","description":"Base64-encoded serialized VersionedTransaction"}},"required":["transaction"],"additionalProperties":false},"description":"Solana transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"createPool","title":"Create AMM V2 Pool","description":"Create new Meteora AMM V2 pool.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"},"baseAmount":{"type":"string","description":"Amount of base tokens to deposit in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"quoteAmount":{"type":"string","description":"Amount of quote tokens to deposit in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"fee":{"type":"string","description":"The fee tier of the AMM pool"},"useDynamicFee":{"type":"string","description":"Set to \"1\" to enable dynamic fees, or \"0\" for static fees"},"collectMode":{"type":"string","description":"Set to \"0\" to collect fees in both tokens, or \"1\" to collect fees only in the quote token"},"feeSchedulerMode":{"type":"string","description":"Set to \"0\" for linear mode, or \"1\" for exponential mode"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","baseToken","quoteToken","baseAmount","quoteAmount","fee","useDynamicFee","collectMode","feeSchedulerMode","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"transaction":{"type":"string","description":"Base64-encoded serialized VersionedTransaction"}},"required":["transaction"],"additionalProperties":false},"description":"Solana transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"deposit","title":"Deposit Liquidity","description":"Create position and deposit liquidity to Meteora AMM V2 pool and earn LP tokens. Use getPoolAddress to resolve the pool address before proceeding.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"poolAddress":{"description":"Specific pool address to deposit","type":"string"},"baseToken":{"description":"The base token address","type":"string"},"quoteToken":{"description":"The quote token address","type":"string"},"tokenIn":{"type":"string","description":"The address of the token to be deposited"},"amount":{"type":"string","description":"Amount of tokens to deposit in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","tokenIn","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"transaction":{"type":"string","description":"Base64-encoded serialized VersionedTransaction"}},"required":["transaction"],"additionalProperties":false},"description":"Solana transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"withdraw","title":"Withdraw Liquidity","description":"Withdraw liquidity from Meteora AMM V2 pool. Use getPoolAddress to resolve the pool address before proceeding.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"poolAddress":{"type":"string","description":"The address of the AMM V2 pool"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"},"amount":{"type":"string","description":"Amount of tokens to withdraw in human-readable decimal format (e.g. '1.5'). Use \"-1\" for all balance"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","poolAddress","baseToken","quoteToken","amount","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"transactions":{"type":"array","items":{"type":"object","properties":{"transaction":{"type":"string","description":"Base64-encoded serialized VersionedTransaction"}},"required":["transaction"],"additionalProperties":false},"description":"Solana transactions to sign and broadcast"}},"required":["project","operation","transactions"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getPositionsList","title":"View AMM V2 Positions","description":"View user AMM V2 positions.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"array","items":{"type":"object","properties":{"pair":{"type":"string","description":"Token pair (e.g. \"tokenA-tokenB\")"},"poolAddress":{"type":"string","description":"Pool address"},"balance":{"type":"string","description":"Normalized LP liquidity balance"},"feeTokenA":{"type":"string","description":"Unclaimed base token fees"},"feeTokenB":{"type":"string","description":"Unclaimed quote token fees"}},"required":["pair","poolAddress","balance","feeTokenA","feeTokenB"],"additionalProperties":false},"description":"User AMM V2 positions and balances"}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getPoolList","title":"Top AMM V2 Pools","description":"View top 10 Meteora AMM V2 liquidity pools sorted by TVL. Do not use if user did not request.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"}},"required":["chainName"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"array","items":{"type":"object","properties":{"name":{"type":"string","description":"Pool name"},"tvl":{"type":"string","description":"Total value locked"},"volume24h":{"type":"string","description":"24h trade volume"}},"required":["name","tvl","volume24h"],"additionalProperties":false},"description":"Top AMM V2 liquidity pools by TVL"}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getPoolDetails","title":"Get Pool Details","description":"Receive detailed information about specific liquidity pool.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"}},"required":["chainName","baseToken","quoteToken"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"address":{"type":"string","description":"Pool address"},"name":{"type":"string","description":"Pool name"},"tvl":{"type":"string","description":"Total value locked (e.g. \"$1,234.56\")"},"volume24h":{"type":"string","description":"24h trade volume (e.g. \"$567.89\")"},"fee24h":{"type":"string","description":"24h fees (e.g. \"$12.34\")"},"baseFee":{"type":"string","description":"Liquidity provider fee"},"allocation":{"type":"array","items":{"type":"object","properties":{"token":{"type":"string","description":"Token symbol"},"amount":{"type":"string","description":"Token amount in pool"},"amountUsd":{"type":"string","description":"Token amount in USD (e.g. \"$123.45\")"}},"required":["token","amount","amountUsd"],"additionalProperties":false},"description":"Token allocation breakdown"},"apr":{"type":"string","description":"Annual percentage rate (e.g. \"12.34%\")"},"dynamicFee":{"type":"string","description":"Whether dynamic fees are enabled (\"Yes\" or \"No\")"},"collectFeeMode":{"type":"string","description":"Fee collection mode"}},"required":["address","name","tvl","volume24h","fee24h","baseFee","allocation","apr","dynamicFee","collectFeeMode"],"additionalProperties":false,"description":"Pool metadata and statistics"}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getSupply","title":"Get LP Balance","description":"View your current LP token balance in Meteora AMM V2 liquidity pool. Use getPoolAddress to resolve the pool address before proceeding.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"poolAddress":{"type":"string","description":"The address of the AMM V2 pool"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"},"userAddress":{"type":"string","description":"The Solana wallet address of the user"}},"required":["chainName","poolAddress","baseToken","quoteToken","userAddress"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"lpBalance":{"type":"string","description":"User LP token balance in human-readable decimal format"}},"required":["lpBalance"],"additionalProperties":false,"description":"User LP token balance for the pool"}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}},{"name":"getPoolAddress","title":"Resolve Pool Address","description":"Resolve the AMM V2 pool address by providing base and quote token addresses.","inputSchema":{"type":"object","properties":{"chainName":{"type":"string","enum":["solana"],"description":"Chain name"},"baseToken":{"type":"string","description":"The base token address"},"quoteToken":{"type":"string","description":"The quote token address"}},"required":["chainName","baseToken","quoteToken"],"additionalProperties":false},"outputSchema":{"type":"object","anyOf":[{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"note":{"type":"string","description":"Human-readable summary of the action"},"data":{"type":"object","properties":{"poolAddress":{"type":"string","description":"Resolved AMM V2 pool address"}},"required":["poolAddress"],"additionalProperties":false,"description":"Resolved pool address for the token pair"}},"required":["project","operation","data"],"additionalProperties":false},{"type":"object","properties":{"project":{"type":"string","description":"Protocol identifier"},"operation":{"type":"string","description":"Operation that produced this response"},"error":{"type":"string","description":"Error message"}},"required":["project","operation","error"],"additionalProperties":false}]}}]}