Skip to main content
POST
Connect Mcp Server

Authorizations

x-api-key
string
header
required

Path Parameters

agent_id
string
required
server_id
string<uuid>
required

Response

Successful Response

Response model for MCP server connection with smart authentication detection.

status
string
default:success

Status of the connection attempt

message
string
default:Connection successful

Human-readable message about the connection

authorization_url
string | null

The authorization URL to redirect the user to (for OAuth servers)