MCP · Streamable HTTP

The MCP endpoint uses Streamable HTTP at /api/mcp. Public clients authorize with Authorization Code and PKCE S256.

PreviewPreview · MCP documentation lists merge, database migration, and production release as open.

Endpoint

GET · POST · DELETE/api/mcp

The MCP endpoint uses Streamable HTTP at /api/mcp. Public clients authorize with Authorization Code and PKCE S256.

Flow

  1. Register a client: POST /oauth/register.
  2. Open portal authorization: GET /oauth/authorize with MCP scopes.
  3. Approve access in the customer account; the redirect receives a short-lived code.
  4. Exchange the code at POST /oauth/token with code_verifier. The access token expires after one hour.

Tokens can be revoked with POST /oauth/revoke or in agent access settings. After the one-hour expiry, the client starts authorization again.

Token exchange · synthetic values
curl -X POST 'https://portal.rfi-irfos.com/oauth/token' \
  -H 'Content-Type: application/x-www-form-urlencoded' \
  --data-urlencode 'grant_type=authorization_code' \
  --data-urlencode 'code=$AUTHORIZATION_CODE' \
  --data-urlencode 'client_id=$CLIENT_ID' \
  --data-urlencode 'redirect_uri=http://127.0.0.1:43123/callback' \
  --data-urlencode 'code_verifier=$PKCE_VERIFIER' \
  --data-urlencode 'resource=https://portal.rfi-irfos.com/api/mcp'

Client discovery

/.well-known/oauth-protected-resource/mcp

/.well-known/oauth-authorization-server

Scopes und Tools

ScopeTools
compliance:readget_compliance_overview
list_linked_compliance_evidence
integrations:readlist_integrations
scans:readget_scan_status

An MCP token can send 120 requests per minute. A 429 response includes Retry-After: 60.

Read-only access

Coming soon

Customer agents use this OAuth-protected endpoint to query the compliance overview, linked evidence, integrations and scan status. Access is read-only: agents cannot confirm controls, link documents, change connections, or start scans or remediation. The page Compliance register describes the register itself.

Token and limits

Access tokens expire after one hour, are bound to a user and organization, and are checked on every request. The flow issues no refresh token.

Evidence: docs/mcp-agent-access.md.

Local index↑ ↓ · Enter · Esc