mcpServers

Create MCP Server

Creates a new MCP server configuration for the authenticated user. Supports OAuth, bearer token, custom headers, and unauthenticated servers.

post/mcp-servers

Request body

namestring required

The display name of the MCP server.

urlstring uri required

The URL of the MCP server. Must be HTTPS in production.

descriptionstring

An optional description of the MCP server.

enabledboolean

Whether the MCP server is enabled. Defaults to true.

scope'user' | 'team'

The scope of the MCP server. Defaults to user.

Response

Success

object'mcp_server' required

The object type.

idstring required

The unique identifier for the MCP server.

namestring required

The display name of the MCP server.

urlstring uri required

The URL of the MCP server.

descriptionstring

An optional description of the MCP server.

enabledboolean required

Whether the MCP server is enabled for use in chats.

scope'user' | 'team' required

The scope of the MCP server (user or team).

createdAtstring date-time required

The ISO timestamp when the MCP server was created.

updatedAtstring date-time

The ISO timestamp when the MCP server was last updated.

Changes