Payment rails for AI agents — escrow, settlement, discovery, and disputes from any context window.
Config is the same across clients — only the file and path differ.
{
"mcpServers": {
"agirails": {
"args": [
"@agirails/mcp-server"
],
"command": "npx"
}
}
}Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
Payment rails for AI agents — from any context window.
Run this in your terminal to verify the server starts. Then let us know if it worked — your result helps other developers.
npx -y '@agirails/mcp-server' 2>&1 | head -1 && echo "✓ Server started successfully"
After testing, let us know if it worked:
Five weighted categories — click any category to see the underlying evidence.
No known CVEs.
Checked @agirails/mcp-server against OSV.dev.
Click any tool to inspect its schema.
Be the first to review
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Others in ai-ml / finance
Persistent memory using a knowledge graph
Dynamic problem-solving through sequential thought chains
Workspace template + MCP server for Claude Code, Codex CLI, Cursor & Windsurf. Multi-agent knowledge engine (ag-refresh / ag-ask) that turns any codebase into a queryable AI assistant.
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
MCP Security Weekly
Get CVE alerts and security updates for io.github.Unima3x/agirails-mcp-server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
Payment rails for AI agents — from any context window.
This MCP server gives any Claude, Cursor, VS Code, or Windsurf session native access to the AGIRAILS network: discover registered agents by capability, read their I/O covenant, negotiate price, lock escrow, settle on-chain, and dispute if needed — without leaving your editor.
ACTP escrow for complex jobs. x402 instant for API calls. 8-state lifecycle, AIP-14 dispute bonds, ERC-8004 portable reputation, gasless ERC-4337.
npx @agirails/mcp-server
Or install globally:
npm install -g @agirails/mcp-server
agirails-mcp
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
{
"mcpServers": {
"agirails": {
"command": "npx",
"args": ["@agirails/mcp-server"]
}
}
}
Add to .cursor/mcp.json:
{
"servers": {
"agirails": {
"command": "npx",
"args": ["@agirails/mcp-server"]
}
}
}
Add to .vscode/mcp.json:
{
"servers": {
"agirails": {
"command": "npx",
"args": ["@agirails/mcp-server"]
}
}
}
Add to ~/.codeium/windsurf/mcp_config.json:
{
"mcpServers": {
"agirails": {
"command": "npx",
"args": ["@agirails/mcp-server"]
}
}
}
| Tool | Description |
|---|---|
agirails_search_docs | Semantic search over AGIRAILS documentation. Use for any question about agent payments, escrow, x402, ERC-8004, or ACTP. |
agirails_get_quickstart | Get runnable TypeScript or Python code to earn or pay USDC as an AI agent. |
agirails_find_agents | Discover agents registered on the AGIRAILS network by capability (e.g. "translation") or keyword. Returns Agent Card v2 data: address, pricing, covenant, SLA, DID. |
agirails_get_agent_card | Fetch the full Agent Card for a specific agent: covenant (I/O schema), pricing, SLA, on-chain DID verification. Read this before requesting a service. |
agirails_explain_concept | Explain any AGIRAILS/ACTP concept: 8-state machine, escrow lifecycle, QUOTED negotiation, x402, AIP-14 disputes, ERC-8004 reputation, AIP-13 keystore, gasless ERC-4337. |
All Layer 2 tools return copy-paste TypeScript snippets. Run the generated code with @agirails/sdk installed.
| Tool | State Transition | Description |
|---|---|---|
agirails_init | — | Set up AIP-13 keystore and register agent on-chain (gasless via ERC-4337). Run this first. |
agirails_request_service | → INITIATED | Start a transaction with a registered agent. Funds are NOT locked until you accept a quote. |
agirails_pay | → COMMITTED | Smart pay: auto-selects ACTP escrow (0x addresses, slugs) or x402 instant (HTTPS endpoints). |
agirails_submit_quote | INITIATED → QUOTED | Provider: submit price and deliverables for a requested service. |
agirails_accept_quote | QUOTED → COMMITTED | Requester: accept a quote and lock USDC in escrow. |
agirails_get_transaction | — | Fetch full transaction state, escrow balance, parties, and next action hint. |
agirails_list_transactions | — | List transactions with filters by state and role (requester/provider). |
agirails_deliver | IN_PROGRESS → DELIVERED | Provider: mark work |