POST/v1/projects/{projectId}/mcp-server

Update a project's MCP server configuration

Updates the MCP server configuration for a project. Use disabledTools to specify which tools to disable; omit it when you do not need to change that setting.

  • IdempotentThe SDK sends Idempotency-Key, so a retried request is only applied once.

1 parameter · 1 body field
projectIdstringrequired
The project identifier, consisting of exactly 21 alphanumeric characters.

Optional configuration updates for the project's MCP server.

disabledToolsarray<string>optional
Names of MCP tools to disable.

1 status code
200Returns the updated MCP server configuration for the project.

Error handling

The projectId path parameter must contain exactly 21 alphanumeric characters. If supplied, disabledTools must be an array of strings.