MCP · Streamable HTTP
The MCP endpoint uses Streamable HTTP at /api/mcp. Public clients authorize with Authorization Code and PKCE S256.
Endpoint
/api/mcpThe MCP endpoint uses Streamable HTTP at /api/mcp. Public clients authorize with Authorization Code and PKCE S256.
Flow
- Register a client: POST /oauth/register.
- Open portal authorization: GET /oauth/authorize with MCP scopes.
- Approve access in the customer account; the redirect receives a short-lived code.
- 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.
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
| Scope | Tools |
|---|---|
compliance:read | get_compliance_overviewlist_linked_compliance_evidence |
integrations:read | list_integrations |
scans:read | get_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.