CIMS MCP Server
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., "@CIMS MCP Server Quote a 50 USDC transfer to Acme Corp via CIMS"
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.
CIMS MCP Server
An MCP (Model Context Protocol) server for Roots CIMS — the Chain-based Interbanking Messaging System. CIMS routes transfers through standardized, bank-readable IDs such as R-233-2993204 instead of raw wallet addresses, acting as crypto's equivalent of SEPA/ACH/SWIFT on a non-custodial network (currently Base Sepolia, chain ID 84532, USDC + ETH).
This server lets AI assistants resolve CIMS parties, quote and send transfers, handle attestation, and track intent lifecycles — with safety rails built in.
Quick start
npm install
npm run build
npm start # stdio MCP server with the mock adapterMCP client configuration (e.g. Claude Desktop, VS Code):
{
"mcpServers": {
"cims": {
"command": "node",
"args": ["/path/to/rootsfi-cims-MCP/dist/index.js"],
"env": { "CIMS_ADAPTER": "mock" }
}
}
}Related MCP server: WETH
Adapters
Adapter | Selection | Notes |
mock (default) |
| In-memory directory, institutions, and full intent lifecycle. No credentials needed — ideal for demos and development. |
live |
| HTTP client for the Roots CIMS relay. Requires |
Tools
Tool | Kind | Description |
| read-only | Parse/validate CIMS ID format ( |
| read-only | Resolve a name, handle, or CIMS ID to a routable party. Refuses raw |
| read-only | Institution status, supported rails, and attestation policy by index. |
| read-only | Price and policy-check a transfer (name check, AML, attestation). No funds moved. |
| write | Create an intent from a quote. Requires |
| write | Operator approval/rejection of an |
| write | Cancel a pending intent inside the cancel window. |
| read-only | Intent status, cancel window, tx hash when finalized. |
| read-only | List intents, filterable by status/asset. |
Resources & prompts
cims://docs/overview— CIMS concepts, ID format, transfer modes, safety modelcims://docs/lifecycle— intent status transition diagram and timing windowsPrompt
cims-send-money— guided, safe transfer flow (resolve → quote → user confirm → send → track)
Intent lifecycle
quoted → send(confirm) → pending ──window elapses──▶ finalized
↘ attestation_required ──approve──▶ pending
──reject───▶ reverted
pending / attestation_required ──cancel (inside window)──▶ cancelleddirect mode: ~30s pending window (small, repeat counterparties)
delayed mode: ~12h pending window (default for first-time or ≥ 1,000)
Contract-level max finality: 30 days
Safety model
No raw addresses —
0x…inputs are refused everywhere; parties must resolve via CIMS ID or directory name.Confirm before send —
cims_sendrequiresconfirm=true, intended to be set only after the user has reviewed the quote.Policy at quote time — inactive institutions and unsupported rails are refused; name check, AML (review ≥ 50,000), and attestation requirements (≥ 10,000 or institution policy) are reported on every quote.
Attestation gate — flagged intents stay in
attestation_requireduntil an operator approves viacims_attest.Errors as data — tool failures return
isErrorcontent (not protocol errors), so assistants can read and explain them.
Development
npm run dev # run from source with tsx
npm test # vitest: policy units, adapter lifecycle, server integration
npm run build # tsc → dist/Layout: src/types.ts (domain model) · src/policy.ts (ID parsing, mode/window/threshold rules) · src/tools.ts (MCP tool registration) · src/resources.ts (docs resources + prompt) · src/adapters/ (mock + live behind CimsAdapter) · test/ (vitest).
Available Tools
9 toolscims_attestAttest intentADestructive
Approve or reject an intent in attestation_required state (institution operator action). Approving moves it to pending; rejecting reverts it.
Inputs: approve (required), intentId (required), note, attestor.
cims_cancelCancel intentADestructiveIdempotent
Cancel a pending or attestation_required intent inside the cancel window.
Inputs: intentId (required), reason.
cims_institutionInstitution statusARead-onlyIdempotent
Look up a CIMS institution by index (e.g. "233" from R-233-2993204): active status, supported rails, and attestation policy. Check before routing to an unfamiliar institution.
Inputs: index (required).
cims_list_intentsList intentsBRead-only
List known intents, optionally filtered by status and/or asset.
Inputs: asset, status.
cims_quoteQuote transferARead-only
Price and policy-check a transfer (name check, AML, attestation requirement). Does not move funds. Prefer delayed mode for first-time or large payments. Show the quote to the user before calling cims_send.
Inputs: amount (required), toQuery (required), fromQuery (required), mode, +1 more.
cims_resolveResolve CIMS partyARead-onlyIdempotent
Resolve a legal name, handle, or CIMS ID (R-institution-account) to a routable party. Refuses raw 0x addresses.
Inputs: query (required).
cims_sendSend transferA
Create a CIMS intent from a quote. Requires confirm=true and must only be called after the user has reviewed the quote. May return attestation_required if institution policy demands it.
Inputs: confirm (required), quoteId (required).
cims_statusIntent statusARead-only
Get intent status: pending, attestation_required, finalized, cancelled, reverted. Includes cancel window and tx hash when finalized.
Inputs: intentId (required).
cims_validate_idValidate CIMS IDARead-onlyIdempotent
Check whether a string is a well-formed CIMS ID (R-institution-account) and parse its parts. Pure format check; does not hit the directory.
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 9 tools
Each tool maps to a distinct step in the CIMS workflow: validation, resolution, institution lookup, quoting, sending, attestation, cancellation, status, and listing. Potentially adjacent pairs like validate_id/resolve and quote/send are clearly separated by their descriptions.
All tools share the cims_ prefix and mostly use concise action-oriented names. Minor inconsistencies exist: cims_institution and cims_status are noun-only lookups, while cims_quote is ambiguous between noun and verb, so the pattern is not perfectly uniform.
Nine tools is well-scoped for a payment-intent lifecycle with supporting identity and institution lookup operations. Each tool covers a distinct operation without redundancy or unnecessary bloat.
The set covers the full path from ID validation, party resolution, and institution discovery through quote, send, attestation, cancellation, status, and listing. State transitions are represented, and there are no obvious dead ends in the core workflow.
Maintenance
Related MCP Connectors
Pre-trade risk gating and verifiable decision evidence for AI trading agents. Oracle-backed price/safety checks across Base, Solana, Hyperliquid and BNB, plus signed receipts and portable evidence bundles for any agent action.
Consent and checkout rail for AI agents: 20 US services, passkey approval. Sandbox: simulated data.
AI agent infrastructure for discovery, authorization, execution, identity, and signed receipts.
Trading tools for AI agents: token risk checks, swap quotes, unsigned swaps, holdings on 5 chains.
Related MCP Servers
- AlicenseAqualityDmaintenanceEnables AI agents to check balances and send transactions across multiple blockchains with automatic spending limit protection and policy enforcement.3MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to analyze Ethereum wallets, simulate transactions, and draft transfers with deterministic policy and risk scoring, requiring human approval before on-chain execution.12 npmISC
- AlicenseNot gradedqualityBmaintenanceEnables AI agents to propose structured payment intents, apply deterministic policy, require human approval, and record tamper-evident audit trails without connecting to live payment rails.MIT
- AlicenseNot gradedqualityCmaintenanceEnables AI agents to send ETH and tokens, approve token spending, and make contract calls while every transaction is decoded, simulated, checked against policy, threat lists, and user intent, with suspicious actions blocked or escalated for human approval.MIT