AgentGuard MCP
Integrates with Auth0 for machine and human identity: agent runtimes authenticate as Auth0 Machine-to-Machine applications, OAuth scopes authorize protected tools, and human administrators authenticate separately to review sensitive actions.
Uses Supabase to persist security data including approval requests, authorization decisions, execution traces, and audit event records.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
AgentGuard
AgentGuard lets an AI support agent request a simulated refund while enforcing OAuth permissions, a shared spending budget, and human review at the point of execution. This repository contains the Next.js site and protected operator dashboard. The Python MCP service and PostgreSQL migrations live in the companion repository.
Website · Try the demo · Inspect the evidence · Creator case study
Review the project
Open Human review in the public demo and show the decision. The $755 request waits with zero receipts. Simulate approval and execution, then try replaying the approval. The simulated ledger still has one receipt.
Try Split the budget and Machine self-approval to see different denial paths. The public walkthrough uses guided, synthetic examples.
Open the evidence page for the dated hosted report, which recorded one real human passkey approval, one simulated receipt, and denied replay. The separate credential-free evaluation matched expected ledger effects in 10 of 10 fixed scenarios. Each report describes its builds and limits.
The dashboard shows the stored transaction, expiry, budget, audit events, and receipts. Access requires the configured Auth0 subject and verified email. Approving or resuming also requires a passkey or MFA event in the last five minutes. See administrator configuration.
flowchart LR
Agent[Agent with Auth0 token] --> MCP[Python MCP checks scope]
MCP --> DB[(PostgreSQL checks budget and records effects)]
DB -->|Sensitive request waits| Dashboard[Protected dashboard]
Human[Human operator with recent passkey] --> Dashboard
Dashboard -->|Review exact stored request| DB
MCP -->|Original agent executes an approved request| DBRelated MCP server: AgentGuard MCP
Run the frontend locally
Use Node.js 24 and the committed npm lockfile.
npm ci
npm run devVisit http://localhost:3000. The public routes are /, /demo, /evidence,
and /about. To exercise /dashboard, create an untracked .env.local using
the settings below. Use a dedicated test environment for writes.
APP_BASE_URL=http://localhost:3000
AUTH0_DOMAIN=
AUTH0_CLIENT_ID=
AUTH0_CLIENT_SECRET=
AUTH0_SECRET=
AGENTGUARD_ADMIN_EMAIL=
AGENTGUARD_ADMIN_SUB=
SUPABASE_URL=
SUPABASE_SECRET_KEY=Register http://localhost:3000/auth/callback and the base URL as allowed
callback and logout URLs respectively in the Auth0 Regular Web Application.
Generate a unique session secret with openssl rand -hex 32. Apply the backend
schema and migrations
before using the dashboard. Keep both server secrets in the environment.
If the dashboard denies access, check the verified email and exact Auth0 subject. For an approval or resume prompt, use Re-authenticate with a passkey. If the database is unavailable, check the AgentGuard project status and server configuration. The dashboard retries only transient read failures.
npm run lint
npm run typecheck
npm test
npm run buildSee dependency verification for version constraints and backend hosting for the separate Vercel MCP service. The ledger uses simulated USD. The application trusts the identity provider, backend credentials, and database administrators. The evidence describes the specific tests performed.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
Identity, authorization, audit trails, and revocable permissions for AI agents accessing MCP tools.
Zero-secret MCP gateway for AI agents: risk-scored, audited calls with human-in-the-loop approval.
Context and control for any AI. Agent identity, scoped access, and proof across tools.
MCP enforcement layer that intercepts AI agent actions and blocks rule violations before execution.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceA governance and control layer for MCP tools that manages tool requests as intents through policy-based approval, queuing, or blocking. It enables secure human oversight and audit trails for consequential agent actions across platforms like Claude Desktop and Cursor.1MIT No Attribution
- FlicenseNot gradedqualityBmaintenanceA protected Model Context Protocol server that gives AI agents distinct machine identities, enforces least-privilege OAuth permissions, applies contextual authorization policies, and pauses sensitive actions for human approval.-
- AlicenseNot gradedqualityAmaintenanceA policy-based security layer for AI agents and MCP tools that evaluates tool requests against security policies before allowing, denying, or requiring human approval for execution.1MIT
- AlicenseNot gradedqualityCmaintenanceEnables MCP-compatible AI agents to safely act on business backends by enforcing per-agent permissions, autonomy thresholds, human approval with review-and-edit, and full audit trails.MIT