Skip to content

Update an MCP server

PATCH
/api/workspaces/{workspaceId}/mcp-servers/{id}
workspaceId
required
string
id
required
string
object
name
string
>= 1 characters <= 100 characters
description
string
<= 500 characters
url
string format: uri
writeScope
string
Allowed values: read write_safe write_destructive
isActive
boolean
toolPolicy
object
defaultRestriction
string
Allowed values: always ask block
restrictions
object
key
additional properties
string
Allowed values: always ask block

Successful response

object
success

Whether the request succeeded.

boolean
data

Endpoint-specific response payload.

message
string
Example
Operation completed
error
string
Example
Error message

Invalid request

object
success
boolean
error
string
Example
Error message

Internal server error

object
success
boolean
error
string
Example
Error message