Browse
→ Data & Storage
→ SQLGuardLLM MCP
SQLGuardLLM MCP
Offers database tools that validate model-written SQL against a policy before execution. Rules cover allowed tables, hidden columns, row filters and row limits; tools also inspect permitted schemas and explain a query decision. A read-only database account and database timeouts remain necessary. The project is alpha; release v0.5.0a5 was published November 27, 2026 (UTC).
MCP unverified
Integration
| Transport | stdio |
| Auth | none |
| Endpoint | sqlguardllm mcp --policy /absolute/path/to/policy.yaml |
| Install | Review and pin the inspected alpha source with its MCP extra in an isolated Python environment and manually register sqlguardllm mcp with an absolute policy path; begin with the synthetic SQLite demo, protect database credentials outside command arguments and supply trusted role context; use a read-only database user, explicit table permissions and statement timeouts, then test denied queries before any real-data access; auth none describes stdio |
Use Cases
| 01 | Explain why a generated query violates a table policy |
| 02 | Query a synthetic dataset with a trusted row-filter context |
Tags
sql-policy database row-filters read-only
Machine-readable: /api/servers.json
· JSON-LD schema embedded in <head>