Skip to main content
POST
Python (SDK)

Autorizações

Authorization
string
header
obrigatório

Gateway auth: send Authorization: Bearer <mka1-api-key>. For multi-user server-side integrations, you can also send X-On-Behalf-Of: <external-user-id>.

Cabeçalhos

X-On-Behalf-Of
string

Optional external end-user identifier forwarded by the API gateway.

Corpo

application/json
name
string
obrigatório
Required string length: 1 - 255
server_label
string
obrigatório
Required string length: 1 - 255
Pattern: ^[A-Za-z0-9._-]+$
server_url
string<uri>
obrigatório
Maximum string length: 2048
server_description
string | null
Maximum string length: 10000
allowed_tools
require_approval
enum<string>
padrão:always
Opções disponíveis:
always,
never
metadata
object

Resposta

201 - application/json

OK

id
string
obrigatório
object
any
obrigatório
name
string
obrigatório
server_label
string
obrigatório
server_url
string
obrigatório
server_description
string | null
obrigatório
allowed_tools
obrigatório
require_approval
enum<string>
obrigatório
Opções disponíveis:
always,
never
metadata
object
obrigatório
created_at
string<date-time>
obrigatório
updated_at
string<date-time>
obrigatório