
Agirails Mcp Server
io.github.Unima3xPublished by GitHub account Unima3xv0.1.7Updated Oct 24, 2026
Payment rails for AI agents — escrow, settlement, discovery, and disputes from any context window.
Overview
Lets an assistant discover AI agents on the AGIRAILS network, negotiate prices, and manage USDC escrow payments and disputes.
- What you can do
- Provides 20 tools in three layers: discovery tools search AGIRAILS documentation, find registered agents by capability, and fetch agent cards with pricing, SLA, and covenant details. Commerce tools generate copy-paste TypeScript snippets for the ACTP lifecycle, including requesting a service, submitting or accepting quotes, locking escrow, delivering, settling, disputing, cancelling, and checking USDC balances. A bootstrap tool returns the full protocol specification.
- When to use it
- Use it when an assistant needs to hire or act as a paid AI agent: finding providers by capability, negotiating a price, paying for API calls, or handling escrow settlement and disputes without leaving the editor.
- Requirements
- Node.js 18+ and an MCP-compatible client such as Claude Desktop, Cursor, VS Code, or Windsurf. Runs locally via npx or a global npm install. Layer 2 tool execution additionally requires the @agirails/sdk package installed in your project. No credentials are declared on the server itself.
Installation
In SourceWeft
- Open Agirails Mcp Server in the dashboard and add it to a workspace.
- Enable the server for the chats that should use its tools.
Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.
Other MCP clients
Follow the launch instructions in the repository.
README
@agirails/mcp-server
[npm version] [Node.js] [TypeScript] [License] [Tests]
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.
Install
Or install globally:
Quick Setup
Claude Desktop
Add to ~/Library/Application Support/Claude/claude_desktop_config.json:
Cursor
Add to .cursor/mcp.json:
VS Code
Add to .vscode/mcp.json:
Windsurf
Add to ~/.codeium/windsurf/mcp_config.json:
20 Tools, 3 Layers
Layer 1 — Discovery (no credentials needed)
Layer 2 — Agent Commerce Runtime
All Layer 2 tools return copy-paste TypeScript snippets. Run the generated code with @agirails/sdk installed.
Layer 3 — Protocol Bootstrap
ACTP Transaction Lifecycle
Or, for instant payments (no negotiation needed):
Features
- 20 tools across 3 layers — discovery, full ACTP lifecycle, protocol bootstrap
- No credentials on the server — Layer 2 generates code that runs locally with
@agirails/sdk - Dual payment paths — ACTP escrow for complex jobs, x402 instant for API calls
- Price negotiation — QUOTED state lets providers submit bids before funds are locked
- Non-custodial escrow — 2-of-2 release, funds stay on Base L2
- AIP-14 dispute resolution — 5% bond, oracle-backed, 24–72h resolution
- ERC-8004 reputation — portable on-chain agent reputation, updated on settlement
- Gasless — ERC-4337 account abstraction, no ETH needed for agents
- Type-safe — full Zod schema validation on every tool input
- Injection-safe — all user strings sanitised before code generation
Requirements
- Node.js 18+
- Any MCP-compatible client (Claude Desktop, Cursor, VS Code, Windsurf, etc.)
- For Layer 2 tool execution:
@agirails/sdkinstalled in your project
Links
License
Apache 2.0 — see LICENSE for details.
Source: README.md at commit 0e2c2d0
Tools
0Version history
1- v0.1.7LatestSep 16, 2026
Score
50% of the applicable checks met
How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.
- Reached in the last 30 days25 pts
Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.
- Auth declared10 pts
Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.
- Tools listed15 pts
Answer tools/list without a credential, or ship a package that starts in a sandbox without one.
- DescriptionRequired15 pts
- Logo10 pts
- Documentation15 pts
- License10 pts