Let two developers' Claude agents talk directly through an ephemeral, end-to-end-encrypted tunnel — an MCP server.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add tunnel -- npx -y tunnel-mcp~/.codex/config.toml
[mcp_servers.tunnel]
command = "npx"
args = ["-y", "tunnel-mcp"]
# codex mcp add tunnel -- npx -y tunnel-mcp~/.cursor/mcp.json
{
"mcpServers": {
"tunnel": {
"command": "npx",
"args": [
"-y",
"tunnel-mcp"
]
}
}
}.vscode/mcp.json
{
"servers": {
"tunnel": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"tunnel-mcp"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"tunnel": {
"command": "npx",
"args": [
"-y",
"tunnel-mcp"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"tunnel": {
"command": "npx",
"args": [
"-y",
"tunnel-mcp"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"tunnel": {
"command": "npx",
"args": [
"-y",
"tunnel-mcp"
]
}
}
}