schemagate: Text-to-SQL access control: schema selection that gives the LLM only the tables the caller is allowed to read

by ashishsinha1602 · MCP Server · ★ 112

Last updated: · Indexed by AgentSkillsHub · Auto-synced every 8h

How to install schemagate

pip install schemagate
pip install 'schemagate[postgres]'     'schemagate[oracle]'

Taken from the project's README on GitHub. Check the security audit before running it.

Security audit verdict: SAFE · quality 69/100

None of the 42 rules matched — no credential harvesting, no data exfiltration, no curl-pipe-shell installer. Scanned against 42 published rules built on the SlowMist agent-security taxonomy, refreshed every 8 hours. Full audit →

The quality score combines nine heuristic checks of the repo and its README: completeness, clarity, specificity, examples, structure, agent readiness, step-by-step content, instruction quality and security notes. It rates how well the project explains itself to an agent, not the code.

access-controlai-agentsdata-engineeringdatabaselangchainllmmcpmcp-servermysqlnl2sql

Quick Facts

Stars112
Forks2
LanguagePython
CategoryMCP Server
LicenseApache-2.0
Quality Score69/100
Open Issues1
Last Updated2026-10-22
Created2026-09-06
Platformsmcp, python
Est. Tokens~23k

About schemagate

schemagate Picks the handful of tables an NL2SQL model actually needs, and never shows it tables the person asking isn't allowed to read. Demo · Install · Benchmarks · Local models · What it costs · Coming from Vanna Same question, two callers, no database and no key: Absent, not ranked low. A table the caller may not read never enters the prompt, so no rewordin

schemagate alternative? Top 6 similar tools

Looking for a schemagate alternative? If you're comparing schemagate with other mcp server tools, these 6 projects are the closest alternatives on Agent Skills Hub — ranked by topic overlap, star count, and community traction.

  • dati by yimindev · ⭐ 69

    Turn your database into secure, semantically rich MCP tools for agents.

  • cognidb by boxed-dev · ⭐ 216

    CogniDB is a Python-powered Natural Language to SQL interface that enables users to query databases like MySQL

  • tenuo by tenuo-ai · ⭐ 101

    Task-scoped authorization for AI agents. Cryptographic warrants constrain tools and arguments, prevent privile

  • mnemiq by agenticfabriq · ⭐ 84

    Open-source text-to-SQL engine you tune and measure on your own database

  • jev4pg by Sheltercosmo · ⭐ 257

    Established strong JEV based natural language to SQL performance and well-covered semantic operators for Postg

  • MCP-PostgreSQL-Ops by call518 · ⭐ 161

    🐘 Give AI assistants full PostgreSQL DBA superpowers — 30+ tools for performance analysis, bloat detection, l

More MCP Server Tools

Explore other popular mcp server tools:

View all MCP Server tools →

Popular Python Agent Tools

How this security grade is produced

Grades come from a rule-based scan built on the SlowMist agent-security taxonomy: 42 published rules, covering credential harvesting, data exfiltration, curl | sh installers and more. It is a first-layer scan, not a manual audit — we say so rather than overstate it.

The scale of the problem is documented independently: Liu et al. (2026), in a study of 31,132 agent skills, report that 26.1% contain security vulnerabilities. Our own full-catalog census is published as a citable open dataset.

Sources & who's responsible:

View on GitHub → Browse MCP Server tools