Skip to main content
DeprecatedUse a session’s MCP endpoint instead: composio.create(user_id, mcp=True) returns a session that exposes session.mcp.url / session.mcp.headers. MCP is now opt-in per session; this standalone composio.mcp server-management API is kept only for backwards compatibility. Prefer the session MCP endpoint; do not generate new code against composio.mcp. See /docs/sessions-via-mcp

Methods

create()

Create a new MCP server configuration with specified toolkits and authentication settings.
Parameters Returns MCPCreateResponse — Created server details with generate method Example

list()

List MCP servers with optional filtering and pagination.
Parameters Returns MCPListResponse — Paginated list of MCP servers Example

get()

Retrieve detailed information about a specific MCP server/config.
Parameters Example

update()

Update an existing MCP server configuration.
Parameters Example

delete()

Permanently delete an MCP server configuration.
Parameters Returns Dict[str, Any] — Deletion result Example

generate()

Get server URLs for an existing MCP server. This matches the TypeScript implementation exactly.
Parameters Returns MCPServerInstance — MCP server instance Example

View source