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
const url = 'https://example.com/v1/m/capabilities/configs';const options = { method: 'POST', headers: {Authorization: 'Bearer <token>', 'Content-Type': 'application/json'}, body: '{"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"}'};
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://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.
Authorizations
Section titled “Authorizations ”Parameters
Section titled “ Parameters ”Header Parameters
Section titled “Header Parameters ” X-Olivares-Tenant
string format: uuid
Target tenant id; required when the principal can act in more than one tenant.
Request Body required
Section titled “Request Body required ” Media type application/json
object
endpoint
secret_refs
Any of:
Array<object>
object
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
null
server_ref
required
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"}Responses
Section titled “ Responses ”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
{}