RaiCentral

Docs / Integrations

Management MCP server

Manage governance from an MCP client with OAuth sign-in.

The API exposes a Streamable HTTP MCP endpoint at <api-base>/mcp with OAuth 2.0 and PKCE. Tools call the same management APIs as the console, with your permissions.

This server is for managing RaiCentral. To govern an agent's own MCP tool calls, use the Runtime API or hooks.

Connect

Cursor
{
  "mcpServers": {
    "raicentral": { "type": "http", "url": "http://localhost:8001/mcp" }
  }
}

The client discovers the OAuth metadata, registers itself and opens a browser sign-in. Use your console account.

Check discovery

bash
curl -i -X POST $RAI_BASE_URL/mcp     # 401 with a WWW-Authenticate header
curl -fsS $RAI_BASE_URL/.well-known/oauth-protected-resource/mcp

Tools

AreaWhat you can do
RegistryList, read, create and update AI systems, agents and versions
Runtime identityIdentities, credentials and delegations
PolicyRAI rules, policy library, content rules, tool rules, budget rules
EvidenceTrajectories and audit search
RiskOverview, findings, monitors, monitor rules and signals

Configuration

VariableDefault
MCP_SERVER_ENABLEDtrue
MCP_SERVER_PUBLIC_BASE_URLDerived from API_PUBLIC_BASE_URL. HTTPS unless loopback
MCP_SERVER_MOUNT_PATH/mcp
MCP_OAUTH_ENABLE_DCRtrue
MCP_OAUTH_SCOPESrai:read,rai:manage

Client registrations and refresh tokens are held in memory: run one API process, and expect clients to sign in again after a restart. Anyone who can reach the API can register a client; disable dynamic registration if you do not need it.