Spec Driven Development
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
作者提供的说明(英文原文)
P2P runtime for A2A protocol. Encrypted agent communication with zero-config NAT traversal.
这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。
我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。
选择你使用的 AI 应用,然后复制设置。
你需要
你用的是哪个应用?
在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。
打开 Claude Desktop → Settings → Developer → Edit Config,把下面的内容粘贴到 claude_desktop_config.json
{
"mcpServers": {
"agentanycast": {
"command": "npx",
"args": [
"-y",
"agentanycast"
]
}
}
}在终端中运行这条命令
claude mcp add agentanycast -- npx -y agentanycast粘贴到项目中的 .cursor/mcp.json,或 ~/.cursor/mcp.json
{
"mcpServers": {
"agentanycast": {
"command": "npx",
"args": [
"-y",
"agentanycast"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
粘贴到项目中的 .vscode/mcp.json
{
"servers": {
"agentanycast": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"agentanycast"
]
}
}
}浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。
这个服务器在你的电脑上运行,而 ChatGPT 只能连接互联网上的服务器。请选择其他应用。
你的选择通过 Cookie 保存在这台设备上,无需账户。
这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。
它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。
我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月6日
注册名称已通过 GitHub 账户 AgentAnycast 验证,该账户拥有此仓库
我们还没有从 GitHub 读取这个仓库
我们还没有从 GitHub 读取这个仓库
它在你的电脑上运行,没有互联网端点
在你的电脑上运行,改用本地设置
它在你的电脑上运行;我们只能读取互联网端点的工具列表
与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。
它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。
注册中心没有列出必需的密钥,不过有些服务器会在首次使用时要求你登录。
它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。
GitHub 仓库最后更新于–,最新版本(0.3.2)于8个月前进入注册中心。
支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。
同一分类中有:Spec Driven Development, Remote Desktop Commander, Safe Fetch
同一分类中其他作者的服务器,按星标数排序。
如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i
MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.
Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.
MCP server for fetching URLs, safe against SSRF, DNS rebinding, and redirect-to-internal attacks.
按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。
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 |
go build -o agentanycastd ./cmd/agentanycastd
./agentanycastd
pip install agentanycast
from agentanycast import Node
async with Node(skills=["translate"]) as node:
result = await node.send_task("summarize", "Hello world")
# stdio mode (Claude Desktop, Cursor, VS Code, Gemini CLI)
./agentanycastd -mcp
./agentanycastd -mcp-listen :3000
# On any VPS with a public IP
git clone https://github.com/AgentAnycast/agentanycast-relay && cd agentanycast-relay docker-compose up -d
./agentanycastd -bootstrap-peers "/ip4/ /tcp/4001/p2p/12D3KooW..."
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
key_path = "~/.agentanycast/key"
grpc_listen = "unix://~/.agentanycast/daemon.sock" log_level = "info" log_format = "json" store_path = "~/.agentanycast/data" enable_mdns = true enable_quic = true enable_webtransport = false enable_relay_client = true enable_hole_punching = true offline_queue_ttl = "24h" bootstrap_peers = ["/ip4/203.0.113.50/tcp/4001/p2p/12D3KooW..."]
[bridge] enabled = false listen = ":8080"
[anycast] routing_strategy = "random" cache_ttl = "30s" auto_register = true
enable_dht = false dht_mode = "auto" # "auto", "server", or "client"
[metrics] enabled = false listen = ":9090"
[mcp] enabled = false listen = ":3000"
[anp] enabled = false listen = ":8090"
[transport.nats] enabled = true broker = "nats://broker.example.com:4222" subject_prefix = "agent."
[policy] acl_rules = [ { source = "*", skill = "*", allow = true }, ]
[policy.rate_limits] default_rps = 100
audit_log_path = "/var/log/agentanycast-audit.jsonl"
[otel] enabled = false otlp_endpoint = "localhost:4317"
[identity]
┌──────────────────────────────────────────────────────────────────────┐
│ agentanycastd │ │ │ │ ┌──────────┐ ┌──────────┐ ┌──────────┐ ┌──────────────────┐ │ │ │ Engine │ │ Router │ │ Offline │ │ Anycast Router │ │ │ │(task FSM) │ │(A2A msg) │ │ Queue │ │(skill discovery) │ │ │ └────┬─────┘ └────┬─────┘ └────┬─────┘ └────┬─────────────┘ │ │ │ │ │ │ │ │ ┌────┴──────────────┴─────────────┴──────────────┴──────────────┐ │ │ │ Envelope Layer (E2E NaCl box encryption) │ │ │ ├───────────────────────────────────────────────────────────────┤ │ │ │ Transport Adapters │ │ │ │ libp2p (mDNS · TCP · QUIC · WebTransport · DHT) │ │ │ │ NATS · HTTP Bridge · Circuit Relay v2 · DCUtR │ │ │ └──────────────────────┬───────────────────────────────────────┘ │ │ │ │ │ ┌──────────────────────┴──────────────────────────────────────┐ │ │ │ gRPC Server (16 RPCs for SDKs) │ │ │ └─────────────────────────────────────────────────────────────┘ │ │ │ │ ┌────────────┐ ┌────────────┐ ┌──────────┐ ┌────────┐ ┌──────────┐ │ │ │ HTTP Bridge│ │ MCP Server │ │ANP Bridge│ │ OTel │ │MCP Proxy │ │ │ │ (A2A↔P2P) │ │(stdio/HTTP)│ │(ANP↔A2A) │ │(trace) │ │(wrap cmd)│ │ │ └────────────┘ └────────────┘ └──────────┘ └────────┘ └──────────┘ │ │ │ │ ┌────────┐ ┌──────┐ ┌─────────┐ ┌──────────────────┐ │ │ │Metrics │ │BoltDB│ │ ACL / │ │ Audit Logger │ │ │ │(Prom.) │ │(stor)│ │RateLimit│ │ (JSON Lines) │ │ │ └────────┘ └──────┘ └─────────┘ └──────────────────┘ │ └──────────────────────────────────────────────────────────────────────┘
| 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 |
The daemon can run as an MCP (Model Context Protocol) server, exposing P2P capabilities as tools for AI assistants.
| Tool | Description |
|---|---|
toolGetNodeInfo | Get local node information |
toolListConnectedPeers | List connected peers |
toolGetAgentCard | Get local or remote agent card |
toolDiscoverAgents | Discover agents by skill |
toolSendTask | Send task to peer by ID |
toolSendTaskBySkill | Send task by skill (anycast) |
toolGetTaskStatus | Get task status |
Transport modes:
Wrap any MCP Server as a P2P-accessible agent with a single flag:
./agentanycastd --mcp-proxy "npx -y @modelcontextprotocol/server-filesystem /home/user"
The proxy auto-generates an Agent Card from the MCP server's tool list, registers skills with the relay, and bridges incoming A2A tasks to MCP tool calls.
Exposes an A2A-compatible HTTP endpoint for P2P ↔ HTTP interop:
GET /.well-known/a2a-agent-card -- Agent Card discoveryPOST / -- JSON-RPC endpoint for task operationsExposes an ANP-compatible HTTP endpoint for Agent Network Protocol interop:
GET /agent/ad.json -- Agent Description (JSON-LD)GET /agent/interface.json -- OpenRPC specificationPOST /agent/rpc -- JSON-RPC 2.0 endpointAvailable on a configurable HTTP port (default :9090):
| Metric | Type | Description |
|---|---|---|
agentanycast_connected_peers | Gauge | Current peer count |
agentanycast_connections_total | Counter | Connection events by direction |
agentanycast_connections_by_transport | Counter | Connections by transport (tcp/quic/webtransport) |
agentanycast_tasks_total | Counter | Tasks by direction and status |
agentanycast_task_duration_seconds | Histogram | Task latency |
agentanycast_route_resolutions_total | Counter |
只显示了开头部分;其余内容请在仓库中阅读