For the complete documentation index, see llms.txt. This page is also available as Markdown.

Update an MCP server configuration for a site

Modifies an existing MCP server's configuration. Only provided fields are updated; omitting a field leaves it unchanged. Set condition to null to remove it and make the MCP server available to all visitors.

Available in MCP
patch
Authorizations
AuthorizationstringRequired
Bearer authentication header of the form Bearer <token>.
Path parameters
organizationIdstringRequired

A unique entity identifier

Pattern: ^[a-zA-Z0-9_-]+$
siteIdstringRequired

The unique id of the site

siteMcpServerIdstringRequired

The unique id of the MCP server

Body
namestring · min: 1 · max: 100Optional

Name of the MCP server

urlstring · uri · max: 2048Optional
transportstring · enumOptional

Transport protocol used to connect to the MCP server

Default: ssePossible values:
conditionstring · max: 1024 · nullableOptional

Conditional expression used to evaluate whether the MCP server should be available to the site's visitor (should evaluate to a boolean). If not set, the condition will remain unchanged. If set to null, the condition will be removed.

Responses
200

OK

application/json
objectstring · enumRequiredPossible values:
idstringRequired

Unique identifier for the MCP server

namestring · min: 1 · max: 100Required

Name of the MCP server

urlstring · uri · max: 2048Required
transportstring · enumRequired

Transport protocol used to connect to the MCP server

Default: ssePossible values:
conditionstring · max: 1024Optional

Conditional expression used to evaluate whether the MCP server should be available to the site's visitor.

patch/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}
200

OK

Last updated

Was this helpful?

Powered by GitBook