Skip to content

Update MCP server ​


Updates the configuration of a specific MCP server.

Endpoint ​

http
PATCH /integrated-account/{integrated_account_id}/mcp/{id}

Path parameters ​

integrated_account_id
string · uuid
REQUIRED · 

The ID of the integrated account.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795
id
string · uuid
REQUIRED · 

The ID of the MCP server to update.

Example: 2ba1f401-7183-47c5-9e39-e8e257e3c796

Request Body ​

name
string

The new name for the MCP server.

Example: Updated MCP server
config
object

Updated configuration settings for the MCP server

methods
string[]

The methods allowed for this server.

Example: [ "GET", "POST", "READ", "DOWNLAOD" ]
tags
string[]

The tags associated with this server.

Example: [ "api", "webhook", "custom" ]

Response Body ​

id
string · uuid

Unique identifier for the MCP server.

Example: 2ba1f401-7183-47c5-9e39-e8e257e3c796
name
string

Human-readable name for the MCP server.

Example: Read-only HubSpot
integrated_account_id
string · uuid

The integrated account this MCP server is bound to.

Example: 1ba1f401-7183-47c5-9e39-e8e257e3c795
config
object

Optional scoping for the MCP server. When omitted, all available tools for the integrated account are exposed.

methods
string[]

Restrict the MCP server to these Truto method names. Combined with tags using AND semantics.

Example: [ "list", "get" ]
tags
string[]

Restrict the MCP server to tools whose resources carry these tags.

Example: [ "contacts", "companies" ]
expires_at
string · date-time

Optional expiry timestamp. When set, the MCP server's token is invalidated after this time.

Example: 2025-12-31T23:59:59.000Z
created_by
string · uuid

ID of the user who created the MCP server.

Example: 0c1a2b3c-4d5e-6f70-8192-a3b4c5d6e7f8
created_at
string · date-time

Time at which the MCP server was created.

Example: 2024-01-10T10:00:00.000Z
updated_at
string · date-time

Time at which the MCP server was last updated.

Example: 2024-01-11T12:30:00.000Z