Now Dwell — The Carbon DeFi MCP Server
In February, Bancor Undertaking Lead Dr. Mark Richardson stated Carbon DeFi wanted to lean as onerous as doable into the rising agent paradigm. As we speak, that’s not a place — it’s a stay product.
With the Carbon DeFi MCP server, any MCP-compatible agent can now connect with Carbon DeFi, discover the protocol, construct methods, and handle positions — all by plain language, all with the consumer signing each transaction.
To indicate what that appears like in observe, Claude was linked on to the Carbon DeFi MCP server and requested to construct a full presentation from what it discovered. No directions on what to incorporate, no handbook information entry — simply Claude, the stay server, and 25 instruments to discover.
25 instruments. 5 chains. 6 technique sorts. Zero gasoline on fills for makers.

It covers the complete lifecycle of interacting with Carbon DeFi — from market analysis and simulation by onchain buying and selling technique creation, place administration, and taker swaps. All the things an agent must go from a consumer’s said intent to a signed transaction.
Overview — What’s the Carbon DeFi MCP?

Claude introduces the Carbon DeFi MCP precisely, defining it as a stay, open endpoint that provides any AI agent the flexibility to grasp Carbon DeFi, work together with it, and assist customers create and handle onchain buying and selling methods — by plain language.
It goes on to spotlight three most important factors:
The agent prepares. The consumer indicators. The agent by no means submits something to the chain. Funds and personal keys stick with the consumer always — no exceptions.It’s self-describing. Brokers pull the complete software spec on connection and orient themselves robotically. No handbook integration work past the config entry.It validates earlier than it palms something to the consumer earlier than any points turn out to be signed errors. Each response features a warnings array that surfaces points comparable to a promote value set beneath present market, a funds too small for an outlined vary, or a reproduction place.
Structure Overview — Six useful teams. 25 instruments.

The 25 instruments break into six teams, every dealing with a definite section of interplay with the protocol.
Learn (2 instruments) — Examine Positions
• Fetch all lively methods for a pockets. • Lookup any technique by ID, standing, proprietor, costs, budgets, and lifelong commerce historical past.
Create (5 instruments) — Construct Methods
Six sorts accessible, every suited to a distinct buying and selling intent.• Restrict orders • Vary orders• Recurring buy-sell (restrict and/or vary)• Concentrated liquidity• Full vary liquidityThe agent determines the best kind, builds the transactions, and returns it unsigned.
Handle (7 instruments) — Management stay positions
• Reprice• Edit technique kind • Deposit further funds• Withdraw full or partial funds• Pause and resume buying and selling• Shut a technique
Discover (8 instruments) — Analysis the market
• Protocol stats• Value historical past• Pair liquidity• Alternative discovery• Token resolutionThe Carbon DeFi MCP experiences the present state of the protocol, not static documentation.
Commerce (2 instruments) — Swap as a taker
• Get quotes towards Carbon DeFi’s present maker liquidity.For customers desirous to commerce instantly, the agent routes execution relatively than construct positions.
Assist (2 instruments) — Study and information
Brokers clarify:• What they’re doing• Why they’re doing itThe MCP offers per-tool steerage and protocol schooling.
Create. Six methods to specific a place.

Every technique kind maps to a distinct form of buying and selling intent. The agent determines the best kind from what the consumer describes.
Restrict order — one-time at actual value
• Purchase or promote at a single fastened value. • Executes in full when the market reaches that degree. • Non-custodial, onchain, no centralized counterparty, and no expiry.
Vary order — gradual execution
• Distributes execution progressively throughout a value band. • Helpful for scaling in or out of a place. • Permits the gradual accumulation or distribution relatively than figuring out a single value level.
Recurring technique — looping purchase + promote, zero gasoline on fills ★
• Named essentially the most highly effective of the Carbon DeFi unique options. • Purchase and promote ranges are outlined independently. • When the purchase aspect fills, proceeds rotate to the promote aspect robotically — and again once more when the promote aspect fills. • The technique continues executing for so long as the market trades within the outlined vary. • Zero gasoline value for makers on crammed orders. • No additional consumer enter required per cycle.
Concentrated technique — two-sided liquidity with unfold
• Two-sided liquidity inside a customized unfold/price tier and customized vary to purchase and promote. • Auto-compounding • No tick constraints
Full-range technique — covers as much as 1000x from present market value
• The customized unfold proportion defines the hole between purchase and promote sides.
Taker swap — route towards maker liquidity
• Brokers get quotes and construct swap transactions towards present Carbon DeFi maker liquidity, construct the unsigned swap transaction, and current it to the consumer to signal. • For conditions the place quick execution issues greater than precision and value certainty.
Constructed-in solver system. Chainwide. Working 24/7.

Each technique created on Carbon DeFi — restrict, vary, recurring, concentrated, full vary — is broadcast to the complete blockchain the second it goes stay. It’s open and fillable by anybody: different merchants, bots, and Carbon DeFi’s built-in solver system, which runs constantly and pulls liquidity from all main DEXs on the identical chain.
The solver is constructed on Marginal Value Optimization, a brand new method developed by Bancor that delivers a 200x enchancment in execution pace over beforehand printed arbitrage algorithms. It operates throughout a number of modes — pairwise, triangular, and multi-hop arbitrage — dynamically adjusting to real-time market situations throughout 90+ integrations on 10 blockchains. The solver system helps effectively fill orders and maintain methods actively buying and selling. Customers usually are not counting on a single liquidity supply or a restricted variety of resolvers.
The Recurring Technique. Why that is Carbon’s strongest software for brokers.

Claude created a devoted slide for the recurring technique, naming it Carbon DeFi’s strongest software for brokers — and the one most related to agent-based buying and selling.
Uneven Ranges
Ex. “Purchase ETH between $2600-$2800, promote between $3200-$3500. Hold it operating.”
• Purchase and promote ranges are utterly unbiased, non-overlapping orders. • An agent will be aggressive on one aspect and conservative on the opposite — no pressured symmetry.• Fund one or each orders, relying on the place you assume the market’s headed first. • Customized unfold
Automated Rotation
• When the purchase aspect fills, proceeds transfer to the promote aspect. • When the promote aspect fills, they transfer again to purchase. • The technique manages itself, constantly buying and selling so long as the market value is inside the decided value ranges.
Zero gasoline per fill
• And takers pay gasoline on Carbon DeFi — makers don’t. • Working a recurring technique has a essentially completely different value construction than something requiring per-fill gasoline funds.
Key Differentiators
Swapping as a taker on an AMM • Pay protocol and gasoline charges per transaction.• Incurs slippage, leading to zero value certainty • Susceptible to sandwich assaults• Requires manually executing multiples trades• Unable to pre-set trades.
Putting an order by a distinct onchain orderbook-style DEX• Proof against MEV sandwich assaults• Orders expire• Permissioned system with orders accessible to solely a choose variety of takers/resolvers.• Not absolutely onchain • Not adjustable • One order should fill with the intention to manually create one other with the proceeds.
Carbon DeFi• 100% value certainty. Makers obtain the precise quantity they quoted.• Utterly Proof against MEV sandwich assaults• Pre-set trades to execute at a customized value or inside a customized value vary• No expiry• Absolutely onchain• Help partial fills• Adjustable. No must cancel and recreate.• One-time gasoline price upon creation• Doesn’t require handbook intervention. Automated cyclic nature of purchase low, promote excessive, repeat.
Handle. Full lifecycle management with out touching the app.

Seven administration instruments cowl every part that occurs after a technique goes stay.
reprice_strategy — replace the purchase or promote value rangesedit_strategy — Change a technique from one kind to a different — a restrict order to a spread order, a recurring technique to a concentrated technique, any kind to another kind.deposit_budget — add capital to an present technique with out recreating it.withdraw_budget — pull funds, full or partial, with out closing the place — permitting for future use of the technique with out having to restart totally.pause_strategy — freeze buying and selling; costs zeroed, funds keep within the technique.resume_strategy — restore value ranges and proceed actively buying and selling.delete_strategy — completely shut and return all funds to the pockets.
All seven return unsigned transactions. The consumer indicators each motion.
Discover. Dwell protocol intelligence — not static docs.

Eight discover instruments give brokers entry to real-time and historic protocol state. The distinction between a generic AI explainer and an MCP-connected agent is that the agent can reply “what’s taking place proper now” — not simply “what’s Carbon DeFi.”
1. get_strategies
all lively methods for a pockets on any supported chain, presently together with Ethereum, Sei, Celo, COTI, and TAC.
2. get_strategy
full particulars on any technique by ID, kind, standing, proprietor, costs, budgets, lifetime fill rely.
3. get_activity
commerce and occasion historical past, filterable by motion kind and time window.
4. explore_pair
Carbon DeFi market liquidity and high lively methods for any token pair.
5. find_opportunities
low cost buys and premium sells, the place makers are positioned considerably away from the market value reported.
6. get_protocol_stats
TVL, quantity, and price historical past. As much as 30 days per chain.
7. get_price_history
historic OHLC (open, excessive, low, shut) value information for any token pair. Powers simulation and analysis.
8. resolve_token
converts any token image (“USDC”, “wrapped ether”, “WBTC”) to the right onchain contract deal with for the best chain. Brokers and customers by no means contact contract addresses instantly.
Simulate. Backtest earlier than any capital goes onchain.

Claude refers back to the simulation software as essentially the most underused functionality within the MCP and one of the beneficial.
Earlier than any capital is dedicated, an agent can backtest a technique configuration towards actual historic value information as much as 12 months. Provide a token pair, a time window, value ranges, and budgets — the software returns simulated fills, returns, and cycle counts for recurring and concentrated technique sorts.
The workflow: generate two or three candidate configurations, run simulation on every, examine outcomes, suggest the perfect match for the consumer’s said threat tolerance — then and solely then construct the transaction.
Design rules. 4 conventions that govern each software.

4 conventions govern how each software within the MCP behaves. Price understanding earlier than constructing on high of it.
Unsigned at all times.
Each write operation returns an unsigned transaction. The agent by no means submits something to the chain. Funds and personal keys by no means go away the consumer’s management.
Examine the warnings array.
Each response consists of one. Examine it earlier than presenting a transaction — it surfaces points earlier than they turn out to be signed errors.
get_strategies earlier than creating.
All the time examine present positions earlier than constructing or enhancing a technique. It prices one name and avoids duplicate positions or edits towards stale state.
Costs in quote per base.
All costs are quote token per one base token. The purchase funds is at all times within the quote token. The promote funds is at all times within the base token. Market value is auto-fetched from the Carbon DeFi API — brokers don’t provide it manually.
Chain protection. 5 chains, one interface.

The MCP covers each chain the place Carbon DeFi has its personal deployment: Ethereum, Celo, Sei, TAC, and COTI. Chain choice is dealt with robotically — no handbook contract addresses, no switching between interfaces.
An agent linked to the MCP can examine liquidity throughout all 5 chains from a single connection, floor the place pairs are most lively, and route accordingly.
Some examples of stay numbers brokers can entry: TVL throughout the 5 chains, quantity over a specified time interval, lifetime trades per token pair, and variety of lively methods throughout a buying and selling pair.
Getting Began. Join in underneath a minute.

The Carbon DeFi MCP works with any MCP-compatible agent — Claude Desktop, Claude Code, ChatGPT, Cursor, Windsurf, Cline, VS Code with GitHub Copilot, Nimbalyst, and any framework supporting the Mannequin Context Protocol commonplace. Right here’s how one can join it in Claude Desktop.
Earlier than you start: ensure you have Claude Desktop put in and Node.js in your machine. You may examine Node.js by opening a terminal and operating node — model. If nothing comes again, obtain the LTS model from nodejs.org first.
Step 1 — Open your config file. In Claude Desktop, click on the Claude menu in your system menu bar (not contained in the app window) and go to Settings → Developer → Edit Config. This opens the claude_desktop_config.json file. If it doesn’t exist but, Claude Desktop will create it for you.
The file can be at these paths if you wish to open it instantly:
macOS: ~/Library/Utility Help/Claude/claude_desktop_config.jsonWindows: %APPDATApercentClaudeclaude_desktop_config.json
Step 2 — Add the Carbon DeFi server. Paste the next into the file. If the file already has different MCP servers in it, add the “carbon-defi” entry inside the present “mcpServers” block relatively than changing the entire factor.

Step 3 — Save and restart. Save the file, then absolutely give up and relaunch Claude Desktop. All 25 Carbon DeFi instruments can be found instantly. Clicking the instruments indicator within the chat enter exhibits the complete listing of what’s linked.
For different brokers and frameworks: the complete OpenAPI spec is at mcp.carbondefi.xyz/openapi.json, a ChatGPT plugin manifest at mcp.carbondefi.xyz/.well-known/ai-plugin.json, and direct REST entry at mcp.carbondefi.xyz/instruments/:toolName. The server can be listed on mcpservers.org and clawhub.ai for discovery.
Leaning into the agent financial system.

In February, Bancor Undertaking Lead Dr. Mark Richardson stated it plainly: brokers will more and more act on behalf of customers, protocols have to be constructed for that actuality, and Carbon DeFi must lean into it as onerous as doable. This walkthrough isn’t a demo atmosphere or a curated dataset — it’s the results of ‘leaning into it’ — the precise server, the precise instruments, and the precise protocol information.
→ mcp.carbondefi.xyz · docs.carbondefi.xyz · app.carbondefi.xyz
Bancor
Bancor is a pioneer in decentralized finance (DeFi), established in 2016. It invented the core applied sciences underpinning the vast majority of right now’s automated market makers (AMMs) and continues to develop the foundational infrastructure vital to DeFi’s success — specializing in enhanced liquidity mechanics and sturdy onchain market operation. All merchandise of Bancor, together with Carbon DeFi and the Arb Quick Lane, are ruled by the Bancor DAO.
Carbon DeFi — Bancor’s flagship DEX, is powered by Bancor’s newest patented applied sciences: Uneven Liquidity and Adjustable Bonding Curves.
The Arb Quick Lane — DeFi’s most superior arbitrage infrastructure powered by Marginal Value Optimization, a brand new technique of optimum routing.
Web site | Weblog | X/Twitter | Analytics | YouTube | Governance
Create automated onchain buying and selling methods utilizing any MCP-compatible agent was initially printed in Bancor on Medium, the place persons are persevering with the dialog by highlighting and responding to this story.








