
openai/tunnel-client
Developer toolsЭта страница переведена автоматически. Технические детали смотрите в оригинале. Открыть оригинал
openai/tunnel-client — это кандидат-сервер MCP, импортированный из https://github.com/openai/tunnel-client.
Обзор
openai/tunnel-client — это кандидат-сервер MCP, импортированный из https://github.com/openai/tunnel-client.
Обзор (машинный перевод)
tunnel-client — это агент, управляемый клиентом, стоящий за Secure MCP Tunnel. Он соединяет
приватный или локальный сервер MCP (Model Context Protocol) для ChatGPT, Codex,
API Responses и AgentKit через конечную точку туннеля MCP на базе OpenAI,
при этом MCP-сервер не доступен к публичному интернету.
Этот CLI и его Go SDK работают рядом с вашим приватным MCP-сервером. Приложения вызывают конечную точку [[T1], размещённую на OpenAI, через свою MCP-транспорт; время выполнения принимает эти запросы и доставляет ответы. Конечные точки опроса/ответа — это протокол очереди для клиента в процессе выполнения реализаторов. См. архитектуру потока запросов и протокол при создании совместимого времени выполнения.
Используйте его, когда:
- У вас есть MCP-сервер на ноутбуке, виртуальной машине, кластере Kubernetes или приватном устройстве и для этого нужен продукт, размещённый на OpenAI.
- Безопасность не одобрит новое правило входящего межсетевого экрана или публичную конечную точку для сервер MCP.
- Вам нужен видимый оператор демон с
/healthz,/readyz,/metrics, и/uiперед коннектором или вызовом API зависит от этого.
Если вы искали «secure MCP tunnel», «MCP tunnel ChatGPT», «connect local»
Эта страница переведена автоматически. Технические детали смотрите в оригинале.
README
Показан фрагмент оригинального README. Открыть оригинал.
Secure MCP Tunnel client
tunnel-client is the customer-run agent behind Secure MCP Tunnel. It connects
a private or localhost MCP (Model Context Protocol) server to ChatGPT, Codex,
the Responses API, and AgentKit through an OpenAI-hosted MCP tunnel endpoint,
while keeping the MCP server off the public internet.
This CLI and its Go SDK run beside your private MCP server.
Applications call the OpenAI-hosted /v1/mcp/{tunnel_id} endpoint through their
MCP transport; the runtime receives those requests and delivers responses.
The poll/response endpoints are the runtime’s queue protocol for client
implementers. See the architecture for the request flow
and the protocol when building a compatible runtime.
Use it when:
- You have an MCP server on a laptop, VM, Kubernetes cluster, or private network and need an OpenAI-hosted product to reach it.
- Security will not approve a new inbound firewall rule or public endpoint for the MCP server.
- You want an operator-visible daemon with
/healthz,/readyz,/metrics, and/uibefore a connector or API call depends on it.
If you searched for “secure MCP tunnel”, “MCP tunnel ChatGPT”, “connect local
MCP server to ChatGPT”, “connect local MCP server to Codex”, “localhost to
ChatGPT”, or “Codex local MCP”, start with tunnel-client help quickstart,
then read the onboarding guide below.
Start Here
- Need the shortest working path from localhost or a private MCP server to
ChatGPT or Codex? Start with
docs/onboarding.md. - Need the customer-shareable network and trust-boundary story? Read
docs/architecture.md. - Need roles, groups, tunnel IDs, or API keys? Read
docs/permissions.md. - Need Docker, Kubernetes, or VM deployment guidance? Read
docs/deployment/overview.md. - Need to debug readiness, connector discovery, or OAuth? Read
docs/troubleshooting.md. - Building a compatible client in another language? Read
docs/protocol.mdand usedocs/openapi.json. Optional client features use the commonX-Tunnel-Client-Capabilitiesheader. - Upgrading for server-directed polling placement? Read the routing correction and activation notes. Supporting clients work with existing services immediately; corrections are enabled separately after client release. No configuration change is needed.
- Using MCP timing or distributed tracing? Read the
timing release and rollback guidance.
Trace forwarding is disabled by default; opt in with
--mcp.forward-trace-contextto carry W3C trace context in MCPparams._metaover stdio and Streamable HTTP.
Установка
This server does not publish a one-line install command.
Open the repository installation guide Новичок в MCP? Начните с руководства на mcpskill.org →