Skip to main content
Glama
vaasu202

AgentGuard MCP Server

by vaasu202

AgentGuard

Runtime security for AI agents. AgentGuard intercepts tool calls at an MCP boundary, validates provenance and arguments, applies deterministic policy precedence, redacts secrets, pauses sensitive actions for human approval, and writes a tamper-evident audit trail.

AgentGuard attack lab

The application boots with a complete deterministic attack demo and zero credentials. Live adapters activate only when their hosted-service environment variables are present. AgentGuard never downloads a model and has no Ollama or local-vLLM fallback.

This is not a chatbot wrapper. It demonstrates agent security, protocol design, streaming UX, policy engineering, human-in-the-loop execution, multi-runtime architecture, observability, retrieval, evaluation, and hosted deployment.

Four attack fixtures prove four distinct controls:

Fixture

Expected enforcement

Security control

Indirect prompt injection

BLOCK

Untrusted provenance + destructive SQL

Secret exfiltration

REDACT

Recursive credential removal before egress

Production rollback

APPROVAL

Suspended execution + operator decision

Repository intelligence

ALLOW

Explicit read-only tool authorization

Stack, with a real job for each tool

Technology

Implemented responsibility

Vercel AI SDK

Typed UI event streaming and hosted model calls

OpenAI Responses API

Explicit responses() inference route using GPT-5.6

OpenAI Agents SDK

Primary hosted agent runtime connected to protected MCP tools

Model Context Protocol

Streamable HTTP gateway with six guarded tools

LangGraph

Stateful retrieve → assess → approve/finalize workflow

Mastra

TypeScript-native agent through LiteLLM

PydanticAI

Typed SecurityAssessment structured output

LiteLLM

Hosted provider routing, retry, and budget gateway

Hosted vLLM

Remote OpenAI-compatible serving adapter; never local

PostgreSQL + pgvector

Security-run persistence, checkpoints, semantic audit history

Qdrant

Hosted policy and attack-corpus vector retrieval

LlamaIndex

Ingestion and retrieval over the Qdrant collection

DSPy

Evaluation-driven policy-classifier optimization

Arize Phoenix

Hosted OpenTelemetry traces and evaluation visibility

Related MCP server: SINT Protocol

Run the credential-free demo

pnpm install
pnpm dev

Open http://localhost:3000. The first attack runs automatically. No .env.local is necessary.

pnpm typecheck
pnpm test
pnpm build

Repository map

src/app/                         Next.js UI and API routes
src/components/                  Recruiter-facing attack console
src/lib/guard/                   Policy engine, schemas, fixtures, audit chain
src/lib/mcp/                     MCP server and protected real/simulated executors
src/lib/runtimes/                OpenAI Agents, Mastra, and Python-service adapters
src/lib/ai/                      LiteLLM and remote-vLLM model providers
services/intelligence/           Hosted FastAPI intelligence service
infrastructure/postgres/         pgvector schema
infrastructure/litellm/          Hosted LiteLLM routing config
tests/                           Policy and browser-level verification
docs/                            Architecture, threat model, demo, credentials

For the live architecture, see Architecture. For the exact optional keys and their destinations, see Credentials. For interview delivery, use the 90-second demo script.

F
license - not found
-
quality - not tested
B
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • F
    license
    -
    quality
    -
    maintenance
    A transparent proxy and execution firewall that intercepts and audits AI agent tool calls against configurable security policies before forwarding them to downstream MCP servers. It provides safe execution environments with features like data redaction, anti-loop protection, and unified alert dispatching.
    Last updated
  • A
    license
    A
    quality
    A
    maintenance
    Security-enforcing MCP proxy that sits between an AI agent and any number of downstream MCP servers, intercepting every tool call through a capability-token policy gateway that can allow, deny, or escalate to human approval before the call reaches any real tool. It also exposes built-in operator tools for approval workflows, audit trail queries, token management, voice/HUD output, and hierarchical
    Last updated
    21
    11
    Apache 2.0
  • A
    license
    -
    quality
    A
    maintenance
    Security gateway for MCP tool calls. Sits between your LLM client and MCP servers, enforcing per-tool policies (allow/block/approve/read-only), logging every call, and pausing dangerous operations for human approval in terminal or Slack.
    Last updated
    1
    MIT
  • A
    license
    B
    quality
    A
    maintenance
    A governance proxy for AI tools — every MCP/agent tool call is policy-gated, secret-redacted, and written to a hash-chained, offline-verifiable audit trail.
    Last updated
    13
    MIT

View all related MCP servers

Related MCP Connectors

  • Runtime permission, approval, and audit layer for AI agent tool execution.

  • Security firewall for AI agents — scans MCP calls for injection, secrets, and risks.

  • See, price, and control every tool call your AI agents make: policy checks, cost, and audit tools.

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/vaasu202/agentguard'

If you have feedback or need assistance with the MCP directory API, please join our Discord server