Skip to main content

AddMCPProfileServer

POST 

/v1/customers/:customer_id/projects/:project_id/users/:user_id/mcp-profiles/:profile_id/servers

AddMCPProfileServer attaches an MCP server to a profile with all of its tools enabled by default. Pass --tools in the CLI, or tools in the SDK/REST request, to enable a subset; a profile of type oauth requires it (["regex:*"] for all tools). Creates a row in mcp_profile_backends with an optional per-server credential; the server must be enabled in the catalog and granted to the profile's project (project_mcp_servers), and re-adding an already-attached server updates its tools/credential in place.

Request​

Responses​

Success