Register MCP server
/titan/tools/mcp-serversExactly one of url (custom) or official_name (official) is required. Requires tool-gateway:tool:write. scope "organization" (the default) registers a server owned by, and visible to, the caller's organization only; scope "system" requires the caller to be the system tools organization.
Requires permission tool-gateway:tool:write.
Headers
Bearer <token>. A Hexel Studio access token for a member or a service user of your organization (or send a service user's API key as X-API-Key).
Workspace scope used by permission checks, if applicable.
Optional environment scope.
Body parameters
A JSON CreateCustomMCPServerRequest or CreateOfficialMCPServerRequest (required).
Returns
201CreatedMCPServer
RequiresAuth records that tools/list answered 401/403 without credentials. DiscoveryConnection and DiscoveryOrganization name the connection a scheduled re-import authenticates with (the last connection-authenticated import's); never a token.
Scope is "system" or "organization"; OwnerOrganizationID is the owner of an organization server (absent for a system server). The imported toolkit MCP_<SERVER> has the same owner.
One of: "organization", "system"
One of: "custom", "official"
One of: "registered", "imported", "failed"
Errors
- 400Bad Request
- 401Unauthenticated: token missing or rejected at the edge
- 403Forbidden
- 409Conflict