Claude Platform Docs

터널 생성

$ ant beta:tunnels create
POST/v1/tunnels

Tunnels API는 리서치 프리뷰 단계입니다. anthropic-beta: mcp-tunnels-2026-06-22 헤더가 필요하며, 지원 중단 기간 없이 변경될 수 있습니다. 이 API는 /v1/organizations/tunnels의 Admin API 엔드포인트를 대체하며, 해당 엔드포인트는 마이그레이션 기간 동안 계속 사용할 수 있습니다.

터널을 생성합니다. 생성 시 새로운 호스트 이름이 할당되고 터널이 프로비저닝되며, 이 작업은 멱등(idempotent)하지 않습니다. 새 터널은 CA 인증서가 하나 이상 추가될 때까지 MCP 트래픽을 거부합니다.

Parameters
--display-name: optional string

Body param: Optional human-readable name for the tunnel (1-255 characters).

minLength1
maxLength255
--beta: optional array of AnthropicBeta

Header param: Optional header to specify the beta version(s) you want to use.

Returns
beta_tunnel: object{ id, archived_at, created_at, 3 more }

An MCP tunnel.

id: string

Unique identifier for the tunnel, prefixed with tnl_.

archived_at: string

A timestamp in RFC 3339 format

formatdate-time
created_at: string

A timestamp in RFC 3339 format

formatdate-time
display_name: string

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"
터널 생성
ant beta:tunnels create \
  --api-key my-anthropic-api-key
Returns Examples
Response 200
{
  "id": "id",
  "archived_at": "2019-12-27T18:11:19.117Z",
  "created_at": "2019-12-27T18:11:19.117Z",
  "display_name": "display_name",
  "domain": "domain",
  "type": "tunnel"
}