Create a new MCP server
Creates a new Model Control Protocol (MCP) server instance for the authenticated project. An MCP server provides a connection point for AI assistants to access your applications and services. The server is configured with specific authentication and tool permissions that determine what actions the connected assistants can perform.
Headers
x-api-key
Request
This endpoint expects an object.
name
Human-readable name to identify this MCP server instance (4-30 characters, alphanumeric, spaces, and hyphens only)
auth_config_ids
ID references to existing authentication configurations
allowed_tools
List of tool slugs that should be allowed for this server. If not provided, all available tools for the authentication configuration will be enabled.
ttl
Time-to-live duration for this MCP server
Allowed values:
managed_auth_via_composio
Whether the MCP server is managed by Composio
Response
MCP server created successfully. Returns the complete server configuration including connection details and command instructions.
id
UUID of the MCP server instance
name
User-defined descriptive name for this MCP server
auth_config_ids
ID references to the auth configurations used by this server
allowed_tools
Array of tool slugs that this MCP server is allowed to use
mcp_url
URL endpoint for establishing SSE connection to this MCP server
toolkits
Array of toolkit slugs that this MCP server is allowed to use
commands
Set of command line instructions for connecting various clients to this MCP server
updated_at
Date and time when this server configuration was last modified
created_at
Date and time when this server was initially created
managed_auth_via_composio
Whether the MCP server is managed by Composio