Carbon DeFi
專為AI代理設計的鏈上自動化交易策略(DEX)。支援在Ethereum、Sei、Celo、TAC及COTI上建立限價單、範圍單、循環低買高賣策略及集中流動性部位。不同於傳統AMM與流動性池,Carbon允許設定非對稱價格區間——買入與賣出訂單各自獨立,而非鏡像對稱。可在上鏈前針對歷史價格回測任何策略、探索市場流動性、尋找折扣進場點,並透過Carbon DeFi的做市流動性進行代幣兌換。提供25種工具。回傳未簽署交易——代理永不持有資金或私鑰。成交時零燃料費。
文件
For the complete documentation index, see llms.txt. Markdown versions of documentation pages are available by appending
.mdto page URLs; this page is available as Markdown.
AI Agents & MCP Server
Carbon DeFi has an MCP (Model Context Protocol) server that allows AI agents to create and manage on-chain trading strategies programmatically.
{% hint style="info" %} Experimental — still being worked on. Use at your own risk. {% endhint %}
- MCP endpoint: https://mcp.carbondefi.xyz
- REST API: https://mcp.carbondefi.xyz/tools/:toolName
- OpenAPI spec: https://mcp.carbondefi.xyz/openapi.json
- Plugin manifest: https://mcp.carbondefi.xyz/.well-known/ai-plugin.json
- Server info: https://mcp.carbondefi.xyz/info
Claude Desktop setup
Add this to your Claude Desktop config to connect:
json
{
"mcpServers": {
"carbon-defi": {
"command": "npx",
"args": ["mcp-remote", "https://mcp.carbondefi.xyz"]
}
}
}
Key conventions for agents
- All write operations return unsigned transactions — the user always signs and broadcasts
- Always call get_strategies first to check existing positions
- Market price is auto-fetched from the Carbon API — no need to provide it manually
- Prices are always in quote token per 1 base token
- buy_budget is always in quote token; sell_budget is always in base token
- Check the warnings array in every response before presenting a transaction