MCP SQL Rust
Rust MCP server for querying MySQL, PostgreSQL, and SQLite with guarded SQL and compact columnar results.
Install MCP SQL Rust
Run the project’s own setup commands, in order.
Setup steps from the project
mcp-sql-rust installs with its own steps rather than a config we can generate, so these are copied as-is. Follow them in order and run the commands in a terminal. Source: github.com
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bashstrut-stack-sql # stdio, read-onlystrut-stack-sql --http 127.0.0.1:8080
Overview
Use cases
- Query database objects from an AI coding agent
- Execute guarded SQL against PostgreSQL, MySQL, or SQLite
- Analyze query performance through MCP tools
- Expose database access over stdio or Streamable HTTP
Key features
- MySQL, PostgreSQL, and SQLite support
- Three default database tools
- AST-based SQL guard
- Columnar JSON results with row and byte caps
- Read-only defaults with optional write and DDL controls
- Stdio and Streamable HTTP transports
Security & health
What it can reach and how reliably it runs — from our own checks, not the maintainer’s claims.
Recent health check succeeded.
Adoption & maintenance
Factual signals from GitHub, npm, and our automated checks — not a rating.
How MCP SQL Rust 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 MCP SQL Rust
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/mcp-sql-rust)<a href="https://allmcps.com/mcp/mcp-sql-rust"><img src="https://allmcps.com/api/badge/mcp-sql-rust?style=directory" alt="MCP SQL Rust on AllMCPs" /></a>