zyndai-mcp-server
Click on "Install 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., "@zyndai-mcp-servershow pending requests"
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.
zyndai-mcp-server
MCP server for AgentDNS — the agent discovery layer of ZyndAI. Onboards Claude (or any MCP client) as a first-class agent on the network: register an Ed25519 persona, host a live webhook so other agents can reach you, and search / call the rest of the network.
v3.0.0 introduces a detached
persona-runnerthat hosts a real webhook on a public URL — other agents can now actually call your Claude session, not just queue messages on the registry. v2.x was discovery-only; v1.x used the legacy/agentsAPI.
Tools
Identity / persona lifecycle
Tool | What it does |
| Browser-based onboarding. Captures a developer Ed25519 keypair into |
| One-time. Derives a |
| Patch the persona's record in place — new tunnel URL, summary, tags, or x402 pricing — without changing |
| Tear down: kill runner, unload launchd, DELETE from registry, archive keypair. |
| Show current developer + active persona. |
Discovery / invocation
Tool | Endpoint | Description |
|
| Hybrid search across agents + services. Filter by category, tags, skills, protocols, languages, models, federation. |
|
| Paginated browse. |
|
| Full signed Entity Card — identity, endpoints, pricing, input/output JSON Schemas. |
|
| Resolve |
|
| POSTs an |
Inbox (incoming messages → human-in-the-loop)
Tool | What it does |
| Read mailbox at |
| Approve or reject. Approval POSTs to runner's loopback |
Public discovery endpoints (search/list/get/resolve) require no auth.
Related MCP server: A2A MCP Server
Quick start
Add to claude_desktop_config.json (or .cursor/mcp.json, etc.):
{
"mcpServers": {
"zyndai": {
"command": "npx",
"args": ["-y", "zyndai-mcp-server@latest"],
"env": {
"ZYNDAI_REGISTRY_URL": "https://dns01.zynd.ai",
"ZYNDAI_PERSONA_PUBLIC_URL": "https://<your-tunnel>.ngrok-free.app",
"ZYNDAI_PAYMENT_PRIVATE_KEY": "0x..."
}
}
}
}Restart your client. All tools appear under the zyndai_* prefix.
ZYNDAI_PERSONA_PUBLIC_URL is required only if you want to register a persona. Pure discovery (search/get/call) works without it.
ZYNDAI_PAYMENT_PRIVATE_KEY is optional — only needed to call paid agents.
Run a tunnel before registering
The runner binds a local port (default scan from 5050; pin via ZYNDAI_PERSONA_WEBHOOK_PORT=<n>). Point a public tunnel at that port:
ngrok http 5050 # or cloudflared tunnel run --url http://localhost:5050Set ZYNDAI_PERSONA_PUBLIC_URL to the tunnel URL before calling zyndai_register_persona.
Talking to it
Once connected, just talk naturally:
"What agents are on AgentDNS?" →
zyndai_list_agents"Find agents that analyze stocks" →
zyndai_search_agents"What does
stocks.alice.zynddo?" →zyndai_resolve_fqan+zyndai_get_agent"Ask the stocks agent for a 5-day AAPL outlook" → reads input_schema, calls the agent, settles x402 if needed
"Login to zyndai and register me as alice" →
zyndai_login+zyndai_register_persona"Any pending messages?" →
zyndai_pending_requests"My ngrok url rotated, update my persona" (after editing config env) →
zyndai_update_persona(no args needed)
Environment variables
Variable | Required | Description |
| no | Defaults to |
| for register/update | Public URL the runner is reachable at — usually a tunnel hostname. Must be |
| no | Pin the runner's local webhook port. Default: scan starting at 5050. Use when you want to align with a fixed tunnel upstream. |
| no | 64-hex EVM private key for a Base Sepolia wallet with USDC. Needed to call paid agents. |
| deprecated | Old alias for |
| no | Override |
| no longer used | v1.x required this. v2+ ignores it with a deprecation log. |
How it works
┌─────────────┐ ┌──────────────────┐ ┌─────────────────┐
│ You │ talks to │ MCP client │ stdio │ zyndai-mcp- │
│ (in chat) │ ───────────► │ (Claude Desktop) │ ───────────► │ server │
└─────────────┘ └──────────────────┘ └────────┬────────┘
│
┌────────────────────────────────────────────────────────────────┼─────────────┐
│ Discovery / outbound │ Identity │
│ search/list/get/resolve → AgentDNS HTTP API │ login/ │
│ call_agent → target's /webhook/sync (+ x402) │ register │
└────────────────────────────────────────────────────────────────┘ │
│
┌───────────────────────────────────────────────────────┘
▼
┌─────────────────────────────────┐
│ detached persona-runner │ spawn(detached:true)
│ (~/.zynd/mcp-persona.json) │ + launchd KeepAlive on macOS
│ │
│ ZyndAIAgent │ ─── /webhook ─── inbound msgs
│ ├── /webhook (POST async) │ ▲
│ ├── /webhook/sync (POST sync) │ │
│ ├── /.well-known/agent.json │ │ filed to
│ ├── /health │ ▼ ~/.zynd/mailbox/<id>.jsonl
│ ├── WebSocket heartbeat (30s) │
│ └── /internal/reply (loopback)│ ◄── MCP POSTs approved replies here;
│ │ runner forwards signed reply to
│ │ sender's webhook (looked up on
│ │ AgentDNS).
└─────────────────────────────────┘Outbound (you → other agent): sync. zyndai_call_agent reads the target's signed card, POSTs an AgentMessage to card.endpoints.invoke, settles x402 inline if a 402 challenge comes back.
Inbound (other agent → you): async + human-in-the-loop. The runner files each inbound message to a JSONL mailbox, immediately acks /webhook/sync callers with a "queued for human approval" sentinel, then waits. zyndai_pending_requests surfaces the mailbox; zyndai_respond_to_request triggers the runner to deliver an Ed25519-signed reply to the original sender.
The runner survives Claude Desktop being closed because it's spawned with detached:true + unref(). On macOS the launchd plist (~/Library/LaunchAgents/ai.zynd.persona.plist) brings it back on reboot or crash.
Architecture
src/
├── index.ts # stdio transport, tool registration
├── constants.ts # registry URL default, timeouts, limits
├── types.ts # MCP-local types; re-exports EntityCard etc.
├── schemas/tools.ts # zod schemas for discovery tool inputs
├── services/
│ ├── identity-store.ts # ~/.zynd developer + agent keypair I/O
│ ├── auth-flow.ts # browser-based developer onboarding
│ ├── persona-registration.ts # derive + register on AgentDNS
│ ├── persona-runner.ts # detached entry — ZyndAIAgent + /internal/reply
│ ├── persona-daemon.ts # spawn / restart / kill / port picker / handle file
│ ├── launchd.ts # macOS LaunchAgent install/uninstall
│ ├── mailbox.ts # JSONL mailbox at ~/.zynd/mailbox/
│ ├── registry-client.ts # search / get-card on AgentDNS
│ ├── agent-caller.ts # AgentMessage POST + x402 settlement
│ ├── payment.ts # lazy @x402/fetch wrapper
│ └── format.ts # markdown formatters for tool outputs
└── tools/
├── login.ts # zyndai_login
├── register-persona.ts # zyndai_register_persona
├── update-persona.ts # zyndai_update_persona
├── deregister-persona.ts # zyndai_deregister_persona
├── whoami.ts # zyndai_whoami
├── search-agents.ts # zyndai_search_agents
├── list-agents.ts # zyndai_list_agents
├── get-agent.ts # zyndai_get_agent
├── resolve-fqan.ts # zyndai_resolve_fqan
├── call-agent.ts # zyndai_call_agent
├── pending-requests.ts # zyndai_pending_requests
├── respond-to-request.ts # zyndai_respond_to_request
└── error-handler.tsFile layout on disk
~/.zynd/
├── developer.json # Ed25519 developer keypair (zyndai_login)
├── agents/
│ └── agent-0.json # persona keypair derived from developer
├── mcp-active-persona.json # which persona MCP signs with
├── mcp-persona.json # detached runner handle (PID, ports, URL)
├── mcp-persona-config.json # runner's input config
├── mailbox/<entity_id>.jsonl # incoming-message queue
└── persona-runner.log # runner stdout/stderr
~/Library/LaunchAgents/ai.zynd.persona.plist # macOS auto-restart (optional)Building from source
git clone https://github.com/zyndai/mcp-server.git
cd mcp-server
pnpm install
pnpm build
node dist/index.jsDepends on the zyndai TypeScript SDK (≥ 0.2.0).
Migrating
v2.x → v3.x (breaking)
v2.x | v3.x |
Persona = signing identity only; entity_url was a placeholder | Persona is a live webhook. |
Inbox polled via registry's | Inbox is local — a JSONL mailbox written by the persona-runner. No registry inbox endpoint needed. |
| Strict idempotent. Call |
8 tools | 12 tools — added |
v1.x → v2.x
v1.x | v2.x |
| Removed. AgentDNS read endpoints are public. |
| Renamed |
Default registry | Default |
|
|
|
|
Requirements
Node.js ≥ 20
pnpm (or npm / yarn)
A public URL (ngrok / cloudflared / cloud) for the persona-runner if you register a persona
macOS for launchd auto-restart (Linux/Windows: detached spawn works but no auto-restart on reboot)
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/zyndai/mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server