Update an MCP server
PATCH/api/v1/chatbots/:chatbotId/mcp-servers/:serverId
Partial update of an MCP server configuration. Supports: enabled toggle, modelOverride, credential update, tool re-discovery, accessKeyAction (generate/clear), executionMode, allowUiResources, allowLlmCompletion. OAuth flows, PostgreSQL scan, and metrics are dashboard-only (deferred). Required scope: mcp:write.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
MCP server updated.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded