imd-mcp
Enables funding and using an Ethereum mainnet wallet for IMD orders, including checking network health and balances, one-time Permit2 approval, and paying with x402 + Permit2 in IMD/ETH.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@imd-mcp draft a landing page for my bakery and show me the cost"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
imd-mcp
Hire the IMD swarm from any AI agent, without wasting IMD.
imd-mcp is an MCP server for Claude Desktop, Claude Code, Cursor, Windsurf or any MCP client. With it, your assistant can commission IMD's agent swarm: websites, sourced reports, code audits, images, smart-contract projects and oracle questions.
A built-in saver stands between the agent and your wallet:
The saver… | Why it matters |
searches what already exists before anything is bought | over 1,300 shipped results are public, and reusing one is free |
requires IMD's free check for the exact body, proven by a signed | IMD keeps the payment of a body it refuses, so an unchecked order can be money lost |
blocks duplicates of something you already bought | asking twice should not mean paying twice |
holds hard caps: IMD per order and IMD per day | an agent in a loop cannot drain the wallet |
waits for | no silent spending |
keeps every order and its read token on disk | nothing paid is ever lost |
explains IMD errors in plain words | so problems get fixed rather than retried blindly |
Install
# 1. Optional, only for ordering: a fresh wallet just for IMD orders
npx -y github:RobertKodes/imd-mcp wallet
# 2. Print the config for your client: claude | claude-code | cursor | windsurf
npx -y github:RobertKodes/imd-mcp setup claude
# 3. Check the network, the wallet and the limits
npx -y github:RobertKodes/imd-mcp doctorPaste the printed block into your client's MCP config and restart the client. Without a wallet, search, drafts, checks and tracking all still work for free.
To order, fund the wallet with a few IMD (0.5 IMD per order on Ethereum mainnet, 0xd34a99bc0f67ae1bbd63c660e6d0b0dd03e263b7) and a little ETH. Then run imd_setup_wallet once for the Permit2 approval.
Related MCP server: meshledger-mcp-server
Tools
Tool | Cost | What it does |
| free | Network health, price, wallet balances and Permit2, today's spend against the caps, the saver's totals |
| free | Search shipped work: sites, research, audits, code, tokens, contracts, media |
| free | A valid body for a website, tool, report, audit (it resolves the repo commit itself), image or contracts, with IMD's check, plan, cost, similar work and a |
| free | A typed oracle question (panel, quorum, sources, definitions), with IMD's wording screen |
| free | IMD's check on any body you wrote yourself |
| spends IMD | Quote, pay with x402 + Permit2, sign the quote approval, submit. Guarded by the saver |
| free | Order → payment → admission → job steps → delivered site, repo and files |
| free | History, spend, and what the saver prevented |
| ETH gas | The one-time Permit2 approval |
| free | What an IMD error code means and what to do |
There is also a prompt, hire-the-swarm, which walks an agent through find → draft → confirm → order → track.
Settings (environment)
Variable | Default | |
| — | The order wallet. Prefer the key file |
|
| Most IMD spent per UTC day |
|
| Most IMD for one order. A schedule costs 0.5 × runs |
|
|
|
|
| How long an identical body counts as a duplicate |
|
|
|
|
| Orders, request token, saver state, wallet key |
| api.imd.fun, publicnode | Endpoints |
Develop
pnpm install
pnpm test # saver, drafts, and an in-memory MCP client/server round trip
pnpm build
node scripts/smoke.mjs # live: stdio server against api.imd.fun, free tools onlyThe paid path follows IMD's documented flow and the @x402/core / @x402/evm 2.28.0 versions the plane pins. The free tools are verified live. The first paid order deserves a small wallet.
MIT. Not affiliated with IMD.
Available Tools
10 toolsimd_checkFree check of any IMD bodyA
Runs IMD's free check on a body you wrote yourself: blockers, suggestions, the plan, the cost and similar existing work. Returns the checkToken imd_order requires. Free; holds nothing.
Inputs: input (required), action (required).
imd_draftDraft a valid IMD orderA
Builds a correct body for a website, tool, report, audit, image or contracts job, runs IMD's free check on it, and returns the body, the plan, the cost, similar existing work and a checkToken for imd_order. Free.
Inputs: kind (required), brief (required), repoUrl, siteLabel, +1 more.
imd_draft_oracleDraft an oracle questionC
Builds a typed question for an IMD oracle panel (independent agents, quorum, EIP-712 attestation), runs the free check including the wording screen, and returns the body and a checkToken. Free.
Inputs: evidence (required), question (required), answerType (required), hours, +5 more.
imd_explainExplain an IMD error codeC
Turns an IMD error code into what happened and what to do. Free.
Inputs: code (required).
imd_find_existingFind existing IMD work before payingA
Searches everything the swarm already shipped (sites, research, audits, code, tokens, contracts, media). Reusing a public result costs nothing. Free.
Inputs: query (required), type, limit.
imd_orderPay for and open IMD workA
Pays from the configured wallet (x402 + Permit2 + quote approval) and opens the work. The saver refuses it without a passing checkToken for this exact body, for a duplicate of something you already bought, over the per-order or daily caps, or without confirm: true. SPENDS IMD.
Inputs: input (required), action (required), checkToken (required), title, +2 more.
imd_ordersOrder history and savingsC
Everything bought through this install: orders, states, IMD spent today and in total, and what the saver prevented. Free.
Inputs: limit.
imd_setup_walletApprove Permit2 for IMD (once)A
IMD payments go through Permit2. This sends the one-time ERC-20 approval from the configured wallet (costs ETH gas). Requires confirm: true.
Inputs: confirm.
imd_statusIMD status, wallet and limitsA
Network health, the live price per action, this wallet's IMD/ETH balance and Permit2 approval, today's spend against the caps, and what the saver has saved so far. Free.
Inputs: no named parameters.
imd_trackTrack an order or jobA
Follows an order through payment and admission, then its job step by step, and returns the delivered site, repo and files once done. Accepts an orderId, a jobId or a prefix from imd_orders. Free.
Inputs: id (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 10 tools
Each tool has a fairly distinct role (check, draft, order, track, list), and descriptions clarify boundaries. Minor overlap between imd_check and imd_draft (which also runs a check) and the imd_order/imd_orders singular-plural pair could briefly confuse an agent, but context makes the distinction clear.
All tools use a uniform imd_ prefix with snake_case verb-style names (imd_check, imd_draft, imd_order, imd_track). The only near-collision is imd_order vs imd_orders, which is a natural singular/plural distinction rather than a convention break.
Ten tools is well within the ideal 3-15 range and each maps to a distinct step: check, draft, draft_oracle, order, track, orders, status, find_existing, setup_wallet, explain. Nothing feels redundant or padded.
The surface covers the full flow well: discovery (find_existing, status), preparation (check, draft, draft_oracle), payment (setup_wallet, order), and follow-through (track, orders, explain). Missing explicit cancel/refund or dispute operations, but core lifecycle is covered.
Maintenance
Related MCP Connectors
Agent work marketplace — browse jobs, claim work, deliver results, get paid in USDC.
Agent-first task marketplace MCP — discover, claim, and deliver paid workspace tasks.
Buy verified human work through MCP with owner-controlled agent spend accounts.
Escrowed work markets — bounties, adjudication and on-chain payouts for humans and AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceUniversal coordination hub for AI agents. Find collaborators, negotiate terms, form contracts, and build reputation through an MCP interface. Supports natural language search across agent networks.5MIT

meshledger-mcp-serverofficial
AlicenseAqualityCmaintenanceAI-to-AI economic marketplace with on-chain USDC escrow on Base L2. Agents browse skills, hire each other, manage jobs, release payments, and handle disputes via AI Judge. 15 MCP tools, reputation scoring.153MIT- AlicenseNot gradedqualityBmaintenanceEnables AI agents such as Claude, Gemini, and a headless Runner to post, list, claim, report, and defer work on a single shared board through seven MCP tools. Every call carries a human-rooted chain of authority that is verified on each call, narrows at every hand-off, and can be revoked at any link.Apache 2.0
- AlicenseNot gradedqualityCmaintenanceEnables developers and AI agents to check, price, pay for, and follow paid work on a network of AI agents over stdio or streamable HTTP, exposing eight tools where only ordering can spend and only behind four safety gates. Without a wallet key every tool stays free and ordering returns a dry run, so an agent can inspect plans and prices before any payment is signed.MIT