Register a new MCP server for the project.
MCP servers extend AI capabilities by providing access to external tools over
the Model Context Protocol. Common examples include:
- Database or analytics servers exposing read-only query tools
- Ticketing or CRM integrations
- Internal wiki or knowledge-base lookup
Registration only requires the server's root URL, which must be a root URL
without path components; the server is not synchronized yet when this call
returns (`syncd: false`) and must be marked synced afterward to discover its
available tools.
Request
This endpoint expects an object.
namestringRequired1-64 characters
MCP server name
urlstringRequired1-255 characters
Root URL of the MCP server
descriptionstring or nullOptional
Description of the MCP server
Response
MCP server registered (not yet synchronized)
namestring1-64 characters
MCP server name
urlstring1-255 characters
Root URL of the MCP server
idstringformat: "uuid"
Unique identifier for the MCP server
short_idstring<=8 characters
Short identifier for the MCP server
project_idstringformat: "uuid"
Project ID this MCP server belongs to
syncdboolean
Whether the server has been sync'd to external proxy
createdstring
Timestamp when the MCP server was created
modifiedstring
Timestamp when the MCP server was last modified
descriptionstring or nullOptional
Description of the MCP server