📡 MCP Radar

jmmana/sqlguardllm

Policy-based SQL firewall for LLM agents and Text-to-SQL. Validates and rewrites generated SQL before execution. Includes a read-only MCP server.

⭐ 19 stars
⑂ 1 forks
Python
momentum ▲ 40.0
created 2026-11-25
on radar since 2026-11-30
star trend 9 → 19 since 2026-11-30
ai-agentsai-safetyai-securitydatabaseguardrailsllmllm-securitymcpmcp-servermodel-context-protocolnl2sqlprompt-injectionpythonrow-level-securitysecuritysqlsql-firewallsqlglottext-to-sql
View on GitHub ↗Homepage ↗

About sqlguardllm

Your model writes SQL. sqlguardllm makes sure it can only read what it's allowed to read: one read-only statement, allowlisted tables and columns, row-level filters per user, and a row limit, in any of the 32 dialects sqlglot speaks.

[!NOTE] Status: alpha. 0.5.0a8 is on PyPI (pip install sqlguardllm, import sqlguardllm), with the rules of docs/DESIGN.md, optional complexity limits and a 148-case development corpus. The API may still change before 1.0; violation codes are stable. ⭐ Star the repo to follow along, and tell us what you think in Discussions.

Full documentation: https://jmmana.github.io/sqlguardllm/

Run the local stdio server with your MCP client.

Directory Status --- --- MCP Registry 🟢 Published, version 0.5.0a8 Glama 🟢 Published listing Awesome MCP Servers 🟡 Contribution open for review OWASP GenAI Crosswalk 🟡 Contribution open for review

Python 3.10+: the engine itself, inside your process.

Node.js / TypeScript 18+: runs the embedded engine (no Python, no server) or talks to sqlguardllm serve.

.NET 8 or 10: runs the embedded engine (no Python, no server) or talks to sqlguardllm serve.

The server is optional for Node.js and .NET: their packages carry the engine and run it locally (SqlGuard.local / SqlGuard.CreateLocalAsync). Run it, in another terminal (Python 3.10+), when several services share one policy or your platform has no embedded engine. No Docker image is published; the Dockerfile builds one if you need it.

From the project README.

Maintaining this server?

Add the radar badge to your README — it shows your project was picked up by MCP Radar and links to this page:

[![On MCP Radar](https://mcp.liqiwa.com/badge.svg)](https://mcp.liqiwa.com/s/jmmana--sqlguardllm.html)

Related MCP servers

Shalimov04/mcp-airlock

Stateless governance proxy for MCP (2026-07-28): policy, dry-run, human confirmation, audit, tracing

⭐ 25Python
PyModel/jev-judge-mcp

Typed judgment tools for MCP agents. TypeSafe's Jev model as verify, screen, find, classify, rerank, decide, compare, extract, review, gate, and score: the model judges, policy decides auto, review, o

⭐ 29Python
CTRLRun/ctrlrun

The execution safety layer for AI agents.

⭐ 14Python
VirajMishra1/bouncer

Intent firewall for AI agents — NVIDIA Nemotron checks every tool call against the user's goal and blocks prompt-injection hijacks before they run.

⭐ 3Python
alikarami76/keygraph

Schema map for data analyst and text-to-SQL agents: join paths, keys, grain and status codes served to LLM agents over MCP, CLI --json or markdown, plus an offline explorer. MySQL, PostgreSQL, SQLite,

⭐ 3Python
agent-chaperone/agent-chaperone

Screens an AI agent's tool calls before they run and tool results before the agent reads them. An MCP proxy plus a hooks adapter for a client's built-in tools.

⭐ 20TypeScript

📬 Get the weekly radar in your inbox

The top new MCP servers of the week, every Monday. No spam, unsubscribe anytime.