{"apiVersion":"v1","directorySlug":"sun-mcp-89bd5bb6b2","title":"SUN","description":"Leading DeFi protocol on Tron: swap, stake, earn, liquidity mining and governance. 在Tron上领先的去中心化金融（DeFi）协议：提供交换、质押、赚取、流动性挖矿和治理服务。","pageUrl":"https://www.mcpbundles.com/skills/sun-mcp-89bd5bb6b2","connectPath":"importable","connectAction":"import_server","catalogListing":false,"bundleSlug":null,"listingKind":"remote_mcp","kind":"provider","transportUrl":"https://mcp.sun.io/mcp","hostedMcpUrl":null,"toolCount":41,"toolInventoryStatus":"observed","refreshedAt":"2026-11-03T13:26:00.516172+00:00","registryName":"io.sun/sun-mcp-89bd5bb6b2","registryVersion":"2026.11.3","registryEligible":true,"tools":[{"name":"sunswap_get_wallet_address","description":"Get the active TRON wallet address for SUN.IO/SUNSWAP interactions.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"network":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_get_wallet_address","displayName":"sunswap_get_wallet_address","title":"sunswap_get_wallet_address","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v3_collect","description":"Collect accrued fees from an existing SUNSWAP V3-style position. Before executing, estimates claimable fees via a read-only collect call.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["positionManagerAddress","tokenId"],"properties":{"abi":{"type":"array"},"network":{"type":"string"},"tokenId":{"type":"string"},"recipient":{"type":"string"},"positionManagerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v3_collect","displayName":"sunswap_v3_collect","title":"sunswap_v3_collect","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_get_balances","description":"Get TRX and TRC20 balances for a wallet on TRON, useful for SUN.IO/SUNSWAP portfolio views.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tokens"],"properties":{"tokens":{"type":"array","items":{"type":"object","required":["type"],"properties":{"type":{"enum":["TRX","TRC20"],"type":"string"},"tokenAddress":{"type":"string"}},"additionalProperties":false}},"network":{"type":"string"},"ownerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_get_balances","displayName":"sunswap_get_balances","title":"sunswap_get_balances","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_quote_exact_input","description":"Estimate SUNSWAP smart router swap results (exact input) by calling its quote/view function.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["routerAddress","args"],"properties":{"abi":{"type":"array"},"args":{"type":"array"},"network":{"type":"string"},"functionName":{"type":"string"},"routerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_quote_exact_input","displayName":"sunswap_quote_exact_input","title":"sunswap_quote_exact_input","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_read_contract","description":"Read data from a TRON smart contract used by SUN.IO/SUNSWAP (view/pure functions only).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["address","functionName"],"properties":{"abi":{"type":"array"},"args":{"type":"array"},"address":{"type":"string"},"network":{"type":"string"},"functionName":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_read_contract","displayName":"sunswap_read_contract","title":"sunswap_read_contract","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_swap_exact_input","description":"Execute SUNSWAP smart router swapExactInput (or equivalent) using the pattern: get params -> build unsigned tx -> wallet sign -> broadcast.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["routerAddress","args"],"properties":{"abi":{"type":"array"},"args":{"type":"array"},"value":{"type":"string"},"network":{"type":"string"},"functionName":{"type":"string"},"routerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_swap_exact_input","displayName":"sunswap_swap_exact_input","title":"sunswap_swap_exact_input","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_get_token_price","description":"Get latest token prices from SUN.IO / SUNSWAP public API using token addresses and/or symbols.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"symbol":{"type":"string"},"tokenAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_get_token_price","displayName":"sunswap_get_token_price","title":"sunswap_get_token_price","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v2_add_liquidity","description":"Add liquidity to a SUNSWAP V2-style pool. If tokenA or tokenB is native TRX (T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb), addLiquidityETH is used automatically; otherwise addLiquidity(tokenA, tokenB, ...) is used.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["routerAddress","tokenA","tokenB","amountADesired","amountBDesired"],"properties":{"to":{"type":"string"},"abi":{"type":"array"},"tokenA":{"type":"string"},"tokenB":{"type":"string"},"network":{"type":"string"},"deadline":{"type":["string","number"]},"amountAMin":{"type":"string"},"amountBMin":{"type":"string"},"routerAddress":{"type":"string"},"amountADesired":{"type":"string"},"amountBDesired":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v2_add_liquidity","displayName":"sunswap_v2_add_liquidity","title":"sunswap_v2_add_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v2_remove_liquidity","description":"Remove liquidity from a SUNSWAP V2-style pool. If tokenA or tokenB is native TRX (T9yD14Nj9j7xAB4dbGeiX9h8unkKHxuWwb), removeLiquidityETH is used automatically; otherwise removeLiquidity(...) is used.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["routerAddress","tokenA","tokenB","liquidity"],"properties":{"to":{"type":"string"},"abi":{"type":"array"},"tokenA":{"type":"string"},"tokenB":{"type":"string"},"network":{"type":"string"},"deadline":{"type":["string","number"]},"liquidity":{"type":"string"},"amountAMin":{"type":"string"},"amountBMin":{"type":"string"},"routerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v2_remove_liquidity","displayName":"sunswap_v2_remove_liquidity","title":"sunswap_v2_remove_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v3_mint_position","description":"Mint a new SUNSWAP V3 concentrated liquidity position. Supports auto-compute: if fee is omitted, defaults to 3000; if tickLower/tickUpper are omitted, reads pool currentTick and sets ±50*tickSpacing; if only one of amount0Desired/amount1Desired is provided, calculates the other from V3 math.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["positionManagerAddress","token0","token1"],"properties":{"abi":{"type":"array"},"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"deadline":{"type":["string","number"]},"recipient":{"type":"string"},"tickLower":{"type":"number"},"tickUpper":{"type":"number"},"amount0Min":{"type":"string"},"amount1Min":{"type":"string"},"amount0Desired":{"type":"string"},"amount1Desired":{"type":"string"},"positionManagerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v3_mint_position","displayName":"sunswap_v3_mint_position","title":"sunswap_v3_mint_position","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v3_increase_liquidity","description":"Increase liquidity of an existing SUNSWAP V3 position. If only one of amount0Desired/amount1Desired is provided along with token0/token1/fee, the other is auto-calculated. amountMin defaults to 5% slippage; deadline defaults to now + 30 min.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["positionManagerAddress","tokenId"],"properties":{"abi":{"type":"array"},"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"tokenId":{"type":"string"},"deadline":{"type":["string","number"]},"tickLower":{"type":"number"},"tickUpper":{"type":"number"},"amount0Min":{"type":"string"},"amount1Min":{"type":"string"},"amount0Desired":{"type":"string"},"amount1Desired":{"type":"string"},"positionManagerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v3_increase_liquidity","displayName":"sunswap_v3_increase_liquidity","title":"sunswap_v3_increase_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v3_decrease_liquidity","description":"Decrease liquidity of an existing SUNSWAP V3 position. If token0/token1/fee are provided, amount0Min/amount1Min are auto-calculated from V3 math with 5% slippage. deadline defaults to now + 30 min.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["positionManagerAddress","tokenId","liquidity"],"properties":{"abi":{"type":"array"},"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"tokenId":{"type":"string"},"deadline":{"type":["string","number"]},"liquidity":{"type":"string"},"amount0Min":{"type":"string"},"amount1Min":{"type":"string"},"positionManagerAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v3_decrease_liquidity","displayName":"sunswap_v3_decrease_liquidity","title":"sunswap_v3_decrease_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_send_contract","description":"Send a state-changing TRON contract transaction for SUN.IO/SUNSWAP, following the pattern: get params -> build unsigned tx -> wallet sign -> broadcast.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["address","functionName"],"properties":{"abi":{"type":"array"},"args":{"type":"array"},"value":{"type":"string"},"address":{"type":"string"},"network":{"type":"string"},"functionName":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_send_contract","displayName":"sunswap_send_contract","title":"sunswap_send_contract","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v4_mint_position","description":"Mint a new SUNSWAP V4 concentrated liquidity position. Uses Permit2 for token authorization. If pool doesn't exist, provide sqrtPriceX96 to auto-create. Supports auto-compute: if tickLower/tickUpper are omitted, defaults to ±100*tickSpacing from current tick; if only one amount is provided, calculates the other.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["token0","token1"],"properties":{"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"deadline":{"type":["string","number"]},"slippage":{"type":"number"},"recipient":{"type":"string"},"tickLower":{"type":"number"},"tickUpper":{"type":"number"},"sqrtPriceX96":{"type":"string"},"amount0Desired":{"type":"string"},"amount1Desired":{"type":"string"},"createPoolIfNeeded":{"type":"boolean"}},"additionalProperties":false},"logicalName":"sunswap_v4_mint_position","displayName":"sunswap_v4_mint_position","title":"sunswap_v4_mint_position","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v4_increase_liquidity","description":"Increase liquidity of an existing SUNSWAP V4 position. Uses Permit2 for token authorization. Requires token0/token1 for proper authorization. If only one amount is provided, calculates the other from position tick range.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tokenId","token0","token1"],"properties":{"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"tokenId":{"type":"string"},"deadline":{"type":["string","number"]},"slippage":{"type":"number"},"amount0Desired":{"type":"string"},"amount1Desired":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v4_increase_liquidity","displayName":"sunswap_v4_increase_liquidity","title":"sunswap_v4_increase_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v4_decrease_liquidity","description":"Decrease liquidity of an existing SUNSWAP V4 position. Withdrawn tokens are sent to the caller via CLOSE_CURRENCY action.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tokenId","liquidity","token0","token1"],"properties":{"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"tokenId":{"type":"string"},"deadline":{"type":["string","number"]},"slippage":{"type":"number"},"liquidity":{"type":"string"},"amount0Min":{"type":"string"},"amount1Min":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_v4_decrease_liquidity","displayName":"sunswap_v4_decrease_liquidity","title":"sunswap_v4_decrease_liquidity","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_v4_collect","description":"Collect accrued fees from an existing SUNSWAP V4 position. Uses CLOSE_CURRENCY to collect all accumulated fees.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tokenId"],"properties":{"fee":{"type":"number"},"token0":{"type":"string"},"token1":{"type":"string"},"network":{"type":"string"},"tokenId":{"type":"string"},"deadline":{"type":["string","number"]}},"additionalProperties":false},"logicalName":"sunswap_v4_collect","displayName":"sunswap_v4_collect","title":"sunswap_v4_collect","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"sunswap_swap","description":"Execute a token swap on SUN.IO via the Universal Router. Automatically finds the best route, handles Permit2 approval/signing, and broadcasts the transaction. Only requires tokenIn, tokenOut, and amountIn.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["tokenIn","tokenOut","amountIn"],"properties":{"network":{"type":"string"},"tokenIn":{"type":"string"},"amountIn":{"type":"string"},"slippage":{"type":"number"},"tokenOut":{"type":"string"}},"additionalProperties":false},"logicalName":"sunswap_swap","displayName":"sunswap_swap","title":"sunswap_swap","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"scanTransactions","description":"This endpoint is for SUN.IO (also called SUNSWAP). Use this endpoint to stream/snapshot recent swap, add-liquidity, and withdraw-liquidity transactions. Best for timeline analysis, activity feeds, and incremental sync with offset pagination.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"type":{"type":"string"},"offset":{"type":"string"},"endTime":{"type":"string"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"startTime":{"type":"string"},"poolAddress":{"type":"string"},"tokenAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"scanTransactions","displayName":"scanTransactions","title":"scanTransactions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getTokens","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get token metadata and key metrics by token address or protocol. Use this for token detail pages, token lists, and protocol-scoped token discovery.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"tokenAddress":{"type":"string"},"filterBlackList":{"type":"boolean"}},"additionalProperties":false},"logicalName":"getTokens","displayName":"getTokens","title":"getTokens","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"searchTokens","description":"This endpoint is for SUN.IO (also called SUNSWAP). Search tokens by keyword (symbol/address) with optional protocol and sorting. Use when users provide fuzzy token input.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"query":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"filterBlackList":{"type":"boolean"}},"additionalProperties":false},"logicalName":"searchTokens","displayName":"searchTokens","title":"searchTokens","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getProtocol","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch current protocol-level overview metrics (TVL/liquidity, volume, etc.) for one protocol or all protocols.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"protocol":{"type":"string"}},"additionalProperties":false},"logicalName":"getProtocol","displayName":"getProtocol","title":"getProtocol","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getVolHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily protocol volume history between startDate and endDate for trend charts and historical analytics.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"endDate":{"type":"string"},"protocol":{"type":"string"},"startDate":{"type":"string"}},"additionalProperties":false},"logicalName":"getVolHistory","displayName":"getVolHistory","title":"getVolHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getUsersCountHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily active/participating user count history at protocol level.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"endDate":{"type":"string"},"protocol":{"type":"string"},"startDate":{"type":"string"}},"additionalProperties":false},"logicalName":"getUsersCountHistory","displayName":"getUsersCountHistory","title":"getUsersCountHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getTransactionsHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily transaction count history at protocol level.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"endDate":{"type":"string"},"protocol":{"type":"string"},"startDate":{"type":"string"}},"additionalProperties":false},"logicalName":"getTransactionsHistory","displayName":"getTransactionsHistory","title":"getTransactionsHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPoolsCountHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily pool count history at protocol level.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"endDate":{"type":"string"},"protocol":{"type":"string"},"startDate":{"type":"string"}},"additionalProperties":false},"logicalName":"getPoolsCountHistory","displayName":"getPoolsCountHistory","title":"getPoolsCountHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getLiqHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily protocol liquidity history between startDate and endDate.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"endDate":{"type":"string"},"protocol":{"type":"string"},"startDate":{"type":"string"}},"additionalProperties":false},"logicalName":"getLiqHistory","displayName":"getLiqHistory","title":"getLiqHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPrice","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get latest token prices by token address or symbol. Supports batch lookup with comma-separated input.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"symbol":{"type":"string"},"tokenAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getPrice","displayName":"getPrice","title":"getPrice","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getUserPositions","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch a user's liquidity positions across pools with optional protocol/pool filters, search, pagination, and sorting.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"query":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"poolAddress":{"type":"string"},"userAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getUserPositions","displayName":"getUserPositions","title":"getUserPositions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPoolUserPositionTick","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch all position ticks for a given concentrated-liquidity pool (poolAddress required).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["poolAddress"],"properties":{"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"poolAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getPoolUserPositionTick","displayName":"getPoolUserPositionTick","title":"getPoolUserPositionTick","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPools","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch pool list/details by pool address, token address, or protocol. Supports sorting and blacklist filtering.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"desc":{"type":"boolean"},"sort":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"poolAddress":{"type":"string"},"tokenAddress":{"type":"string"},"filterBlackList":{"type":"boolean"}},"additionalProperties":false},"logicalName":"getPools","displayName":"getPools","title":"getPools","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getTopApyPoolList","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get paginated pools ranked by APY for yield discovery use cases.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"pageNo":{"type":"integer"},"pageSize":{"type":"integer"}},"additionalProperties":false},"logicalName":"getTopApyPoolList","displayName":"getTopApyPoolList","title":"getTopApyPoolList","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"searchPools","description":"This endpoint is for SUN.IO (also called SUNSWAP). Search pools by address/token/name/symbol with protocol filtering, sorting, and pagination.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"desc":{"type":"boolean"},"sort":{"type":"string"},"query":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"filterBlackList":{"type":"boolean"}},"additionalProperties":false},"logicalName":"searchPools","displayName":"searchPools","title":"searchPools","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"searchCountPools","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get only the total count of pools that match search filters. Use before paginated fetch for UI pagination.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"query":{"type":"string"},"protocol":{"type":"string"},"filterBlackList":{"type":"boolean"}},"additionalProperties":false},"logicalName":"searchCountPools","displayName":"searchCountPools","title":"searchCountPools","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPoolHooks","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch V4 pool hook configuration/metadata.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{}},"logicalName":"getPoolHooks","displayName":"getPoolHooks","title":"getPoolHooks","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPoolVolHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily volume history for a specific pool (poolAddress required).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["poolAddress"],"properties":{"endDate":{"type":"string"},"startDate":{"type":"string"},"poolAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getPoolVolHistory","displayName":"getPoolVolHistory","title":"getPoolVolHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPoolLiqHistory","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch daily liquidity history for a specific pool (poolAddress required).","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","required":["poolAddress"],"properties":{"endDate":{"type":"string"},"startDate":{"type":"string"},"poolAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getPoolLiqHistory","displayName":"getPoolLiqHistory","title":"getPoolLiqHistory","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getPairs","description":"This endpoint is for SUN.IO (also called SUNSWAP). Query token pair records directly from pair_info with protocol/address filters, sorting, and pagination.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"desc":{"type":"boolean"},"sort":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"protocol":{"type":"string"},"protocols":{"type":"string"},"tokenAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getPairs","displayName":"getPairs","title":"getPairs","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getFarms","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get farming pool list and key metrics with optional address filter and sorting.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"farmAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getFarms","displayName":"getFarms","title":"getFarms","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getFarmTransactions","description":"This endpoint is for SUN.IO (also called SUNSWAP). Fetch farming transaction history (stake/unstake/lock/unlock/claim) with optional user/farm/time filters.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"pageNo":{"type":"integer"},"endTime":{"type":"string"},"pageSize":{"type":"integer"},"startTime":{"type":"string"},"farmTxType":{"type":"string"},"farmAddress":{"type":"string"},"userAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getFarmTransactions","displayName":"getFarmTransactions","title":"getFarmTransactions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}},{"name":"getFarmPositions","description":"This endpoint is for SUN.IO (also called SUNSWAP). Get a user's farming positions with optional farm filtering, pagination, and sorting.","inputSchema":{"type":"object","$schema":"http://json-schema.org/draft-07/schema#","properties":{"sort":{"type":"string"},"pageNo":{"type":"integer"},"pageSize":{"type":"integer"},"farmAddress":{"type":"string"},"userAddress":{"type":"string"}},"additionalProperties":false},"logicalName":"getFarmPositions","displayName":"getFarmPositions","title":"getFarmPositions","annotations":{"untrustedContentHint":true,"readOnlyHint":true}}],"toolSource":"directory_preview","agentAction":"both","installLinks":[{"id":"cursor","label":"Cursor","href":"cursor://anysphere.cursor-deeplink/mcp/install?name=SUN&config=eyJ1cmwiOiAiaHR0cHM6Ly9tY3Auc3VuLmlvL21jcCJ9"},{"id":"vscode","label":"VS Code","href":"vscode:mcp/install?%7B%22name%22%3A%22SUN%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.sun.io%2Fmcp%22%7D"},{"id":"vscode-insiders","label":"VS Code Insiders","href":"vscode-insiders:mcp/install?%7B%22name%22%3A%22SUN%22%2C%22type%22%3A%22http%22%2C%22url%22%3A%22https%3A%2F%2Fmcp.sun.io%2Fmcp%22%7D"},{"id":"claude-web","label":"Claude.ai","href":"https://claude.ai/customize/connectors?modal=add-custom-connector&connectorName=SUN&connectorUrl=https%3A%2F%2Fmcp.sun.io%2Fmcp"},{"id":"codex","label":"Codex","copyText":"codex mcp add \"SUN\" --url \"https://mcp.sun.io/mcp\""},{"id":"chatgpt","label":"ChatGPT","href":"https://www.mcpbundles.com/docs/integrations/chatgpt"}],"catalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/sun-mcp-89bd5bb6b2","callUrl":"https://www.mcpbundles.com/api/directory/v1/servers/sun-mcp-89bd5bb6b2/tools/{tool}","mcpServerUrl":"https://mcp.sun.io/mcp","liveCatalogUrl":"https://www.mcpbundles.com/api/directory/v1/servers/sun-mcp-89bd5bb6b2?live=1"}