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
{
"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
curl -i -X POST $RAI_BASE_URL/mcp # 401 with a WWW-Authenticate header
curl -fsS $RAI_BASE_URL/.well-known/oauth-protected-resource/mcpTools
| Area | What you can do |
|---|---|
| Registry | List, read, create and update AI systems, agents and versions |
| Runtime identity | Identities, credentials and delegations |
| Policy | RAI rules, policy library, content rules, tool rules, budget rules |
| Evidence | Trajectories and audit search |
| Risk | Overview, findings, monitors, monitor rules and signals |
Configuration
| Variable | Default |
|---|---|
MCP_SERVER_ENABLED | true |
MCP_SERVER_PUBLIC_BASE_URL | Derived from API_PUBLIC_BASE_URL. HTTPS unless loopback |
MCP_SERVER_MOUNT_PATH | /mcp |
MCP_OAUTH_ENABLE_DCR | true |
MCP_OAUTH_SCOPES | rai: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.