Strut Stack SQL
Provides tools for interacting with MySQL databases, including executing SQL queries, searching database objects, and analyzing query performance.
Provides tools for interacting with PostgreSQL databases, including executing SQL queries, searching database objects, and analyzing query performance.
Provides tools for interacting with SQLite databases, including executing SQL queries, searching database objects, and analyzing query performance.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Strut Stack SQLShow me the schema of the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Strut Stack SQL
Light strut. Extreme load.
Token-efficient MCP server for MySQL, PostgreSQL, and SQLite — written in Rust. Part of the StrutStack ecosystem; usable standalone with any agent client.
Formerly published as mcp-sql-rust (compat binary alias still ships in v1.0).
Mission
Token thrift — default 3 tools, columnar
{cols,rows,meta}, row/byte capsBest-practice Rust — AST SQL guard before pool checkout, lean release binary
Multi-engine — PostgreSQL + MySQL + SQLite in one binary
Ship-ready — one-command install, stdio + Streamable HTTP, Cursor-friendly launcher
Related MCP server: MCP Database Server
Install (one command)
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash
strut-stack-sql --versionInstalls to ~/.local/bin (also creates mcp-sql-rust alias). Ensure ~/.local/bin is on your PATH.
Other channels (Homebrew, Scoop, winget, Docker, cargo): docs/INSTALL.md.
Quick start (Cursor)
{
"mcpServers": {
"strut-stack-sql": {
"command": "strut-stack-sql",
"args": ["--full-tools"],
"cwd": "${workspaceFolder}"
}
}
}Project .env:
DATABASE_URL=postgresql://user:pass@127.0.0.1:5432/appWithout credentials the server still starts (ephemeral sqlite::memory:) so MCP initialize succeeds; set DATABASE_URL for real queries.
Official workspace launcher (loads nested apps/api/.env, never blocks start on dead DB):
{
"mcpServers": {
"strut-stack-sql": {
"command": "node",
"args": [
"/absolute/path/to/strut-stack-sql/packaging/cursor-mcp-launcher.mjs",
"${workspaceFolder}"
]
}
}
}Why this shape
Choice | Detail |
Default tools |
|
Extra tools |
|
Results | Columnar JSON only by default (token-efficient) |
Guard |
|
Timeouts | Client timeout + PG |
Transports | stdio · |
Measured RSS / cold-start vs Node rivals (same seed query): docs/BENCHMARKS.md. We do not invent QPS leaderboards.
CLI
strut-stack-sql --version
strut-stack-sql # stdio, read-only
strut-stack-sql --allow-writes
strut-stack-sql --full-tools
strut-stack-sql --http 127.0.0.1:8080Docs
Doc | Purpose |
First run | |
All install channels | |
Guard + write tiers | |
Tool schemas | |
.env / TOML / CLI | |
Modules | |
Reproducible harness |
Agent clients
See AGENTS.md for Cursor / OMNI / CodeGraph conventions.
License
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceA modular MCP server that enables interaction with multiple database types including PostgreSQL, MySQL, SQLite, Redis, MongoDB, and LDAP. It provides tools for executing queries, managing SQL commands, and exploring database schemas with configurable read-only security.Last updated39MIT
- Flicense-qualityDmaintenanceA secure multi-database MCP server supporting MySQL, PostgreSQL, and SQLite with read-only enforcement, SQL injection prevention, and tools for schema analysis, performance optimization, and visualization.Last updated4
- Alicense-qualityBmaintenanceA multi-database MCP server that enables LLMs to safely interact with MySQL, PostgreSQL, SQLite, and others through a unified tool interface, with permission modes and schema resources.Last updated1870MIT
- AlicenseAqualityAmaintenanceA read-only MCP server that exposes SQL database access to LLMs, supporting multiple database types, compact columnar results, pagination, and file export.Last updated625MIT
Related MCP Connectors
GibsonAI MCP server: manage your databases with natural language
MCP server for managing Prisma Postgres.
Analytical memory for AI agents: a real Postgres queried in plain English over MCP. One command.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/rzlco666/strut-stack-sql'
If you have feedback or need assistance with the MCP directory API, please join our Discord server