This implementation follows the official MCP specification, including proper message framing, transport layer implementation, and complete protocol lifecycle management.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add ai-federation-network -- deno run --allow-net --allow-env --allow-read --allow-write --allow-run src/apps/deno/server.ts~/.codex/config.toml
[mcp_servers.ai-federation-network]
command = "deno"
args = ["run", "--allow-net", "--allow-env", "--allow-read", "--allow-write", "--allow-run", "src/apps/deno/server.ts"]
# codex mcp add ai-federation-network -- deno run --allow-net --allow-env --allow-read --allow-write --allow-run src/apps/deno/server.ts~/.cursor/mcp.json
{
"mcpServers": {
"ai-federation-network": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-run",
"src/apps/deno/server.ts"
]
}
}
}.vscode/mcp.json
{
"servers": {
"ai-federation-network": {
"type": "stdio",
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-run",
"src/apps/deno/server.ts"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"ai-federation-network": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-run",
"src/apps/deno/server.ts"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"ai-federation-network": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-run",
"src/apps/deno/server.ts"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"ai-federation-network": {
"command": "deno",
"args": [
"run",
"--allow-net",
"--allow-env",
"--allow-read",
"--allow-write",
"--allow-run",
"src/apps/deno/server.ts"
]
}
}
}