Secure Schema MCP server
io.github.Siddharth-coder13/secure-schema·v1.0.1Read-only MCP server for exposing database schema metadata without row data.
0 stars20 downloads/wk
Reviews
Write oneNobody has reviewed Secure Schema MCP yet.
If you have run it, two minutes of your experience saves the next person an afternoon.
Secure Schema MCP tools (3)
write = sends, deletes, buys or postsRead from the package source without running it. The installed server may list more.
inspect_tableExposes exact column names, types, nullability, primary keys, and foreign key relationships. Strictly constrained to structural layouts. Does not reveal data rows.
list_tablesLists all user tables and views available in the current database. Use this to understand what architectural entities exist.
schema_overviewSummarizes available tables, views, primary keys, and foreign key relationships. Strictly constrained to structural metadata. Does not reveal data rows.
Public scan report
scanner v0.1.9 · 2026-09-26 · same rubric, same numbers if you re-run it
- Code scan2 source files scanned25/25
- –Live reliabilityno gateway calls yet and no remote to proben/a
- –Tool poisoningtools not inspected (local package is not executed); not countedn/a
- Auth qualitystatic API keys via environment variables6/15
- Maintenancelast push 84 days ago12/15
- Maintainer identityregistry namespace matches repository owner; GitHub account older than a year8/10
How Secure Schema MCP compares
Against every graded Databases MCP server, from our own scans and uptime checks. Updated after each scan run.
- Safety score
- 78/100
- higher than 47% of 802 Databases servers
- Tools
- 3
- the typical Databases server has 8
- Tools that change things
- 0%
- typical: 10%. Fewer write tools means less an agent can break
- Downloads a week
- 20
- more than 7% of 328 Databases servers with a package
What its tools let an agent do: 3 read
Install Secure Schema MCP in Claude Code, Cursor or VS Code
claude mcp add secure-schema -- uvx mcp-secure-schema
What the publisher says
From the Secure Schema MCP repository's README, as published. We do not edit it. Read it on GitHub
Secure Schema MCP
<!-- mcp-name: io.github.Siddharth-coder13/secure-schema -->
A read-only MCP server that gives AI coding tools database structure without exposing row data. It returns table and view names, columns, types, keys, and relationships in a compact format designed to reduce LLM token usage.
What it exposes
Schema metadata can still be sensitive. A column name such as ssn reveals information even without values, so production deployments should always use the table allowlist and a dedicated database account.
Requirements
- An MCP-compatible client such as Cursor or Codex
- A reachable SQLite, PostgreSQL, or MySQL database
- Python 3.12 or newer when installing without uvx
SQLite support uses Python's built-in driver. PostgreSQL and MySQL drivers are included. Other SQLAlchemy dialects are not tested or bundled in v1.
Configure your IDE
The recommended setup uses uvx to download and run the published Python package in an isolated environment. You do not need to clone this repository or start the server separately. Your IDE launches it over stdio when needed.
Cursor
Add this server to your Cursor MCP configuration:
{
"mcpServers": {
"secure-schema": {
"command": "uvx",
"args": ["mcp-secure-schema"],
"env": {
"DATABASE_URL": "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb",
"DATABASE_SCHEMA": "public",
"ALLOWED_TABLES": "users,orders,products",
"SECURE_SCHEMA_ENV": "production",
"FASTMCP_CHECK_FOR_UPDATES": "off",
"FASTMCP_SHOW_SERVER_BANNER": "false"
}
}
}
}Restart or reload Cursor after changing its MCP configuration.
Codex
Add this to ~/.codex/config.toml or a trusted project's .codex/config.toml:
[mcp_servers.secure-schema]
command = "uvx"
args = ["mcp-secure-schema"]
enabled_tools = ["schema_overview", "list_tables", "inspect_table"]
startup_timeout_sec = 30
tool_timeout_sec = 30
[mcp_servers.secure-schema.env]
DATABASE_URL = "postgresql+psycopg2://schema_reader:password@localhost:5432/appdb"
DATABASE_SCHEMA = "public"
ALLOWED_TABLES = "users,orders,products"
SECURE_SCHEMA_ENV = "production"
FASTMCP_CHECK_FOR_UPDATES = "off"
FASTMCP_SHOW_SERVER_BANNER = "false"Install once instead
If you prefer a persistent installation:
pipx install mcp-secure-schemaThen use "command": "mcp-secure-schema" with an empty args list in the IDE configuration.
Database URLs
Secure Schema MCP accepts SQLAlchemy connection URLs:
# SQLite (absolute path)
sqlite:////Users/me/project/app.db
# PostgreSQL
postgresql+psycopg2://user:password@localhost:5432/appdb
# Remote PostgreSQL with certificate verification
postgresql+psycopg2://user:password@db.example.com:5432/appdb?sslmode=verify-full&sslrootcert=/path/to/ca.pem
# MySQL
mysql+pymysql://user:password@localhost:3306/appdbPercent-encode special characters in URL usernames and passwords. For example, @ in a password becomes %40.
Local and remote databases use the same MCP configuration. For remote databases, the machine running the IDE must also have working DNS, network access, firewall permission, and valid TLS settings.
Configuration
Shortened. The full README is on GitHub.
Nothing above is checked by us. What we check is on the safety report.
Secure Schema MCP: common questions
- Is Secure Schema MCP server safe?
- Mostly: it is graded B (78/100). Read the Secure Schema MCP safety report
- How do I install Secure Schema MCP?
- It runs on your machine. Copy the Claude Code, Cursor, VS Code or Claude Desktop config from the install section.
- Does Secure Schema MCP need an API key?
- Yes. The registry entry asks for
DATABASE_URL. - Is Secure Schema MCP maintained?
- The last commit was 123 days ago (2026-07-04). The latest release is v1.0.1.
- What can I use instead of Secure Schema MCP?
- Servers from other publishers that do the same job: Airtable MCP server, LINQ to DB MCP server and Rebase MCP server.
- How does Secure Schema MCP compare with other Databases MCP servers?
- safety score 78/100 (higher than 47% of 802 Databases servers); tools 3 (the typical Databases server has 8); tools that change things 0% (typical: 10%. Fewer write tools means less an agent can break). Full comparison.
Alternatives to Secure Schema MCP
Same job from other publishers: the closest match first, then the best rated.
AirtableRead and write access to Airtable database schemas, tables, and records.not reviewedEstablishedB- LINQ to DBInspect database schemas and execute SQL queries across multiple database providers with LINQ to DB.not reviewedEstablishedA
- RebaseSchema, database, document, user and dev-server tools for a Rebase backend project.not reviewedGrowingB
- JanuscopeLocal MCP proxy for tool restrictions, response redaction, audit logs, and database schema context.not reviewedGrowingA
Grain SQLRun SQL queries and inspect database schemas through safe, visible MCP tools.not reviewedGrowingB