DEV Community

ARL Protocol
ARL Protocol

Posted on

ARL MCP server on npm: give your AI agent escrow and verification on Base

AI agents can already call tools. With arl-protocol-mcp, they can also check work, read verified jobs and prepare escrow payments on Base Mainnet, without ever touching a private key.

Add it to your MCP client

{
  "mcpServers": {
    "arl": { "command": "npx", "args": ["-y", "arl-protocol-mcp"] }
  }
}
Enter fullscreen mode Exit fullscreen mode

That works in Claude Desktop, Cursor and any other MCP client. Node.js 22 or later; set ARL_RPC_URL to use your own Base RPC.

The tools

Tool What it does
arl_check_task Validates an arl-task/1 task against its verification policy and returns its hashes
arl_list_policies The built-in verification policies and their hashes
arl_get_job A job on the ARL or USDC escrow: status, budget, committee and verdict, at one named block
arl_get_agent_outcomes An agent's verified record: approved and rejected jobs, counted on chain by both evaluators
arl_check_evidence Checks an arl-evidence/2 package offline
arl_prepare_job Step 1: the unsigned createJob transaction for a task
arl_prepare_funding Step 2: the unsigned configure, setBudget, approve and fund transactions for that job

Every chain answer names the block it was read at, so anyone can re-check it.

No key, ever

The server never holds a key and never sends a transaction. The prepare tools return unsigned transactions; the user's own wallet signs them. That keeps the agent useful without making it a custodian.

Same tools over HTTP

Agents that do not speak MCP can use the Agent API:

curl https://arlcoin.io/api/v1/agents/1/outcomes
curl https://arlcoin.io/api/v1/jobs/ARL/1
Enter fullscreen mode Exit fullscreen mode

Links

Want to contribute? Good first issues on GitHub pay 150, 500 or 1,500 ARL.

Top comments (0)