POST /api/mcp_server/oauth_cancel
Cancel an MCP OAuth sign-in the caller started, so the worker stops waiting for its callback.
Personal access token scope: tools:write.
bearerAuthorizationBearer <token>A session token or a personal access token. Leave it empty when the instance runs without authentication (AUTH_TYPE unset).
application/json- body
task_id*stringOAuth task to cancel
Success
curl -X POST 'http://localhost:7091/api/mcp_server/oauth_cancel' \ -H 'Content-Type: application/json' \ -d '{ "task_id": "string"}'Create or update MCP server with automatic tool discovery POST
Create or update MCP server with automatic tool discovery. While Admin > Guardrails warns on tool descriptions, each discovered action is scored for prompt injection and stored with `injection: {p, scorer}`; the response's `injection` is `{flagged: [names], unscored: [names]}` (null while the warnings are off). Nothing is deactivated. [Personal access token](/API/personal-access-tokens) scope: `tools:write`.
POST /api/parse_spec POST
Parse an API specification (OpenAPI 3.x or Swagger 2.0) and return actions. [Personal access token](/API/personal-access-tokens) scope: `tools:write`.