Skip to content

Register Mcp Tenant

POST
/v1/tenants/{tenant_id}/mcp-registration
curl --request POST \
--url https://api.uavcrew.ai/v1/tenants/example/mcp-registration \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "api_token": "example", "name": "" }'

Accept K4 registration from the client provisioning flow.

With dynamic K4 resolution, the MCP Gateway resolves K4 on-the-fly by calling the client’s resolve-token endpoint. No gateway-side registration is needed — K4 is stored on the client side only.

This endpoint exists so the client provisioning flow succeeds.

tenant_id
required
Tenant Id
string
Media typeapplication/json
MCPRegistrationRequest
object
api_token
required
Api Token
string
name
Name
string
""

Successful Response

Media typeapplication/json
MCPRegistrationResponse
object
tenant_id
required
Tenant Id
string
action
required
Action
string
message
required
Message
string

Example generated

{
"tenant_id": "example",
"action": "example",
"message": "example"
}

Validation Error

Media typeapplication/json
HTTPValidationError
object
detail
Detail
Array<object>
ValidationError
object
loc
required
Location
Array
msg
required
Message
string
type
required
Error Type
string
input
Input
ctx
Context
object

Example generated

{
"detail": [
{
"loc": [
"example"
],
"msg": "example",
"type": "example",
"input": "example",
"ctx": {}
}
]
}