Claude Platform Docs

터널

터널 생성
POST/v1/tunnels
터널 조회
GET/v1/tunnels/{tunnel_id}
터널 목록 조회
GET/v1/tunnels
터널 보관
POST/v1/tunnels/{tunnel_id}/archive
터널 토큰 공개
POST/v1/tunnels/{tunnel_id}/reveal_token
터널 토큰 교체
POST/v1/tunnels/{tunnel_id}/rotate_token
Models
BetaTunnel object{ id, archived_at, created_at, 3 more }

An MCP tunnel.

id: string

Unique identifier for the tunnel, prefixed with tnl_.

archived_at: string or null

A timestamp in RFC 3339 format

formatdate-time
created_at: string

A timestamp in RFC 3339 format

formatdate-time
display_name: string or null

Human-readable name for the tunnel (1-255 characters). 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"
BetaTunnelToken object{ id, tunnel_token, type }

A tunnel's connector token.

id: string

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

tunnel_token: string

The connector token used to run the tunnel. Treat as a credential.

type: "tunnel_token"

터널인증서

터널 인증서 생성
POST/v1/tunnels/{tunnel_id}/certificates
터널 인증서 조회
GET/v1/tunnels/{tunnel_id}/certificates/{certificate_id}
터널 인증서 목록 조회
GET/v1/tunnels/{tunnel_id}/certificates
터널 인증서 보관
POST/v1/tunnels/{tunnel_id}/certificates/{certificate_id}/archive