Skip to content

Registers a new managed config for an MCP server, recording the first revision snapshot and a self-audit attributed to the real principal.

POST
/v1/m/capabilities/configs
curl --request POST \
--url https://example.com/v1/m/capabilities/configs \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "enabled": true, "endpoint": "example", "id": "example", "note": "example", "revision": 1, "scope": "example", "secret_refs": [ { "hint": "example", "name": "example", "ref": "example", "ref_kind": "example" } ], "server_ref": "example", "transport": "example" }'

Registers a new managed config for an MCP server, recording the first revision snapshot and a self-audit attributed to the real principal.

X-Olivares-Tenant
string format: uuid

Target tenant id; required when the principal can act in more than one tenant.

Media type application/json
object
enabled
Any of:
boolean
endpoint
Any of:

Trimmed and rejected when it contains inline credential material.

string
id
Any of:

Accepted by the DTO but ignored on writes.

string
note
Any of:
string
revision
Any of:

Accepted by the DTO but assigned by the server on writes.

integer
scope
Any of:
string
secret_refs
Any of:
Array<object>
<= 64 items
object
hint
Any of:

At most 64 UTF-8 bytes.

string
name
required

After trimming, must be non-empty.

string
ref
required

After trimming, must be a non-empty locator and not inline credential material.

string
ref_kind
required

After trimming and lowercasing, must be env, vault, secret_manager, file or other.

string
server_ref
required
Any of:

Required on create after trimming; immutable and replaced from storage on update.

string
transport
required

After trimming and lowercasing, must be stdio, http, sse or ws.

string
Example generated
{
"enabled": true,
"endpoint": "example",
"id": "example",
"note": "example",
"revision": 1,
"scope": "example",
"secret_refs": [
{
"hint": "example",
"name": "example",
"ref": "example",
"ref_kind": "example"
}
],
"server_ref": "example",
"transport": "example"
}

OK

Media type application/json
object
Example generated
{}

Bad request

Media type application/json
object
Example generated
{}

Unauthenticated

Media type application/json
object
Example generated
{}

Forbidden

Media type application/json
object
Example generated
{}

Not found

Media type application/json
object
Example generated
{}

Conflict / setup required

Media type application/json
object
Example generated
{}

Rate limited

Media type application/json
object
Example generated
{}