Skip to content
Hexel StudioDocs

Register MCP server

POST/titan/tools/mcp-servers

Exactly 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).

X-Workspace-Idoptional string

Workspace scope used by permission checks, if applicable.

X-Environment-Idoptional string

Optional environment scope.

Body parameters

A JSON CreateCustomMCPServerRequest or CreateOfficialMCPServerRequest (required).

Returns

201CreatedMCPServer

auth_toolkitoptional string
discovery_connectionoptional string
discovery_organizationoptional string
namestring
official_nameoptional string
official_versionoptional string
owner_organization_idoptional string

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.

scopestring

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"

server_idstringuuid
sourcestring

One of: "custom", "official"

statusstring

One of: "registered", "imported", "failed"

updated_atoptional string
urlstring

Errors

  • 400Bad Request
  • 401Unauthenticated: token missing or rejected at the edge
  • 403Forbidden
  • 409Conflict