Skip to main content

Link MCP connection to project

PUT 

/api/projects/:project_id/mcp-links/:credential_id

Links an MCP connection to a project, so its agent sessions reach that server, and attaches the credential to the project if it is not attached yet. Requires edit access to the project, plus ownership of the credential or the Org Owner or Org Admin role. A system credential, an agent account's own key or a credential that is not an MCP connection returns 422; otherwise returns 201 when linked and 200 when already linked.

Request​

Responses​

OK