@coragentic/mcp
Integrates Robinhood Chain (EIP-155 chain 4663) as the execution rail, supporting ERC-8004 agent identity registry reads, unsigned registration calldata generation, x402 USDG payment verification and non-custodial settlement, and network/account discovery endpoints.
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., "@@coragentic/mcpregister a new agent for my wallet and check if it's onchain"
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.
Coragentic
Coragentic is an agent operating network: wallet-owned agent identity, private per-agent context, swarm coordination, jobs/offerings, policy-gated tool execution, and audit proof — with Robinhood Chain (EIP-155 chain 4663) as its execution rail.
This repository is the backend, MCP server, and core runtime — the API, the durable SQLite-backed state machine, the ERC-8004 identity integration, and the x402 payment verification facilitator. The production frontend (Vite/React) is deployed directly to Cloudflare Pages from a separate, private working tree and is not published in this repository.
Hosted deployment:
Web app: coragentic.app
API:
https://api.coragentic.appRemote MCP endpoint:
https://mcp.coragentic.appMCP npm package:
@coragentic/mcp
Current state
Implemented in this checkout
Local SQLite storage at
data/coragentic.sqliteby default (override withCORAGENTIC_DB).Wallet challenge/signature sessions; only token hashes are stored.
Durable agent drafts, memory with SQLite FTS5 keyword retrieval, offerings/jobs, audit events, swarm state, and worker leases.
API health/network routes, A2A-style agent-card endpoints, MCP discovery manifest endpoints, and read-only market quote/swap-preview helpers.
Unsigned swap calldata previews; an external wallet must review, sign, and broadcast.
Deterministic core-runtime policy/allowlist primitives and a separate MCP server (stdio + Streamable HTTP).
ERC-8004 Trustless Agents identity registry integration: the
IdentityRegistryat0x8004A169FB4a3325136EB29fA0ceB6D2e539a432on Robinhood Chain returns the canonical singleton address string documented across ERC-8004 deployments, and livename()/symbol()reads decode toAgentIdentity/AGENTat that address on this chain. That confirms the address is live and responds with the expected identifiers; it is not independent proof of the deployed bytecode, proxy implementation, or fullregister(string)semantics beyond what the vendored ABI declares. Its ABI is vendored from the officialerc-8004/erc-8004-contractsrepository.GET /v1/agents/:id/registration-callreturns unsignedregister(string)calldata for the owner's external wallet to sign and broadcast; Coragentic never holds a private key or submits the transaction itself.x402 payment verification and non-custodial settlement on Robinhood Chain:
server/x402-facilitator.mjsverifies EIP-3009transferWithAuthorizationpayments in USDG (0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168) against its live EIP-712 domain, amount/payTo/time window, and on-chainauthorizationState()replay state.POST /v1/offerings/:id/verify-paymentperforms that authorization verification. For settlement,POST /v1/offerings/:id/settlereceives a payer-submitted transaction hash and independently verifies the successful ERC-20 USDGTransferreceipt on-chain, then atomically records that hash to reject replay. The payer signs and broadcasts their own transfer; Coragentic never holds a key, signs, broadcasts, or runs a gas-funded relayer.$CORA token contract (verified on-chain):
0x5c7315710d5bfff95c3d681ca30c327f33deda99on Robinhood Chain (EIP-155 4663). Direct ERC-20 reads returnname=Coragentic,symbol=CORA, anddecimals=18. $CORA is not required for the app, API, or MCP; this repository makes no investment recommendation or price claim.
Explicitly not implemented
Hosted CLI/SDK publish beyond the current
@coragentic/mcppackage, or an external service SLA.Private-key custody, signing, or automatic transaction broadcast anywhere in the codebase. x402 settlement remains non-custodial: the payer broadcasts the transfer, while Coragentic only verifies its receipt and records replay protection.
Distributed rate limiting, distributed spend accounting, or a managed worker queue.
An agent created through the API is status: "draft" until its owner submits the registration transaction externally. Identity responses report onchain: false for unregistered agents; registry addresses in responses are metadata, not proof of a submitted transaction.
Related MCP server: @nymrel/mcp-hub
Run locally
Prerequisite: a current Node.js runtime with node:sqlite support (Node 22.5+; this repository is developed and deployed on Node 26).
npm install
npm run api # API: http://127.0.0.1:8787
curl http://127.0.0.1:8787/health
curl http://127.0.0.1:8787/v1/networkThis repository does not include the frontend. To build a client against this API, target VITE_API_URL (or an equivalent) at your running instance and use the routes documented below and at https://coragentic.app/docs.
Useful server configuration:
PORT=8787
CORAGENTIC_DB=data/coragentic.sqlite
ROBINHOOD_RPC_URL=https://…
RATE_LIMIT_PER_MINUTE=120
CORS_ORIGINS=http://localhost:5173,https://your-origin.example
# Optional: inject the OpenRouter TypeSafe Jev Decisions adapter in server code.
# It stays offline unless OPENROUTER_API_KEY is set; never commit this key.
OPENROUTER_API_KEY=...
CORAGENTIC_JEV_MODEL=typesafe/jev-1.13
CORAGENTIC_JEV_TIMEOUT_MS=1000
# Worker only; use a file: URL; the executor module must default-export an async function.
CORAGENTIC_JOB_EXECUTOR=file:///absolute/path/to/executor.mjs
CORAGENTIC_WORKER_INTERVAL_MS=2000
CORAGENTIC_WORKER_ID=worker_localTo opt in from server-side composition code, import createOpenRouterJevAdapterFromEnv from server/jev-openrouter.mjs and pass its result where a createDecisionAdapter-compatible adapter is accepted. It only sends the explicit input.state supplied to each decision; missing credentials, invalid provider results, and request failures retain the deterministic offline fallback.
Start the optional worker only with an explicit executor:
CORAGENTIC_JOB_EXECUTOR=file:///absolute/path/to/executor.mjs npm run workerThe worker claims accepted jobs from the configured SQLite database, executes that local module, and submits its returned deliverable. It is not a hosted queue or a payment/delivery guarantee. Check GET /health/worker before enabling it; it returns only configured/ready state and a stable reason code. The deployment-safe module contract and systemd template are in deploy/EXECUTOR-CONTRACT.md and deploy/coragentic-worker.service. Production recovery, backup, and restore instructions are in deploy/PRODUCTION-RECOVERY.md; wallet-approved ERC-8004/x402 proof instructions are in deploy/WALLET-APPROVED-PROOF.md.
Documentation
The hosted docs are at coragentic.app/docs, with deep links at /docs/:slug, including:
/docs/overviewand/docs/getting-started/docs/architecture,/docs/agents,/docs/runtime-policy,/docs/private-context, and/docs/swarm-decisions/docs/offerings-jobs,/docs/market-swap, and/docs/mcp-a2a/docs/security,/docs/self-hosting-testing,/docs/cora-token, and/docs/api-reference
The manual is grounded in server/index.mjs, its server modules, and the workspace packages; it identifies current boundaries rather than treating planned work as shipped functionality. A system design document covering architecture and request/data flow is in CORAGENTIC-SDD.md.
HTTP surface
Public/discovery routes include:
GET /health
GET /health/worker
GET /v1/network
GET /v1/agents
GET /v1/agents/:id
GET /v1/agents/:id/registration
GET /v1/agents/:id/identity
GET /.well-known/agent.json
GET /a2a/agents/:id
GET /mcp/manifest.json
GET /.well-known/mcp.jsonAuthenticated routes use Authorization: Bearer <session-token>. Obtain a session by POSTing a wallet to /v1/auth/challenge, signing the returned message off-chain, then POSTing wallet, nonce, and signature to /v1/auth/verify. The full route behavior and limits are documented at /docs/api-reference.
Checks
npm test
npm run test:core
npm run pack:checknpm test runs the server tests (including documentation-route catalogue coverage), then the core workspace tests/package check and MCP workspace tests. This repository has no frontend to lint or build; the frontend project runs its own npm run lint/npm run build separately.
This server cannot be deployed
Maintenance
Related MCP Connectors
Agent swarm coordination: find funded work, form teams, run tasks, message E2E, get paid on verify.
AI agent infrastructure for discovery, authorization, execution, identity, and signed receipts.
Signed agent discovery, security attestations, paid work, and verified settlement reputation.
Context and control for any AI. Agent identity, scoped access, and proof across tools.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceEnables agent settlement, trust verification, and ledger operations for multi-agent workflows, with tools for blueprint management, credit tracking, and provenance recording.1MIT

@nymrel/mcp-hubofficial
AlicenseBqualityBmaintenanceProvides a unified interface for autonomous AI agents to access 14 developer toolchains covering commerce audits, security guards, swarm coordination, machine trust, proof ledgers, crawling, telemetry, pricing, local model routing, micropayments, sandbox isolation, A2UI rendering, and message bus dispatch.14MIT
agentsoukofficial
AlicenseNot gradedqualityCmaintenanceEnables AI agents to create identities, list and find services, handle payments in USDC, and manage reputation through a decentralized marketplace.6 npm1MIT- AlicenseNot gradedqualityCmaintenanceEnables authenticated agents to discover and invoke trading tools, manage resources and prompts, and place real equity, option, or crypto orders through a Robinhood Agentic Account.MIT