Rotate a config's MCP key.
Mints a fresh secret with the same `mcp:invoke` scope, binds the config's MCP server to it, and revokes the original. The raw secret is returned once on `apiKey` — the user must update their MCP client config (Claude Desktop, Cursor) with the new value. Rotating renders any previously-distributed copy of the key permanently unusable. Takes Editor in the config's application.
Authorization
Bearer JWT Authorization header using the Bearer scheme. Enter 'Bearer' [space] and then your token.
In: header
Path Parameters
The integration ID.
The config ID.
uuidThe tenant identifier
Response Body
curl -X POST "https://api.fruxon.com/v1/tenants/string/integrations/string/configs/497f6eca-6276-4993-bfeb-53cbbbba6f08/mcp:rotateKey"{
"integrationId": "string",
"enabled": false,
"configId": "00000000-0000-0000-0000-000000000000",
"exposedToolIds": [
"string"
],
"description": "string",
"tokenId": "00000000-0000-0000-0000-000000000000",
"callUrl": "string",
"testUrl": "string",
"createdAt": 0,
"modifiedAt": 0,
"keyPrefix": "string",
"apiKey": "string"
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}Update a config's MCP server settings.
Patches `enabled`, `exposedToolIds` and `description` on the config's MCP server; null fields are preserved. When `enabled` turns `true` for the first time, a dedicated MCP-scoped key is minted and bound to this server; the raw secret is returned exactly once on `apiKey` — surface it to the user immediately. Use `POST …/configs/{config}/mcp:rotateKey` to mint a fresh secret later. Turning `enabled` off makes the JSON-RPC endpoints reject calls with this server's key but keeps the key, so turning it on again doesn't break already-distributed client configs. Changing the server takes Editor in the config's application.
MCP JSON-RPC endpoint (production)
Single JSON-RPC entry point that external MCP clients connect to in production. Dispatches the standard MCP methods (`initialize`, `tools/list`, `tools/call`, etc.); `tools/list` reflects the server's `exposedToolIds`, and `tools/call` uses its config's published revision to authenticate against the real upstream API. Authenticated with the key of a config's MCP server, which finds that server, and concurrency-rate-limited. Use `/integrations/{integration}/mcp:test` for the sandbox equivalent that routes through the integration simulator.