SODAX Builders MCP
SODAX Builders MCP 服务器
用于 AI 编码助手的 SODAX MCP 服务器。访问实时跨网络(跨链)API 数据:在 17 个以上的网络上进行代币兑换、查询货币市场利率、查看求解器交易量以及搜索意图历史记录。包含从 SODAX 开发者文档自动同步的完整跨链 SDK 文档。直接在开发工作流中利用实时协议数据构建跨网络 DeFi 集成。
一句话介绍: SODAX MCP 服务器:提供 17 个以上网络的实时跨网络 DeFi API 数据和自动更新的 SDK 文档。通过您的 AI 编码助手查询兑换、借贷、求解器交易量和意图历史记录。
快速开始
将 MCP 服务器 URL 添加到您的 AI 编码助手配置中:
{
"mcpServers": {
"sodax-builders": {
"url": "https://builders.sodax.com/mcp"
}
}
}适用于 Claude、Cursor、VS Code、Windsurf、ChatGPT 以及其他兼容 MCP 的代理。一次连接即可访问所有跨网络 API 工具和 SDK 文档。
SSE 传输(旧版)
对于不支持流式 HTTP 的客户端(例如 Gemini CLI),请改用 SSE 端点:
{
"mcpServers": {
"sodax-builders": {
"url": "https://builders.sodax.com/sse"
}
}
}Related MCP server: 1inch Cross-Chain Swap MCP Server
工具
网络配置 (8 个工具)
工具 | 描述 |
| 列出 SODAX 支持跨链兑换的所有区块链网络 |
| 获取可用于跨网络兑换的代币,可按链筛选 |
| 一次调用获取完整的 SODAX 配置(链 + 代币) |
| 包含合约地址和 RPC 的详细分支链配置 |
| 链 ID 到意图转发链 ID 的映射 |
| 代表分支代币的中心(Sonic)资产 |
| 各链支持的货币市场代币 |
| 货币市场储备资产 |
意图与求解器 (6 个工具)
工具 | 描述 |
| 通过哈希查找意图交易 — 状态、金额和详情 |
| 通过意图哈希查找特定意图 |
| 获取特定钱包地址的意图/交易历史记录 |
| 获取带有筛选和分页功能的求解器交易量数据(已完成的意图) |
| 从求解器获取当前的跨链订单簿条目 |
| 获取求解器端的意图详情和完成历史 |
AMM 与流动性 (2 个工具)
工具 | 描述 |
| 按所有者获取 AMM 流动性提供者 NFT 头寸 |
| 获取 AMM 池的 OHLCV K 线图数据 |
货币市场 (6 个工具)
工具 | 描述 |
| 列出所有借贷资产和利率 |
| 通过储备地址获取特定资产的详细信息 |
| 获取用户的货币市场头寸(供应、借入、健康度) |
| 获取特定货币市场资产的借款人 |
| 获取特定货币市场资产的供应人(出借人) |
| 获取所有货币市场资产的全部借款人 |
合作伙伴与代币 (6 个工具)
工具 | 描述 |
| 列出跨网络的 SODAX 集成合作伙伴 |
| 获取特定合作伙伴的交易量和活动摘要 |
| 获取 SODA 代币供应信息(总量、流通量、销毁量) |
| 以纯数字形式获取 SODA 总供应量 |
| 以纯数字形式获取 SODA 流通供应量 |
| 清除缓存数据以获取最新结果 |
跨链 SDK 文档 (动态)
以 docs_ 为前缀的工具会自动从 docs.sodax.com 的 GitBook MCP 代理。它们会在文档更改时自动更新 — 无需手动同步。
工具 | 描述 |
| 搜索跨链 SDK 文档、集成指南和代码示例 |
| 列出所有可用的文档工具 |
| 检查 GitBook MCP 连接状态 |
| 从 GitBook 刷新工具列表 |
示例提示词
连接后,尝试询问您的 AI 编码助手:
跨网络兑换与代币
“SODAX 支持哪些网络进行跨链兑换?”
“获取 Base 链上可用的跨网络兑换代币”
“如何使用 SODAX SDK 集成跨链兑换?”
求解器交易量与意图历史
“显示今天的跨网络求解器交易量”
“查找此意图交易:0x...”
“获取此钱包地址的意图历史记录”
货币市场与借贷
“SODAX 货币市场的借贷利率是多少?”
“显示各资产的借款 APY 利率”
“获取我的货币市场头寸”
SDK 文档
“如何集成 SODAX 跨链 SDK?”
“向我展示跨网络代币兑换的代码示例”
“有哪些 SDK 方法可用于基于意图的执行?”
数据源
源 | 类型 | 缓存 |
SODAX API (api.sodax.com) | 实时跨网络数据 | 2 分钟 |
聚合器 | 跨链兑换代币数据 | 2 分钟 |
GitBook (docs.sodax.com) | SDK 文档 | 自动同步 |
本地开发
# Install dependencies
pnpm install
# Run in development mode
pnpm dev
# Build for production
pnpm build
# Start production server
pnpm start环境变量
变量 | 默认值 | 描述 |
|
| 服务器端口 |
|
| 传输模式 ( |
| - | 部署时设置为 |
部署
环境
该服务器在技术团队基础设施 (clf.sodax.com) 的两个 Coolify 环境中运行:
环境 | URL | 跟踪分支 |
生产环境 |
| |
测试环境 |
|
推广流程:
功能分支 → 合并至
development→ 合并时自动部署到 测试环境。development→ 合并至master→ 合并时自动部署到 生产环境。
热修复可以从 master 分支出来并直接合并回 master,然后再合并回 development。
Docker
docker build -t builders-sodax-mcp-server .
docker run -p 3000:3000 builders-sodax-mcp-serverDocker Compose
docker-compose up -dRailway/Coolify
随附的 nixpacks.toml 会自动处理部署。设置以下环境变量:
PORT=3000NODE_ENV=production
API 端点
端点 | 描述 |
| 落地页 |
| 服务器信息和工具列表 |
| 健康检查 |
| MCP 端点 (流式 HTTP) |
| SSE 端点 (旧版传输) |
| SSE 消息端点 |
相关
SODAX — sodax.com
SDK 文档 — docs.sodax.com (自动代理)
营销 MCP 服务器 — 供营销团队使用:
https://marketing.sodax.com/mcp
许可证
MIT
Available Tools
40 toolsdocs_healthARead-onlyInspect
Check SDK documentation availability. Call this first if docs tools seem unavailable.
Inputs: no named parameters.
docs_list_toolsARead-onlyInspect
List all SDK documentation tools with parameters. Essential for discovering what's available.
Inputs: no named parameters.
docs_query_docs_filesystem_sodax_docsARead-onlyInspect
[SDK Docs] Run a read-only shell-like query against a virtualized, in-memory filesystem rooted at / that contains ONLY the SODAX Docs documentation pages. This is NOT a shell on any real machine — nothing runs on the user's computer, the server host, or any network. The filesystem is a sandbox backed by documentation chunks.
This is how you read documentation pages: there is no separate "get page" tool. To read a page, pass its .mdx path to head or cat — a page at the URL path /some/page lives at /some/page.mdx. To search the docs with exact keyword or regex matches, use rg. To understand the docs structure, use tree or ls.
Paths are specific to this site — never guess them. Discover real paths with tree / -L 2, ls /, or the search tool before reading. If a path does not exist, that only means the guess was wrong; it does NOT mean the topic is undocumented — use rg -il "keyword" / to find where it is covered.
Workflow: Start with the search tool for broad or conceptual queries like "how to authenticate" or "rate limiting". Use this tool when you need exact keyword/regex matching, structural exploration, or to read the full content of a specific page by path.
Supported commands: rg (ripgrep), grep, find, tree, ls, cat, head, tail, stat, wc, sort, uniq, cut, sed, jq, plus basic text utilities. No writes, no network, no process control. Run --help on any command for usage.
Each call is STATELESS: the working directory always resets to / and no shell variables, aliases, or history carry over between calls. If you need to operate in a subdirectory, chain commands in one call with && or pass absolute paths (e.g., cd /some-directory && ls or ls /some-directory). Do NOT assume that cd in one call affects the next call.
Examples (replace the placeholder paths with real ones from tree or search):
tree / -L 2— see the top-level directory layoutrg -il "rate limit" /— find all files mentioning "rate limit"rg -C 3 "apiKey" /some-directory/— show matches with 3 lines of context around each hithead -80 /some/page.mdx— read the top 80 lines of a specific pagehead -80 /page-one.mdx /page-two.mdx /section/page-three.mdx— read multiple pages in one callcat /some/page.mdx— read a full page when you need everything
Output is truncated to 30KB per call. Prefer targeted rg -C or head -N over broad cat on large files. To read only the relevant sections of a large file, use rg -C 3 "pattern" /path/file.mdx. Batch multiple file reads into a single head or cat call whenever possible.
When referencing pages in your response to the user, convert filesystem paths to URL paths by removing the .mdx extension. For example, /some/page.mdx becomes /some/page.
Inputs: command (required).
docs_refreshAIdempotentInspect
Reconnect to SDK documentation and refresh available tools. Use if docs seem stale or unavailable.
Inputs: no named parameters.
docs_search_sodax_docsARead-onlyInspect
[SDK Docs] Search across the SODAX Docs knowledge base to find relevant information, code examples, API references, and guides. Use this tool when you need to answer questions about SODAX Docs, find specific documentation, understand how features work, or locate implementation details. The search returns contextual content with titles and direct links to the documentation pages. If you need the full content of a specific page, use the query_docs_filesystem tool to head or cat the page path (append .mdx to the path returned from search — e.g. a result at /some/page is read with head -200 /some/page.mdx).
Inputs: query (required).
sodax_check_chain_supportARead-onlyInspect
Check whether SODAX supports a specific blockchain, given its name, ticker, chain key or EVM chain id (e.g. 'Hedera', 'HBAR', 'hedera', 'Base', 'Arbitrum', '8453'). Use this to answer 'does SODAX support X?' questions authoritatively instead of guessing — it resolves the name to a chain key and confirms against the live network registry.
Inputs: chain (required).
sodax_get_all_borrowersARead-onlyInspect
Get all borrowers across all money market assets with pagination
Inputs: limit, format, offset.
sodax_get_all_chains_configsARead-onlyInspect
Get detailed configuration for all spoke chains including contract addresses, RPCs, and token configs
Inputs: format.
sodax_get_all_configARead-onlyInspect
Get full SODAX configuration including all supported chains, swap tokens, and protocol settings in one call
Inputs: format.
sodax_get_amm_pool_candlesCRead-onlyInspect
Get OHLCV candlestick chart data for an AMM pool
Inputs: to (required), from (required), poolId (required), chainId (required), +2 more.
sodax_get_amm_positionsARead-onlyInspect
Get AMM liquidity provider NFT positions, optionally filtered by owner address
Inputs: limit, owner, format, offset.
sodax_get_asset_borrowersARead-onlyInspect
Get borrowers for a specific money market asset by its reserve address
Inputs: reserveAddress (required), limit, format, offset.
sodax_get_asset_suppliersARead-onlyInspect
Get suppliers (lenders) for a specific money market asset by its reserve address
Inputs: reserveAddress (required), limit, format, offset.
sodax_get_circulating_supplyARead-onlyInspect
Get SODA token circulating supply as a plain number
Inputs: format.
sodax_get_hub_assetsBRead-onlyInspect
Get assets representing spoke tokens on the hub (Sonic) chain, optionally filtered by source chain
Inputs: format, chainId.
sodax_get_intentARead-onlyInspect
Look up a specific intent by its intent hash (different from transaction hash)
Inputs: intentHash (required), format.
sodax_get_money_market_assetARead-onlyInspect
Get detailed information for a specific money market asset by its reserve address
Inputs: reserveAddress (required), format.
sodax_get_money_market_assetsBRead-onlyInspect
List all assets available for lending and borrowing in the SODAX money market
Inputs: format.
sodax_get_money_market_reserve_assetsBRead-onlyInspect
Get money market reserve assets used as collateral backing
Inputs: format.
sodax_get_money_market_tokensARead-onlyInspect
Get tokens supported for money market lending/borrowing, optionally filtered by chain
Inputs: format, chainId.
sodax_get_orderbookARead-onlyInspect
Get current orderbook entries showing pending/open intents
Inputs: limit, format, offset, creator, +7 more.
sodax_get_partnersARead-onlyInspect
List all SODAX integration partners including wallets, DEXs, and other protocols
Inputs: format, chainId.
sodax_get_partner_summaryARead-onlyInspect
Get volume and activity summary for a specific integration partner by their receiver address
Inputs: receiver (required), format, chainId.
sodax_get_relay_chain_id_mapARead-onlyInspect
Get mapping between chain IDs and intent relay chain IDs used by the SODAX relay network
Inputs: format.
sodax_get_solver_intentARead-onlyInspect
Get solver-side details for an intent including fill history. Use includeAll to see all solver documents.
Inputs: intentHash (required), format, includeAll.
sodax_get_solver_oracleARead-onlyInspect
Get the solver's oracle USD prices per (chain, token). For quoting with sodax_get_solver_quote, filter chainId='146': chainId-146 addresses pass the quote service's compatibility check, while spoke-chain (non-146) addresses are rejected with 'not compatible with the quote service'. Caveat: passing that check (being listed/priced) does NOT guarantee a swap route — canonical bridged *_ASSET hub tokens and major stablecoins route most reliably, while many wrapped/derivative/money-market entries (e.g. WBTC, waLocBTC, SONIC_SODA_ASSET) are priced but frequently return 'No path was found', and routability is pair/amount/liquidity-dependent. Also useful for sanity-checking quote amounts against the USD prices the solver uses.
Inputs: format, symbol, chainId.
sodax_get_solver_quoteARead-onlyInspect
Get a swap quote from the SODAX solver. tokenSrc/tokenDst MUST be hub-chain (Sonic, chainId 146) asset addresses — look them up with sodax_get_solver_oracle (chainId='146'). Working example: tokenSrc='0xeb0393893b5bf98a50073d6740738b08e575058b' (BTC_BTC_ASSET) → tokenDst='0xaeafa26e43f46cd83efe89b1e57c858eb5685a24' (ETH_ASSET), amount='99800', quoteType='exact_input' returns a quoted_amount. exact_input quotes the destination amount you'd receive; exact_output quotes the source amount you'd need. There are two distinct HTTP-400 failures, both naming the two addresses: (1) 'not compatible with the quote service' = an address isn't a recognized hub asset (a spoke-chain or otherwise non-chainId-146 address was passed) → use a chainId-146 address from sodax_get_solver_oracle, and for a reliable pick prefer a canonical bridged *_ASSET hub token or major stablecoin (chainId 146 alone doesn't guarantee a route). (2) 'No path was found between X and Y' = both tokens are valid hub assets but the solver couldn't route this pair for this amount → routing is pair/amount/liquidity-dependent, so retry with a smaller amount or a more liquid counterparty (a canonical bridged *_ASSET token, or a major stablecoin like SONIC_USDC_ASSET). Many wrapped/derivative entries (e.g. WBTC, waLocBTC, SONIC_SODA_ASSET) are oracle-priced but frequently have no route — prefer canonical bridged *_ASSET hub tokens.
Inputs: amount (required), tokenDst (required), tokenSrc (required), format, +1 more.
sodax_get_supported_chainsBRead-onlyInspect
List all blockchain networks supported by SODAX for cross-chain swaps and DeFi operations
Inputs: format.
sodax_get_swap_tokensARead-onlyInspect
Get available tokens for swapping on SODAX, optionally filtered by chain
Inputs: format, chainId.
sodax_get_token_supplyBRead-onlyInspect
Get SODA token supply information including total, circulating, and burned amounts
Inputs: format.
sodax_get_total_supplyARead-onlyInspect
Get SODA token total supply as a plain number
Inputs: format.
sodax_get_transactionARead-onlyInspect
Look up a specific transaction by its hash to see status, amounts, and details
Inputs: txHash (required), format.
sodax_get_user_positionARead-onlyInspect
Get a user's lending and borrowing position in the money market
Inputs: userAddress (required), format.
sodax_get_user_transactionsARead-onlyInspect
Get intent/transaction history for a specific wallet address
Inputs: userAddress (required), limit, format, offset, +2 more.
sodax_get_volumeARead-onlyInspect
Get solver volume data showing filled intents with filtering and pagination. Requires inputToken and outputToken. Optional filters: chain, solver, block range OR time range (don't mix both).
Inputs: inputToken (required), outputToken (required), sort, toTs, +11 more.
sodax_get_volume_statsARead-onlyInspect
Get aggregate solver volume stats: the approximate total number of filled-intent records (fill documents, not distinct intents). Cached ~60s upstream.
Inputs: format.
sodax_refresh_cacheAIdempotentInspect
Clear both the backend API cache and the solver oracle cache to force fresh fetches on next requests. Reports the number of entries cleared per cache. At most once a minute across the server.
Inputs: no named parameters.
sodax_relay_get_packetARead-onlyInspect
Fetch a single relay packet by its connection serial number (conn_sn). Returns the packet data on success or a {success:false, message} shape if the packet isn't found.
Inputs: connSn (required), txHash (required), chainId (required), format.
sodax_relay_get_transaction_packetsARead-onlyInspect
List every cross-chain packet emitted by a given source transaction. Use this to track relay status — a packet is complete when status='executed' and dst_tx_hash is populated.
Inputs: txHash (required), chainId (required), format.
sodax_relay_submit_txAIdempotentInspect
Submit a confirmed spoke-chain transaction to the SODAX intent relay so it can be delivered to the destination chain. The tx must already be finalized on the source chain. Re-submitting the same tx is a no-op. For split-tx chains (Solana, Bitcoin) supply the optional data argument.
Inputs: txHash (required), chainId (required), data, format.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 40 tools
Many tools are genuinely distinct (intents, AMM, relay, money market, docs), but several clusters overlap: sodax_get_circulating_supply / sodax_get_total_supply / sodax_get_token_supply all report SODA supply, and sodax_get_all_config / sodax_get_all_chains_configs / sodax_get_supported_chains are hard to tell apart at a glance. The verbose descriptions do help disambiguate on closer reading, but an agent must read carefully to pick correctly among the config and supply families.
A consistent prefix pattern holds: nearly all domain tools use sodax_ + verb + noun (mostly sodax_get_*, with sodax_relay_* and a few action verbs like refresh_cache, check_chain_support). The docs group breaks the pattern (docs_health, docs_refresh, docs_list_tools vs. docs_search_sodax_docs, docs_query_docs_filesystem_sodax_docs), which are suffix-tagged generated names, creating a minor style split.
40 tools is a large surface that exceeds the comfortable range, especially with three separate supply tools and multiple config/token-listing tools that could be consolidated. The domain is broad (cross-chain intents, money market, AMM, relay, token stats, docs), but the count feels heavy rather than tightly scoped.
Coverage is genuinely broad: configuration, chains, intents (user and solver views), money market, AMM pools/candles, relay packets and submission, volume/supply stats, plus a full docs subsystem — so most read paths exist. The main gap is that swap quoting exists but there's no intent-creation/execution path beyond relay submission, leaving a partial write surface.
Maintenance
Related MCP Connectors
MCP server connecting AI agents to non-custodial staking data across 130+ networks.
Pay-per-call DeFi and macro intel for AI agents. x402 USDC tools via streamable HTTP /api/mcp.
API discovery and x402 paid execution via MCP. Search by natural-language, call with USDC payment on Arbitrum, Base, BNB, Solana, SEI
Agent MCP for DeFi: cross-chain LINQ fan-out, AMM quotes/swaps, bridge, AI. Solana+EVM. Free+x402.
Related MCP Servers
- AlicenseBqualityDmaintenanceInteract with the NEAR blockchain through MCP calls2332MIT
- FlicenseNot gradedqualityDmaintenanceAn MCP server that enables cross-chain token swapping between different blockchains using 1inch Fusion+ API, along with portfolio management tools for tracking assets across chains.1-
- FlicenseNot gradedqualityDmaintenanceEnables AI assistants to interact with LI.FI's cross-chain infrastructure, providing access to blockchain networks, token data, bridges, and transaction services through a standardized protocol.-
- AlicenseBqualityDmaintenanceEnables LLM assistants to interact with the Hyperlane cross-chain protocol for deploying blockchain infrastructure, sending cross-chain messages, managing validators and relayers, and facilitating asset transfers between multiple blockchains.67MIT