MCP.so
登录

Nchan MCP Transport

@ConechoAI

基本信息

分类

其他

许可证

MIT

传输方式

stdio

作者

ConechoAI

关于 Nchan MCP Transport

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.

#actions#gpts#gpts-actions#mcp-transport#nchan-websocket#sse-for-anthropic#mcp-jsonrpc-gateway#claude-plugin-backend#streamable-http#real-time-ai-api-gateway#fastapi-websocket-mcp#mcp-pubsub#mcp-openapi-bridge

Nchan MCP Transport 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "nchan-mcp-transport": {
      "command": "python",
      "args": [
        "-m",
        "httmcp",
        "-f",
        "gpt_actions_openapi.json",
        "-p",
        "http://nchan:80"
      ]
    }
  }
}

Nchan MCP Transport 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is 🚀 Nchan MCP Transport?

It is a high-performance WebSocket/SSE transport layer and gateway for Anthropic’s MCP (Model Context Protocol), powered by Nginx, Nchan, and FastAPI. It is designed for building real-time, scalable AI integrations with Claude and other LLM agents.

How to use 🚀 Nchan MCP Transport?

Install the server SDK with pip install httmcp, then clone the repository and run docker-compose up -d. Define tools using Python decorators (@server.tool()), optionally expose OpenAPI services with OpenAPIMCP.from_openapi(), or use the CLI for one‑click GPTs Actions to MCP deployment.

Key features of 🚀 Nchan MCP Transport

  • Dual protocol support: WebSocket and SSE with automatic detection
  • High performance pub/sub built on Nginx + Nchan
  • Fully MCP‑compliant transport (JSON‑RPC 2.0)
  • Auto‑generate MCP tools from any OpenAPI spec
  • Use Python decorators to register tools and resources
  • Background task queue with live progress updates via push
  • Dockerized deployment ready

Use cases of 🚀 Nchan MCP Transport

  • Claude plugin server over WebSocket/SSE
  • Real‑time LLM agent backend (LangChain/AutoGen style)
  • Connect Claude to internal APIs via OpenAPI
  • High‑performance tool/service bridge for MCP

常见问题

1

How is this better than native MCP?

Native MCP (HTTP+SSE) struggles with long tasks, network instability, and high concurrency; WebSockets aren’t natively supported by Claude. This project bridges that gap with Nginx/Nchan‑level scalability and real‑time event delivery.

2

How do I define a tool?

Use the Python decorator `@server.tool()` on an async function. Example: `async def search_docs(query: str) -> str: return f"Searching for {query}..."`.

3

Can I connect existing APIs to Claude?

Yes – use `OpenAPIMCP.from_openapi()` to expose any OpenAPI spec as MCP tools, or use the CLI for one‑click deployment from GPTs Actions OpenAPI specs.

4

What are the runtime requirements?

Python 3.9+, Nginx with the Nchan module (pre‑installed in the Docker image), and Docker / Docker Compose.

5

Does Claude support WebSocket natively?

No, Claude does not natively support WebSocket. This project provides a bridge that allows WebSocket‑based communication with Claude clients.

评论

其他 分类下的更多 MCP 服务器