Create Tunnel
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.
Creates a tunnel. Creation allocates a fresh hostname and provisions the tunnel; it is not idempotent. The new tunnel rejects MCP traffic until at least one CA certificate is added.
Headers
Request body
Response
Successful response (OK)
Changes
Changed in 3 of the 68 revisions of this API.27
- ▲
the request property
became not nullablerequest-property-became-not-nullable
- ▲
response property
display_namelist-of-types was widened by adding typesnullto media typeapplication/jsonof response200response-property-list-of-types-widened
- ○
request property
list-of-types was widened by adding typesnullto media typeapplication/jsonrequest-property-list-of-types-widened
- ○
the
request property's minLength was decreased from1to0request-property-min-length-decreased
- ○
removed from the
response propertyallOflist for the response statusresponse-property-all-of-removed
- ○
added
subschema #2to theresponse propertyanyOflist for the response statusresponse-property-any-of-added
- ▲
- ○
the
response property const valuetunnelwas added for the statusresponse-property-const-added
- ○
removed the
tunnelenum value from theresponse property for the response statusresponse-property-enum-value-removed
- ○
- ○
endpoint added
endpoint-added
- ○