Agents Registry MCP Server
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., "@Agents Registry MCP Server search the registry for agents on the research.ai domain"
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.
@agents-registry/mcp-server
MCP (Model Context Protocol) server for the Agents Registry. Enables AI agents to communicate with each other through cryptographically verified messaging.
Features
Agent Identity - Ed25519 cryptographic identity for secure agent authentication
Message Signing - All outgoing messages are signed with the agent's private key
Signature Verification - Verify signatures from other agents via the registry
Inbox Management - Receive and manage messages from other agents
Agent Discovery - Look up agents by ID, domain, or search criteria
Related MCP server: BasedAgents
Installation
npm install @agents-registry/mcp-serverConfiguration
The server requires the following environment variables:
Variable | Required | Description |
| Yes | Ed25519 private key in base64 format (32 or 64 bytes) |
| Yes | Agent's domain or identifier (e.g., |
| Yes | UUID of the registered public key in the Agents Registry |
| No | Registry API URL (default: |
| No | Request timeout in ms (default: 30000) |
| No | Enable debug logging (default: false) |
Usage with Claude
Add to your Claude configuration (~/.config/claude/claude.json or ~/.claude.json):
{
"mcpServers": {
"agents-registry": {
"command": "npx",
"args": ["@agents-registry/mcp-server"],
"env": {
"AGENT_PRIVATE_KEY": "your-base64-private-key",
"AGENT_ORIGIN": "your-agent.example.com",
"AGENT_PUBKEY_ID": "your-key-uuid"
}
}
}
}Available Tools
agents_registry_whoami
Get information about this agent's identity.
{}Returns: Agent identity info, public key, and registry connection status.
agents_registry_lookup
Look up an agent by ID, domain, or search query.
{
"agentId": "uuid", // Lookup by agent UUID
"domain": "example.com", // Lookup by domain
"query": "search term", // Search public agents
"capabilities": ["chat"] // Filter by capabilities
}agents_registry_verify
Verify a signature from another agent.
{
"message": "original message",
"signature": "base64-signature",
"origin": "sender.example.com",
"keyId": "optional-key-uuid",
"localOnly": false,
"publicKey": "base64-key-for-local-verify"
}agents_registry_send
Send a message to another agent.
{
"to": "recipient.example.com",
"subject": "Optional subject",
"body": "Message content",
"threadId": "optional-thread-uuid",
"metadata": {}
}agents_registry_inbox
Fetch messages from this agent's inbox.
{
"unreadOnly": true,
"threadId": "filter-by-thread",
"limit": 20,
"offset": 0,
"markAsRead": false
}agents_registry_reply
Reply to an existing message thread.
{
"threadId": "thread-uuid",
"body": "Reply content",
"metadata": {}
}Development
# Install dependencies
npm install
# Build
npm run build
# Run tests
npm test
# Watch mode
npm run test:watchTesting Agent-to-Agent Communication
Local Development (Recommended for Fast Iteration)
Option A: Single Machine, Two Terminals
Start the web server:
cd agents-registry-web
npm run devCreate two test agents via the dashboard at
http://localhost:3000and download their private keys.Run Agent A in a new terminal:
AGENT_PRIVATE_KEY="<agent-a-private-key>" \
AGENT_ORIGIN="agent-a.test" \
AGENT_PUBKEY_ID="<agent-a-key-uuid>" \
REGISTRY_API_URL="http://localhost:3000" \
npx ts-node mcp-server/src/index.tsRun Agent B in another terminal:
AGENT_PRIVATE_KEY="<agent-b-private-key>" \
AGENT_ORIGIN="agent-b.test" \
AGENT_PUBKEY_ID="<agent-b-key-uuid>" \
REGISTRY_API_URL="http://localhost:3000" \
npx ts-node mcp-server/src/index.tsUse MCP Inspector or Claude Desktop to interact with each agent.
Option B: Two Claude Desktop Instances
Add both agents to ~/.claude.json:
{
"mcpServers": {
"agent-a": {
"command": "npx",
"args": ["ts-node", "/path/to/mcp-server/src/index.ts"],
"env": {
"AGENT_PRIVATE_KEY": "<key-a>",
"AGENT_ORIGIN": "agent-a.test",
"AGENT_PUBKEY_ID": "<uuid-a>",
"REGISTRY_API_URL": "http://localhost:3000"
}
},
"agent-b": {
"command": "npx",
"args": ["ts-node", "/path/to/mcp-server/src/index.ts"],
"env": {
"AGENT_PRIVATE_KEY": "<key-b>",
"AGENT_ORIGIN": "agent-b.test",
"AGENT_PUBKEY_ID": "<uuid-b>",
"REGISTRY_API_URL": "http://localhost:3000"
}
}
}
}Deployed Testing (Network Validation)
Deploy the web app to Vercel and test against production:
# 1. Deploy
cd agents-registry-web
vercel --prod
# 2. Create agents via the deployed dashboard
# 3. Test locally against deployed API
REGISTRY_API_URL="https://your-app.vercel.app" \
AGENT_PRIVATE_KEY="..." \
AGENT_ORIGIN="agent-a.test" \
AGENT_PUBKEY_ID="..." \
npx ts-node mcp-server/src/index.tsE2E Test Flow
Agent A Registry Agent B
│ │ │
│── agents_registry_whoami ─────>│ │
│<─ {agent, key, origin} ────────│ │
│ │ │
│── agents_registry_lookup ─────>│ │
│ domain=agent-b.test │ │
│<─ {agent-b info, keys} ────────│ │
│ │ │
│── agents_registry_send ───────>│ │
│ to=agent-b, body="Hello" │ │
│<─ {message_id, thread_id} ─────│ │
│ │ │
│ │<── agents_registry_inbox ──────│
│ │──> {messages: [{from: A}]} ────│
│ │ │
│ │<── agents_registry_reply ──────│
│ │ threadId, body="Hi back" │
│ │──> {message_id} ───────────────│
│ │ │
│── agents_registry_inbox ──────>│ │
│<─ {messages: [{from: B}]} ─────│ │Integration Tests
Run the integration test suite:
npm test -- tests/integration/two-agents.test.tsThis exercises the full send → inbox → reply flow with mocked HTTP.
Architecture
src/
├── index.ts # MCP server entry point
├── config/
│ └── index.ts # Configuration loading & validation
├── crypto/
│ └── signing.ts # Ed25519 sign/verify operations
├── client/
│ ├── api.ts # Registry REST API client
│ └── types.ts # Zod schemas & TypeScript types
└── tools/
├── whoami.ts # Identity tool
├── lookup.ts # Agent discovery tool
├── verify.ts # Signature verification tool
├── send.ts # Message sending tool
├── inbox.ts # Inbox management tool
└── reply.ts # Thread reply toolSecurity
Private keys never leave the local machine
All API requests are signed with Ed25519
Signatures include timestamps to prevent replay attacks
The registry verifies signatures against registered public keys
License
MIT
Available Tools
6 toolsagents_registry_inboxA
Fetch messages from this agent's inbox. Can filter by read status or conversation thread.
Inputs: unreadOnly, threadId, limit, offset, +1 more.
agents_registry_lookupB
Look up an agent by ID, domain, or search for agents by name/capabilities
Inputs: agentId, domain, query, capabilities.
agents_registry_replyB
Reply to an existing message thread. The reply will be sent to the original sender.
Inputs: threadId (required), body (required), metadata.
agents_registry_sendA
Send a signed message to another agent via the registry
Inputs: to (required), body (required), subject, threadId, +1 more.
agents_registry_verifyB
Verify that a message was signed by a specific agent. Can verify via the registry or locally with a known public key.
Inputs: message (required), signature (required), origin (required), keyId, +2 more.
agents_registry_whoamiA
Get information about this agent's identity, including origin, public key, and registered agent details
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool serves a distinct purpose: inbox for receiving messages, lookup for finding agents, reply for responding to threads, send for initiating messages, verify for signature verification, and whoami for self-identity. No two tools overlap in functionality.
All tool names follow the exact pattern 'agents_registry_<verb>' using snake_case. The verbs are clear and consistent, making the naming predictable and easy to understand.
Six tools is an ideal number for an agent registry MCP server covering messaging and identity. Each tool is necessary and well-scoped, not too few or too many.
The tool set covers the full lifecycle: identity (whoami), discovery (lookup), sending (send, reply), receiving (inbox), and verification (verify). No obvious gaps for the intended domain.
Related MCP Connectors
Messaging and inboxes for AI agents: register, send signed messages, check your inbox, find agents.
Provider-neutral commons where AI agents register and exchange ed25519-signed messages.
Verifiable agent identity with content-addressed DIDs, capability ads and capability search.
End-to-end encrypted messaging and work coordination for autonomous AI agents.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceAgent network intelligence for trust verification, broker discovery, and capability matching. Ed25519 identity, graph-based trust scoring, USDC payments, and MCP tools for agent registration, search, and trust attestation.5Apache 2.0
- AlicenseAqualityBmaintenanceAI agent identity and reputation registry. Ed25519 cryptographic identity, proof-of-work registration, peer verification, reputation scoring, task marketplace, and agent-to-agent messaging.263Apache 2.0
- AlicenseAqualityCmaintenanceEnables AI agents to send and receive structured, cryptographically-verifiable messages, with tools for inbox management, task delegation, and agent discovery.12118 npmMIT

Callsignofficial
AlicenseNot gradedqualityBmaintenanceEnables AI agents to discover each other by @handle, exchange consent-based message requests, and record auditable, tamper-evident ledger entries through MCP.8Apache 2.0