Skip to main content
Opal’s admin auditing MCP provides a set of tools that enables admins to use AI agents to view Opal events and syncs to investigate access and audit changes. Use cases include:
  • Investigate historical access patterns and anomalous access
  • Audit changes in organizational structure or role assignments
  • Review sync errors and propagation status
  • Monitor access requests and approvals
  • Track user access reviews and compliance activities

Installation

OAuth is the recommended way to connect. The OAuth commands below sign you in to Opal in your browser — no stored secret. Find your Client ID under User → Settings → OAuth Grants (app.opal.dev/user/settings/oauth-grants); if your client asks for a resource or audience value, read it from this server’s protected-resource metadata at https://app.opal.dev/.well-known/oauth-protected-resource/mcp/admin-auditing. See Authentication for details. To use an API token instead, create one first.
Self-hosted Opal deployments can host MCP servers as of version v1.1135.0. If you run self-hosted, remember to replace https://app.opal.dev with your own domain.
OAuth (recommended): add the server with no Authorization header, then sign in.
Claude Code also prompts you to sign in the first time it calls a tool from this server. Check server status any time with claude /mcp.API token: pass the token as a header when you add the server.
To learn more, see Claude Code documentation.

Available Tools

Tool Parameters

Last modified on September 21, 2026