Skip to main content
PATCH
Update an MCP server

Authorizations

Authorization
string
header
required

Telnyx API key

Path Parameters

instance_id
string<uuid>
required

The Agent Gateway's id.

server_id
string<uuid>
required

The MCP server's id.

Body

application/json

The fields to change. A field left out stays as it is.

name
string

A name for the server, unique on the instance across MCP servers and APIs, regardless of case. Letters, digits, _, and .. The gateway prefixes the server's tools with it and a hyphen.

Pattern: ^[A-Za-z0-9_.]{1,100}$
url
string

The server's MCP endpoint, http or https.

transport
enum<string>
default:http

http for Streamable HTTP, or sse for Server-Sent Events.

Available options:
http,
sse
auth
No authentication · object

How the gateway authenticates to the server. Replaced whole on an update; {"type": "none"} removes the credential.

tools
string[]

The tools the server exposes to every key, by name. [] exposes every tool.

static_headers
object

Headers sent on every request.

forwarded_headers
string[]

Headers copied from the agent's request, by name.

Maximum array length: 32
open_to_every_key
boolean
default:false

true lets every key on the instance use the server, granted or not.

Response

The updated MCP server

data
object
required