Claude Platform Docs

MCP Tunnels

Get Tunnel
Deprecated
GET/v1/organizations/tunnels/{tunnel_id}
List Tunnels
Deprecated
GET/v1/organizations/tunnels
Reveal Tunnel Token
Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/reveal_token
Rotate Tunnel Token
Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/rotate_token
Archive Tunnel
Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/archive
Models
MCPTunnelRetrieveResponse object{ id, archived_at, created_at, 4 more }
id: string

ID of the Tunnel.

archived_at: string or null

RFC 3339 datetime string indicating when the Tunnel was archived, or null if it is not archived.

formatdate-time
created_at: string

RFC 3339 datetime string indicating when the Tunnel was created.

formatdate-time
display_name: string or null

Human-readable name for the Tunnel (1–255 characters), or null if unset.

domain: string

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

type: "tunnel"

Object type. Always tunnel for Tunnels.

defaulttunnel
workspace_id: string or null

ID of the Workspace this Tunnel belongs to, or null for the default Workspace. Immutable after creation.

MCPTunnelListResponse object{ id, archived_at, created_at, 4 more }
id: string

ID of the Tunnel.

archived_at: string or null

RFC 3339 datetime string indicating when the Tunnel was archived, or null if it is not archived.

formatdate-time
created_at: string

RFC 3339 datetime string indicating when the Tunnel was created.

formatdate-time
display_name: string or null

Human-readable name for the Tunnel (1–255 characters), or null if unset.

domain: string

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

type: "tunnel"

Object type. Always tunnel for Tunnels.

defaulttunnel
workspace_id: string or null

ID of the Workspace this Tunnel belongs to, or null for the default Workspace. Immutable after creation.

MCPTunnelRevealTokenResponse object{ id, tunnel_token, type }
id: string

Stable identifier for the current token value. Changes when the token is rotated.

tunnel_token: string

The tunnel's connection token.

type: "tunnel_token"

Object type. Always tunnel_token for Tunnel Tokens.

defaulttunnel_token
MCPTunnelRotateTokenResponse object{ id, tunnel_token, type }
id: string

Stable identifier for the current token value. Changes when the token is rotated.

tunnel_token: string

The tunnel's connection token.

type: "tunnel_token"

Object type. Always tunnel_token for Tunnel Tokens.

defaulttunnel_token
MCPTunnelArchiveResponse object{ id, archived_at, created_at, 4 more }
id: string

ID of the Tunnel.

archived_at: string or null

RFC 3339 datetime string indicating when the Tunnel was archived, or null if it is not archived.

formatdate-time
created_at: string

RFC 3339 datetime string indicating when the Tunnel was created.

formatdate-time
display_name: string or null

Human-readable name for the Tunnel (1–255 characters), or null if unset.

domain: string

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

type: "tunnel"

Object type. Always tunnel for Tunnels.

defaulttunnel
workspace_id: string or null

ID of the Workspace this Tunnel belongs to, or null for the default Workspace. Immutable after creation.

Create Tunnel Certificate
Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/certificates
Get Tunnel Certificate
Deprecated
GET/v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}
List Tunnel Certificates
Deprecated
GET/v1/organizations/tunnels/{tunnel_id}/certificates
Archive Tunnel Certificate
Deprecated
POST/v1/organizations/tunnels/{tunnel_id}/certificates/{certificate_id}/archive