API by router
Mcp credentials admin
GET
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidX-Api-Key?string|nullSuccessful Response
application/json- response
List of all MCP credentials for an instance.
credentials*array<>instance_id*Instance IdFormat
uuidcurl -X GET 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-credentials'Example Response
{ "credentials": [ { "created_at": "2019-08-24T14:15:22Z", "env_var_names": [ "string" ], "server_slug": "string", "updated_at": "2019-08-24T14:15:22Z" } ], "instance_id": "06587974-2dbe-4e10-8bf9-38cce0f5a366"}DELETE
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidserver_slug*Server SlugX-Api-Key?string|nullSuccessful Response
response?unknownapplication/jsoncurl -X DELETE 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-credentials/string'Example Response
nullPUT
HTTPBearerheader
AuthorizationBearer <token>instance_id*Instance IdFormat
uuidserver_slug*Server SlugX-Api-Key?string|nullapplication/json- body
Admin request to set MCP credentials for a server.
credentials*Dict of env vars to inject, e.g. {'XERO_CLIENT_ID': '...', 'XERO_CLIENT_SECRET': '...'}
Properties
1 <= propertiesSuccessful Response
response?unknownapplication/jsoncurl -X PUT 'https://example.com/v1/instances/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp-credentials/string' \ -H 'Content-Type: application/json' \ -d '{ "credentials": {}}'Example Response
null