Register Mcp Tenant
POST
/v1/tenants/{tenant_id}/mcp-registration
const url = 'https://api.uavcrew.ai/v1/tenants/example/mcp-registration';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"api_token":"example","name":""}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}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.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”tenant_id
required
Tenant Id
string
Request Bodyrequired
Section titled “Request Bodyrequired”Media typeapplication/json
MCPRegistrationRequest
object
api_token
required
Api Token
string
name
Name
string
Responses
Section titled “Responses”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>
ValidationErrorobject
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": {} } ]}