Skip to main content
POST

Request Body

string
required
Project ID to associate the server with
string
required
Server name (minimum 1 character)
string
required
Transport protocol type. Must be one of: stdio, http, or sse
string
Server description
string
Server URL for HTTP/SSE transport
string
default:"proxy"
Connection type: direct or proxy
string
Command to execute for stdio transport
string
Command arguments
object
Environment variables as key-value pairs
array
Custom HTTP headers
string
OAuth client ID
string
OAuth client secret
string
OAuth scope
string
Proxy server URL
string
Proxy authentication token
string
default:"Authorization"
Proxy authentication header name
number
Request timeout in milliseconds
number
Maximum total timeout in milliseconds

Response

boolean
Whether the server was created successfully
string
Success message or error details
string
Unique identifier for the created server