MCP Provisioner

Provision a generic OAuth-gated MCP server

Changed on

Admin-only. Attaches any MCP server that authenticates users via OAuth 2.0 authorization-code. With discover=true the OAuth endpoints (and client registration when clientId is empty) are resolved automatically from the server's advertised metadata.

post/api/mcp/provisioner/generic

Request

  • Base URL
    /api/plugins/consensys-asko11y-app/resources (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    • API key in cookie grafana_session
    • or HTTP bearer

Request body

serverIdstring required
displayNamestring
mcpUrlstring uri required
transport'streamable-http' | 'sse' required
authorizationUrlstring uri
tokenUrlstring uri
clientIdstring
clientSecretstring
scopesstring[]
pkceboolean
discoverboolean

Resolve OAuth endpoints (and register a client when clientId is empty) from the server's advertised metadata

Response

Server provisioned

serverIdstring

Changes