Atlas / MCP servers / rzlco666 / rzlco666-sql-rust

rzlco666-sql-rustBLOCK

mcp/rzlco666/mcp-sql-rust

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

Verdict
BLOCK
Grade
D
Trust score
63 /100
Exposed tools
—
Transport
stdio · streamable-http
License
MIT
Stars
1
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

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.

[](https://github.com/rzlco666/strut-stack-sql/releases/latest) [](https://github.com/rzlco666/strut-stack-sql/actions) [](LICENSE)

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 caps
  • Best-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

Install (one command)

curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash
strut-stack-sql --version

Installs 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:[email protected]:5432/app

Without 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": {
Read from source at commit 8a926bcb7837OBSERVED · 2026-10-12
02

Trust audit

BLOCKgrade D · trust 63/100 Do not install this without reading the findings. The audit found something that could harm you or your machine.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codeFAIL
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfacePASS
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (3 observation(s))
Shell
none-observed
Dependencies
pinned
Secrets in source
found

Findings (10)

HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.devcontainer/docker-compose.extend.yml:13
DATABASE_URL: postgresql://demo:demo@postgres:5432/demo
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.env.example:4
DATABASE_URL=postgresql://demo:demo@localhost:5433/demo
HIGHHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.env.example:7
# DATABASE_URL=mysql://demo:demo@localhost:3307/demo
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:75
psql "postgresql://demo:demo@localhost:5433/demo" -c "SELECT 1" && break
MEDIUMHard-coded secrets · secret.db_uri · CWE-798, CWE-321
.github/workflows/ci.yml:78
psql "postgresql://demo:demo@localhost:5433/demo" -f docker/seed/postgres.sql
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
docs/QUICKSTART.md:133
curl -s http://127.0.0.1:8080/healthz
LOWInventory / provenance · mcp.no_tools_extracted · CWE-1104
server.json
Why it matters. the tool list is enumerated at runtime by tools/list, not declared in source
Fix. the page says so rather than showing an empty table
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
README.md:23
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/INSTALL.md:19
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash
INFOSupply chain · prompt.pipe_to_shell · CWE-829, CWE-1357
docs/INSTALL.md:26
curl -fsSL .../install.sh | bash -s -- --version 1.0.0 --prefix ~/.local

Gates applied: no_behavioural_pass.

Audited 2026-10-12 · audit v0.4.1 · source sha 8a926bcb7837full audit observations/trust-audit/mcp-server/rzlco666__mcp-sql-rust.json · Report an issue / request a re-scan
03

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-10-128a926bcb7837BLOCKD63first audit
04

Questions

What is the rzlco666-sql-rust MCP server?

Token-efficient MCP server for MySQL, PostgreSQL, and SQLite

Is rzlco666-sql-rust safe to connect to an agent?

No — not without reading the findings first. The audit graded it D (63/100) and found 3 critical or high issues in the source. Each one is listed on this page with the file and line it is on.

What credentials does rzlco666-sql-rust need?

It reads DATABASE_URL from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How does rzlco666-sql-rust run?

It speaks stdio and streamable-http, so it runs as a local process your client starts.

How current is this page?

The grade is for one exact copy of the source (8a926bcb7837), read on 2026-10-12. The repository is watched and re-audited when it changes.

Advertisement