The best way to deploy mcp server. A high-performance WebSocket/SSE transport layer & gateway for Anthropic's MCP (Model Context Protocol) — powered by Nginx, Nchan, and FastAPI.
接入配置
选择客户端,复制配置,再按项目文档补齐环境变量。
claude mcp add nchan-transport -- python -m httmcp -f gpt_actions_openapi.json -p http://nchan:80~/.codex/config.toml
[mcp_servers.nchan-transport]
command = "python"
args = ["-m", "httmcp", "-f", "gpt_actions_openapi.json", "-p", "http://nchan:80"]
# codex mcp add nchan-transport -- python -m httmcp -f gpt_actions_openapi.json -p http://nchan:80~/.cursor/mcp.json
{
"mcpServers": {
"nchan-transport": {
"command": "python",
"args": [
"-m",
"httmcp",
"-f",
"gpt_actions_openapi.json",
"-p",
"http://nchan:80"
]
}
}
}.vscode/mcp.json
{
"servers": {
"nchan-transport": {
"type": "stdio",
"command": "python",
"args": [
"-m",
"httmcp",
"-f",
"gpt_actions_openapi.json",
"-p",
"http://nchan:80"
]
}
}
}~/.gemini/settings.json
{
"mcpServers": {
"nchan-transport": {
"command": "python",
"args": [
"-m",
"httmcp",
"-f",
"gpt_actions_openapi.json",
"-p",
"http://nchan:80"
]
}
}
}claude_desktop_config.json
{
"mcpServers": {
"nchan-transport": {
"command": "python",
"args": [
"-m",
"httmcp",
"-f",
"gpt_actions_openapi.json",
"-p",
"http://nchan:80"
]
}
}
}.trae/mcp.json
{
"mcpServers": {
"nchan-transport": {
"command": "python",
"args": [
"-m",
"httmcp",
"-f",
"gpt_actions_openapi.json",
"-p",
"http://nchan:80"
]
}
}
}