MCP.so
ログイン

🚀 Nchan MCP Transport

@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.

基本情報

カテゴリ

その他

ライセンス

MIT

ランタイム

node

トランスポート

stdio

公開者

ConechoAI

設定

以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。

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

ツール

ツールは検出されませんでした

ツールは 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

FAQ from 🚀 Nchan MCP Transport

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.

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}...".

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.

What are the runtime requirements?

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

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.

コメント

「その他」の他のコンテンツ