Pular para o conteúdo principal
PATCH
Core - Update an MCP server
Guia relacionado: guia de Gateways MCP. Consulte o guia de Gateways MCP para um passo a passo com exemplos.

Autorizações

Authorization
string
header
obrigatório

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Parâmetros de caminho

id
string
obrigatório

Unique identifier of the MCP server.

Corpo

application/json
key
string

Rejected with INVALID_ARGUMENT: the key prefixes this server's tools in every gateway that exposes it, so it is immutable after creation. Retained so callers get an error rather than a silently ignored field.

display_name
string

Human readable name shown in the workspace.

description
string

Free-form note about what this server is for.

connection
object

How the gateway dials the upstream server.

auth
object

Credentials the gateway sends upstream; send type: NONE explicitly for public servers.

default_tool_exposure
object

Fallback exposure used by any gateway link that does not set its own.

sharing
object

Which projects in the workspace may use this server. Defaults to every project.

openapi
object

Recompiles the tools of an OpenAPI server; without document the stored document_url is fetched again.

Resposta

OK

mcp_server
object