SQL Safe MCP
Read-only MCP access to SQL Server, MySQL, and MariaDB metadata and validated queries with protected PII tokens.
Install SQL Safe MCP
Pick your client, then add it in one click or paste the config.
~/Library/Application Support/Claude/claude_desktop_config.json{
"mcpServers": {
"sql-safe-mcp": {
"command": "uvx",
"args": [
"sql-safe-mcp"
],
"env": {
"SQL_SAFE_MCP_CONFIG": "YOUR_VALUE_HERE"
}
}
}
}
Settings → Developer → Edit Config, merge this into mcpServers, then fully quit and reopen Claude Desktop.
Values are written into the snippet above so you can paste it as is. They never leave your browser.
Install not yet sandbox-tested— we haven't run this command through our automated sandbox yet. Not a red flag; we're working through the catalog.
Overview
Use cases
- Inspect database schemas while writing application code
- Trace tables, keys, and indexes without granting write access
- Query approved rows while masking configured personal data
- Review stored procedure definitions under a higher access level
Key features
- Read-only SQL Server, MySQL, and MariaDB access
- Schema, table, key, index, and procedure inspection
- Validated SELECT queries only
- Alias-bound tokens for configured PII columns
- Multiple database aliases with isolated policies
- Environment-based secret configuration
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Supply-chain signal
No high-severity advisories surfaced by our automated scan.
Scanned 14d ago via OSV.dev · sql-safe-mcp (PyPI)
How SQL Safe MCP works
Written by AllMCPs with AI assistance from the project’s README and listing data. How we build listings
Reviews
No reviews yet — be the first to share how it worked for you.
Frequently Asked Questions about SQL Safe MCP
Related MCP servers
Add a badge to your READMEShow it’s listed — live SVG, Markdown or HTML.
AllMCPs Directory Badge
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/sql-safe-mcp)<a href="https://allmcps.com/mcp/sql-safe-mcp"><img src="https://allmcps.com/api/badge/sql-safe-mcp?style=directory" alt="SQL Safe MCP on AllMCPs" /></a>