MCP
Servers
Custom
Create a new custom MCP server with multiple apps
Creates a new Model Control Protocol (MCP) server instance that can integrate with multiple applications or toolkits simultaneously. This endpoint allows you to create a server that can access tools from different applications, making it suitable for complex workflows that span multiple services.
post/api/v3.1/mcp/servers/custom
Request body
Example request
{
"name": "Multi App Integration Server",
"auth_config_ids": [
"ac_1a2b3c4d5e6f",
"ac_7g8h9i0j1k2l"
],
"toolkits": [
"github",
"jira",
"slack"
],
"allowed_tools": [
"GITHUB_CREATE_AN_ISSUE",
"SLACK_SEND_MESSAGE"
],
"custom_tools": [
"GITHUB_CREATE_AN_ISSUE",
"SLACK_SEND_MESSAGE"
]
}Response
Custom MCP server created successfully. Returns the complete server configuration including connection details and command instructions for all specified applications.
Example response
{
"id": "550e8400-e29b-41d4-a716-446655440000",
"name": "Multi-App Integration Server",
"auth_config_ids": [
"ac_1a2b3c4d5e6f",
"ac_7g8h9i0j1k2l"
],
"allowed_tools": [
"GITHUB_CREATE_AN_ISSUE",
"JIRA_GET_ISSUE",
"SLACK_SEND_MESSAGE",
"GMAIL_SEND_EMAIL"
],
"mcp_url": "https://backend.composio.dev/v3/mcp/550e8410-e29b-41d4-a716-446655440000?user_id=john",
"commands": {
"cursor": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8410-e29b-41d4-a716-446655440000?user_id=john\" --client cursor",
"claude": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8410-e29b-41d4-a716-446655440000?user_id=john\" --client claude",
"windsurf": "npx @composio/mcp@latest setup \"https://backend.composio.dev/v3/mcp/550e8410-e29b-41d4-a716-446655440000?user_id=john\" --client windsurf"
}
}