Skip to main content
For most use cases, use a regular session instead. Sessions provide dynamic tool access and a much better MCP experience with context management handled by us.

Install the SDK

Create an MCP server

1

Initialize Composio

2

Create server configuration

Before you begin: Create an auth configuration for your toolkit.
You can also create and manage MCP configs from the Composio dashboard.
3

Generate user URLs

Users must authenticate with the toolkits configured in your MCP server first. See authentication for details.
4

Use with AI providers

Pass an x-api-key header when connecting to Composio MCP. This is required when require_mcp_api_key is enabled (default for newly created organizations).
For consumer connections, use https://connect.composio.dev/mcp, not this URL.
Set COMPOSIO_MCP_URL to the URL returned by the generate step, and keep COMPOSIO_API_KEY on the server. Don’t construct the MCP URL from a server ID.

Server management

List servers

Get server details

Update a server

Delete a server

Next

Providers

Use with Anthropic, OpenAI, and other frameworks