Carbon DeFi
On-chain automated trading strategies (DEX) for AI agents. Create limit orders, range orders, recurring buy-low-sell-high strategies, and concentrated liquidity positions across Ethereum, Sei, Celo, TAC, and COTI. Unlike traditional AMMs and liquidity pools, Carbon lets you set asymmetric price ranges - your buy and sell orders are independent, not mirrored. Backtest any strategy against historical prices before going on-chain, explore market liquidity, find discount entry points, and swap tokens against Carbon DeFi's maker liquidity. 25 tools. Returns unsigned transactions — agents never hold funds or private keys. Zero gas on fills.
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
Agent Instructions: Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.
Perform an HTTP GET request on the current page URL with the ask query parameter:
GET https://docs.carbondefi.xyz/rest-api/ai-agents-and-mcp-server.md?ask=<question>
The question should be specific, self-contained, and written in natural language. The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.
Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
Related Servers
AgentGuard
AI Agent Supply Chain Security - Intercepts and validates every package installation, git clone, and script download triggered by AI coding agents before it executes.
SommelierX
Remote MCP server for sommelier-grade wine pairing. 7 tools powered by a proprietary Wine DNA algorithm. API key or x402 pay-per-call.
Wordle MCP
Fetches the Wordle solution for a specific date, available from 2021-05-19 up to 23 days in the future.
Unphurl
URL intelligence for AI agents. 13 tools for security signals and data quality checks. Analyses URLs across 7 dimensions: redirect behaviour, brand impersonation, domain age, SSL/TLS, parked detection, URL structure, DNS enrichment. Risk score 0-100 with 23 configurable weights.
Launch Engine
Agentic pipeline that transforms ideas to revenue — for solo founders and bootstrappers.
Robust Long‑Term Memory
A persistent, human‑like memory system for AI companions
ContrastAPI
Security intelligence MCP server — 20 tools: CVE lookup (EPSS/KEV), domain recon, SSL, IP reputation, IOC, exploit search, code security. Free, no API key.
KnowMint MCP Server
AI agent knowledge marketplace MCP server. Agents autonomously discover, purchase (x402/Solana), and retrieve human experiential knowledge.
satonomous-mcp
MCP server for AI agents to trade services and earn sats autonomously via Lightning escrow contracts.
Wormhole MCP Server
Cross-chain bridge data, VAAs, and transaction status on Wormhole.