Update an MCP server
Turns a personal MCP server or built-in on or off for the whole workspace, replaces an OpenAPI server’s document and operations, or replaces the OAuth scopes of a server on a shared OAuth connection. Turning a server on or off requires workspaces:integrations:manage or workspaces:manage. An OpenAPI update requires mcp-servers:update on a workspace server, plus workspaces:credentials:manage when it moves the base URL of a server with a stored credential, or mcp-servers:create-personal or mcp-servers:create on your own personal server. Send enabled alone, or the OpenAPI fields alone. Changing OAuth scopes requires the same permissions as turning a server on or off, and only a personal server’s owner can change its scopes. Calls to a server that is off are rejected. A built-in’s switch is the same one Fleet uses. Workspace MCP servers can’t be turned off yet. An OpenAPI update keeps each tool’s name for the same operationId. It is refused with 409 openapi_operation_changed when an operation moves to a new method, path, or base URL, unless confirm_changes is true, and with 409 openapi_tool_in_use when it removes a tool a tool kit uses; the kits field names the kits you can see. Without openapi or openapi_url, the document is fetched again from its stored URL.
Authorizations
Body
Changes to a registered MCP server.
Response
OK
An MCP server or built-in integration available to the workspace.

