--- url: "https://platform.claude.com/docs/en/api/beta/tunnels" titulek: "Tunnels - Claude API Reference" h1: "Tunnels" popis: "API reference for Tunnels endpoints" jazyk: "en" kanonicka: "https://platform.claude.com/docs/en/api/beta/tunnels" drobecky: [] zdroj: "live" wayback_snapshot: "" stazeno: "2026-09-15 03:19:57" znaku: 4719 slov: 577 kodovani: "iso-8859-2" sha256: "552e0631c1b10890c65dd541d2d572c89338eac3cf6b757522af4b705977d1f6" --- # Tunnels ##### [Create Tunnel](/docs/en/api/http/beta/tunnels/create) POST /v1/tunnels The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Get Tunnel](/docs/en/api/http/beta/tunnels/retrieve) GET /v1/tunnels/{tunnel_id} The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [List Tunnels](/docs/en/api/http/beta/tunnels/list) GET /v1/tunnels The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Archive Tunnel](/docs/en/api/http/beta/tunnels/archive) POST /v1/tunnels/{tunnel_id}/archive The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Reveal Tunnel Token](/docs/en/api/http/beta/tunnels/reveal_token) POST /v1/tunnels/{tunnel_id}/reveal_token The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Rotate Tunnel Token](/docs/en/api/http/beta/tunnels/rotate_token) POST /v1/tunnels/{tunnel_id}/rotate_token The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### Models BetaTunnel object{ type, id, archived_at, 3 more }An MCP tunnel.type: "tunnel"id: stringUnique identifier for the tunnel, prefixed with `tnl_`.archived_at: string or nullA timestamp in RFC 3339 formatformatdate-timecreated_at: stringA timestamp in RFC 3339 formatformatdate-timedisplay_name: string or nullHuman-readable name for the tunnel (1-255 characters). Null if unset.domain: stringAnthropic-assigned hostname for the tunnel. MCP server URLs whose host is a subdomain of this value are routed through the tunnel. Globally unique and never reused, even after the tunnel is archived. BetaTunnelToken object{ type, id, tunnel_token }A tunnel's connector token.type: "tunnel_token"id: stringStable identifier for the current token value. Changes when the token is rotated.tunnel_token: stringThe connector token used to run the tunnel. Treat as a credential. #### Tunnels[Certificates](/docs/en/api/http/beta/tunnels/certificates) ##### [Create Tunnel Certificate](/docs/en/api/http/beta/tunnels/certificates/create) POST /v1/tunnels/{tunnel_id}/certificates The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Get Tunnel Certificate](/docs/en/api/http/beta/tunnels/certificates/retrieve) GET /v1/tunnels/{tunnel_id}/certificates/{certificate_id} The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [List Tunnel Certificates](/docs/en/api/http/beta/tunnels/certificates/list) GET /v1/tunnels/{tunnel_id}/certificates The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window. ##### [Archive Tunnel Certificate](/docs/en/api/http/beta/tunnels/certificates/archive) POST /v1/tunnels/{tunnel_id}/certificates/{certificate_id}/archive The Tunnels API is in research preview. It requires the `anthropic-beta: mcp-tunnels-2026-06-22` header and may change without a deprecation period. It supersedes the Admin API endpoints at `/v1/organizations/tunnels`, which remain available during a migration window.