Skip to main content
POST
Create Mcp Server

Headers

x-api-key
string | null

Your API key for programmatic access. Send it in the x-api-key header; you can create and manage keys from the Developers page.

Body

application/json

Configuration for an MCP Server.

config
MCPServerConfig · object
required

Configuration details for the MCP Server.

Response

Successful Response

Response model representing an MCP Server configuration.

id
string
required
config
MCPServerConfig · object
required
metadata
MCPServerMetadataResponseModel · object
required

The metadata of the MCP Server

access_info
ResourceAccessInfo · object | null

The access information of the MCP Server

Example:
dependent_agents
(DependentAvailableAgentIdentifier · object | DependentUnknownAgentIdentifier · object)[]

List of agents that depend on this MCP Server.