Generate MCP URL with custom parameters
Generates a Model Control Protocol (MCP) URL for an existing server with custom query parameters. The URL includes user-specific parameters and configuration flags that control the behavior of the MCP connection.
Headers
x-api-key
Request
This endpoint expects an object.
mcp_server_id
Unique identifier of the MCP server to generate URL for
managed_auth_by_composio
Flag indicating if Composio manages authentication
user_ids
List of user identifiers for whom the URL is generated
connected_account_ids
List of connected account identifiers
Response
Successfully generated MCP URL. Returns the complete URL with all specified query parameters.
mcp_url
Base MCP URL without any query parameters
connected_account_urls
List of URLs generated for each connected account ID
user_ids_url
List of URLs generated for each user ID