Skip to content

Create an MCP server

POST
/api/workspaces/{workspaceId}/mcp-servers
workspaceId
required
string
object
name
required
string
>= 1 characters <= 100 characters
description
string
<= 500 characters
connectorType
required
string
>= 1 characters <= 50 characters
url
string format: uri
authType
string
Allowed values: none api_key oauth
writeScope
string
Allowed values: read write_safe write_destructive

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