Skip to main content
PUT
Connect an MCP server for the organization

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

mcpServerID
string<uuid>
required

Body

application/json
kind
enum<string>
required
Available options:
http
url
string
required

The server URL the secret is entered for, as the catalog showed it. Refused with mcp_connection_server_changed when the server's URL is now another.

Required string length: 1 - 2048
values
object
required

A value for each of the server's secret_names; empty for a server whose connection_kind is github_user_credential, which uses your GitHub connection (refused with mcp_connection_github_not_connected when you have none).

Response

OK

mcp_server_id
string<uuid>
required
owner
enum<string>
required

creator: the caller's own connection, which a creator credential policy uses for their tasks; org: the organization's.

Available options:
creator,
org
state
enum<string>
required
Available options:
connected
updated_at
string<date-time>
required