P2P runtime for A2A protocol. Encrypted agent communication with zero-config NAT traversal.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
The core daemon powering AgentAnycast's P2P agent network.
AgentAnycast Node (agentanycastd) is a sidecar daemon that runs on each machine, providing P2P networking, end-to-end encryption, and A2A protocol routing. Language SDKs (Python, TypeScript) communicate with it over gRPC.
Fully decentralized. On a local network, agents discover each other via mDNS with zero configuration. For cross-network communication, deploy your own relay with a single command.
| Category | Capabilities |
|---|---|
| Networking | libp2p (TCP, QUIC, WebTransport), NATS transport, mDNS auto-discovery, NAT traversal (AutoNAT + DCUtR + Circuit Relay v2) |
| Security | E2E NaCl box encryption (X25519 + XSalsa20-Poly1305), W3C DID identity (did:key, did:web, did:dns), skill-based ACL, per-peer rate limiting |
| A2A Protocol | Task state machine, 3 addressing modes (direct / anycast / HTTP bridge), streaming artifacts, offline message queue |
| Interop | HTTP Bridge (P2P β HTTP A2A), ANP Bridge (Agent Network Protocol), MCP Server (stdio + Streamable HTTP) |
| Enterprise | Audit logging (JSON Lines), Prometheus metrics, OpenTelemetry tracing (W3C Trace Context, OTLP) |
| AI Tools | MCP Server for 13+ AI platforms, MCP Remote Proxy to wrap any MCP Server as a P2P agent |
Priority: CLI flags > environment variables > config file > defaults
| Flag | Description |
|---|---|
-key | Path to identity key file |
-grpc-listen | gRPC listen address (unix:// or tcp://) |
-log-level | Log level (debug, info, warn, error) |
-bootstrap-peers | Comma-separated bootstrap multiaddrs |
-bridge-listen | HTTP bridge listen address (e.g., :8080) |
-enable-webtransport | Enable WebTransport (QUIC-based, browser-compatible) |
-mcp | Run as MCP server over stdio |
-mcp-listen | MCP Streamable HTTP listen address (e.g., :3000) |
-mcp-proxy | Wrap an MCP Server command as a P2P-accessible agent |
-anp-listen | ANP bridge listen address (e.g., :8090) |
-nats-broker | NATS broker URL (e.g., nats://broker.example.com:4222) |
-otlp-endpoint | OTLP collector endpoint for distributed tracing |
-metrics-listen | Prometheus metrics listen address (e.g., :9090) |
-config | Path to TOML config file |
-version | Print version and exit |
| Variable | Default |
|---|---|
AGENTANYCAST_KEY_PATH | ~/.agentanycast/key |
AGENTANYCAST_GRPC_LISTEN | unix://~/.agentanycast/daemon.sock |
AGENTANYCAST_LOG_LEVEL | info |
AGENTANYCAST_STORE_PATH | ~/.agentanycast/data |
AGENTANYCAST_BOOTSTRAP_PEERS | (none) |
AGENTANYCAST_ENABLE_MDNS | true |
AGENTANYCAST_REGISTRY_ADDRS | (none) |
AGENTANYCAST_MCP_LISTEN | (none) |
Default location: ~/.agentanycast/config.toml
| Package | Responsibility |
|---|---|
internal/a2a/ | A2A protocol engine -- task state machine, envelope routing, offline queue, streaming |
internal/node/ | libp2p host -- peer connections, mDNS, DHT, TCP/QUIC/WebTransport |
internal/crypto/ | Ed25519 keys, DID conversion (did:key, did:web, did:dns), Verifiable Credentials |
internal/nat/ | AutoNAT, DCUtR hole punching, Circuit Relay v2 client |
internal/store/ | BoltDB persistence -- tasks, agent cards, offline queue |
internal/config/ | TOML config, environment variables, CLI flags |
internal/envelope/ | Protocol-neutral message routing, E2E NaCl box encryption |
internal/transport/ | Pluggable transport adapters -- libp2p, NATS, HTTP bridge |
internal/bridge/ | HTTP Bridge -- translates HTTP JSON-RPC β P2P A2A envelopes |
internal/anycast/ | Anycast router -- skill-based addressing, multi-registry federation, DHT discovery |
internal/mcp/ | MCP Server -- P2P capabilities as MCP tools (stdio + Streamable HTTP) |
internal/mcpproxy/ | MCP Remote Proxy -- wraps external MCP commands as P2P agents |
internal/anp/ | ANP Bridge -- translates ANP HTTP β A2A P2P (JSON-RPC 2.0 + JSON-LD) |
internal/policy/ | Enterprise policy -- skill-based ACL, per-peer rate limiting, audit logging |
internal/metrics/ | Prometheus metrics -- connections, tasks, routing, bridge, streaming, MCP |
internal/otel/ | OpenTelemetry -- distributed tracing, W3C Trace Context, OTLP exporter |
pkg/grpcserver/ | gRPC server -- 16 RPC methods for SDKs |
| Group | Methods |
|---|---|
| Node | GetNodeInfo, SetAgentCard |
| Peers | ConnectPeer, ListPeers, GetPeerCard |
| Task Client | SendTask (peer_id / skill_id / url), GetTask, CancelTask, SubscribeTaskUpdates |
| Task Server | SubscribeIncomingTasks, UpdateTaskStatus, CompleteTask, FailTask |
| Streaming | SubscribeTaskStream, SendStreamingArtifact |
| Discovery | Discover |
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/agentanycast)<a href="https://allmcps.com/mcp/agentanycast"><img src="https://allmcps.com/api/badge/agentanycast?style=directory" alt="AgentAnycast on AllMCPs" /></a>