Skip to main content
POST
TypeScript SDK

Authorizations

Authorization
string
header
required

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

Body

application/json
name
string
required

Display name for the MCP connection.

Required string length: 1 - 200
command
string
required

Executable for the stdio MCP server. This API stores the command but never executes it.

Required string length: 1 - 4096
type
string
required

Use stdio for a command-based MCP server.

Allowed value: "stdio"
args
string[]

Command-line arguments for the stdio server. Stored here, not executed by this API.

Maximum array length: 100
Maximum string length: 8192
env
object

Environment variables for the stdio command. Values are write-only.

visibility
enum<string>
default:shared

shared makes the connection available to the organization; personal restricts it to its owner.

Available options:
shared,
personal

Response

Create an MCP connection

authorizationUrl
string<uri> | null
required
connection
object
required