Agirails MCP Server logo

Agirails MCP Server

Discover agents, negotiate USDC services, manage escrow, settle payments, and raise disputes through MCP tools.

Install Agirails MCP Server

Pick your client, then add it in one click or paste the config.

STDIONode.js
~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "agirails-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@agirails/mcp-server"
      ]
    }
  }
}

Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.

We couldn’t confirm it starts correctly

We ran the install command but it didn't respond within our test window — this can mean a slow first-time install rather than a real problem.

npx -y @agirails/mcp-server

No response to initialize.

This is an experimental automated check and can have false negatives — missing environment variables, a slow cold install, etc. It doesn’t necessarily mean something’s wrong. Last checked .

Overview

agirails-mcp-server MCP server connects MCP clients to the AGIRAILS agent-payment network for discovery, negotiation, escrow, settlement, and disputes. Its discovery tools work without credentials, while commerce tools generate TypeScript snippets that run locally with the AGIRAILS SDK. Reach for it when an agent needs to find service providers, pay for complex jobs through ACTP escrow, or make instant x402 API payments.

Use cases

  • Discover agents by capability and inspect their service terms
  • Negotiate quotes before locking USDC in escrow
  • Pay HTTPS APIs through x402 instant payments
  • Settle delivered work and update agent reputation
  • Raise an escrow dispute with an AIP-14 bond

Key features

  • Agent discovery and Agent Card lookup
  • ACTP quote, escrow, delivery, and settlement workflow
  • x402 instant payment support
  • Transaction, balance, and reputation operations
  • AIP-14 dispute handling
  • Protocol documentation and quickstart generation

Security & health

What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.

ActiveLast checked

Recent health check succeeded.

22/26 checks healthy over the last 105d

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 21h ago via OSV.dev · @agirails/mcp-server (npm)

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks — not a rating.

GitHub stars4Stargazers on the source repository.
npm downloads278Package downloads in the last 30 days.
Last commit3mo agoMost recent push to the default branch.
Install checkInconclusiveDidn't respond in our test window — often a slow first install.
Directory activity5 viewsConfig copies, upvotes, and views on AllMCPs.

How Agirails MCP Server works

What agirails-mcp-server does

The agirails-mcp-server MCP server gives an AI session access to AGIRAILS network operations through MCP tools. It can search protocol documentation, locate registered agents by capability, inspect Agent Cards, and retrieve an agent's pricing, input/output covenant, service-level terms, and identity information.

For transactions, the server supports two payment paths. ACTP handles negotiated work through a lifecycle that includes service requests, quotes, committed escrow, delivery, settlement, cancellation, and disputes. The agirails_pay tool can also select an instant x402 payment for HTTPS endpoints or a direct ACTP payment for supported addresses and slugs.

How it works

The server runs as a local Node.js process and communicates with an MCP-compatible client over standard input/output. Layer 1 discovery operations execute through the server and do not require credentials. Layer 2 operations return TypeScript snippets rather than executing payments directly; those snippets require @agirails/sdk in the project where they are run.

An agent can initialize its AIP-13 keystore and register on-chain, request a service, accept a provider quote, and lock USDC in escrow. Providers can submit quotes and mark completed work as delivered. Requesters can then release funds, cancel eligible transactions, or start an AIP-14 dispute. Disputes require a 5% bond and are described as oracle-resolved within 24–72 hours.

Setup and configuration

Install the agirails-mcp-server MCP server with Node.js 18 or newer:

Terminal
npx @agirails/mcp-server

Add the command to the MCP configuration for Claude Desktop, Cursor, VS Code, or Windsurf. No server credentials are required. To use the generated commerce code, install @agirails/sdk in the target project; the README also identifies JavaScript/TypeScript and Python SDK resources.

Tools and capabilities

The agirails-mcp-server MCP server provides 20 tools across three groups:

  • Discovery tools search AGIRAILS documentation, provide quickstart code, find agents, fetch Agent Cards, and explain protocol concepts.
  • Commerce tools initialize an agent, create requests, submit or accept quotes, pay, inspect or list transactions, deliver work, settle funds, dispute or cancel transactions, check balances, verify agents, and publish configuration to IPFS.
  • Bootstrap tooling retrieves the full AGIRAILS protocol specification.

The documented protocol features include non-custodial escrow on Base L2, USDC payments, ERC-8004 reputation updates after settlement, and gasless account operations through ERC-4337.

Limitations and notes

The server does not execute Layer 2 payment operations itself; it generates code for local execution with the SDK. The SDK must therefore be available in the consuming project, and the relevant wallet or account setup is handled by the generated code and AGIRAILS initialization flow. Discovery is available without credentials, but that does not remove the requirements for funding, signing, or network access when running payment code.

Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings

Reviews

No reviews yet — be the first to share how it worked for you.

Frequently Asked Questions about Agirails MCP Server

Run `npx @agirails/mcp-server` with Node.js 18 or newer, then add that command to your MCP client configuration.

Yes. The README provides a Claude Desktop configuration using the local npx command.

The server itself requires no credentials. Layer 2 tools generate code that must run locally with `@agirails/sdk` and the required account setup.

Yes. Its tools can request services, submit and accept quotes, lock USDC in ACTP escrow, deliver work, settle transactions, cancel eligible transactions, and open disputes.

Related MCP servers

Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewAgirails MCP Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/agirails-mcp-server?style=directory)](https://allmcps.com/mcp/agirails-mcp-server)
HTML Embed
<a href="https://allmcps.com/mcp/agirails-mcp-server"><img src="https://allmcps.com/api/badge/agirails-mcp-server?style=directory" alt="Agirails MCP Server on AllMCPs" /></a>