Site MCP servers

Configure external MCP servers used by your site.

Manage Model Context Protocol (Mcp) servers used by your site.

The SiteMcpServer object

Attributes
objectstring · enumRequiredPossible values:
idstringRequired

Unique identifier for the MCP server

namestring · min: 1 · max: 100Required

Name of the MCP server

urlstring · uri · max: 2048Required
conditionstring · max: 1024Optional

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

The SiteMcpServer object

List all MCP servers for a site

get
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

Query parameters
pagestringOptional

Identifier of the page results to fetch.

limitnumber · max: 1000Optional

The number of results per page

Responses
get
/orgs/{organizationId}/sites/{siteId}/mcp-servers
200

OK

Create a new MCP server

post
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

Body
namestring · min: 1 · max: 100Required

Name of the MCP server

urlstring · uri · max: 2048Required
conditionone ofOptional

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

string · max: 1024Optional

Expression to evaluate

or
nullOptional
Responses
post
/orgs/{organizationId}/sites/{siteId}/mcp-servers
201

MCP server created

Get a site MCP server

get
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

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

OK

Delete a site MCP server

delete
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

Responses
chevron-right
204

MCP server did not exist

No content

delete
/orgs/{organizationId}/sites/{siteId}/mcp-servers/{siteMcpServerId}

No content

Update a site MCP server

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
conditionone ofOptional

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.

string · max: 1024Optional

Expression to evaluate

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

OK

Last updated

Was this helpful?