Skip to main content
ClaudeWave
rzlco666 avatar
rzlco666

strut-stack-sql

Ver en GitHub

Strut Stack SQL — token-efficient MCP server for MySQL, PostgreSQL & SQLite. Light strut. Extreme load.

MCP ServersRegistry oficial0 estrellas0 forksRustMITActualizado today
Install in Claude Code / Claude Desktop
Method: Manual · strut-stack-sql
Claude Code CLI
git clone https://github.com/rzlco666/strut-stack-sql
claude_desktop_config.json (Claude Desktop)
{
  "mcpServers": {
    "strut-stack-sql": {
      "command": "strut-stack-sql",
      "env": {
        "DATABASE_URL": "<database_url>"
      }
    }
  }
}
1. Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
2. Replace any <placeholder> values with your API keys or paths.
3. Restart Claude. The MCP server and its tools appear automatically.
💡 Install the binary first: cargo install strut-stack-sql (or build from https://github.com/rzlco666/strut-stack-sql).
Detected environment variables
DATABASE_URL
Casos de uso

Resumen de MCP Servers

# Strut Stack SQL

**Light strut. Extreme load.**

Token-efficient [MCP](https://modelcontextprotocol.io) server for **MySQL**, **PostgreSQL**, and **SQLite** — written in Rust. Part of the [StrutStack](https://github.com/rzlco666/strut-stack) ecosystem; usable standalone with any agent client.

[![Latest release](https://img.shields.io/github/v/release/rzlco666/strut-stack-sql)](https://github.com/rzlco666/strut-stack-sql/releases/latest)
[![CI](https://img.shields.io/github/actions/workflow/status/rzlco666/strut-stack-sql/ci.yml?branch=main)](https://github.com/rzlco666/strut-stack-sql/actions)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](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)

```bash
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](docs/INSTALL.md).

## Quick start (Cursor)

```json
{
  "mcpServers": {
    "strut-stack-sql": {
      "command": "strut-stack-sql",
      "args": ["--full-tools"],
      "cwd": "${workspaceFolder}"
    }
  }
}
```

Project `.env`:

```env
DATABASE_URL=postgresql://user:pass@127.0.0.1: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):

```json
{
  "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 | `search_objects`, `execute_sql`, `analyze_query_performance` |
| Extra tools | `--full-tools` (+ DDL aliases need `--allow-ddl`) |
| Results | Columnar JSON only by default (token-efficient) |
| Guard | `sqlparser` AST; multi-statement deny; write tiers; complexity limits |
| Timeouts | Client timeout + PG `statement_timeout` / MySQL `max_execution_time` |
| Transports | stdio · `--http 127.0.0.1:8080` (`/mcp`, `/healthz`) |

Measured RSS / cold-start vs Node rivals (same seed query): [docs/BENCHMARKS.md](docs/BENCHMARKS.md). We do **not** invent QPS leaderboards.

## CLI

```bash
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:8080
```

## Docs

| Doc | Purpose |
|-----|---------|
| [docs/QUICKSTART.md](docs/QUICKSTART.md) | First run |
| [docs/INSTALL.md](docs/INSTALL.md) | All install channels |
| [docs/SECURITY.md](docs/SECURITY.md) | Guard + write tiers |
| [docs/TOOLS.md](docs/TOOLS.md) | Tool schemas |
| [docs/CONFIGURATION.md](docs/CONFIGURATION.md) | .env / TOML / CLI |
| [docs/ARCHITECTURE.md](docs/ARCHITECTURE.md) | Modules |
| [docs/BENCHMARKS.md](docs/BENCHMARKS.md) | Reproducible harness |

## Agent clients

See [AGENTS.md](AGENTS.md) for Cursor / OMNI / CodeGraph conventions.

## License

MIT
ai-agentmcpmodel-context-protocolmysqlpostgresqlrustsqlsqlitestrut-stacktoken-efficient

Lo que la gente pregunta sobre strut-stack-sql

¿Qué es rzlco666/strut-stack-sql?

+

rzlco666/strut-stack-sql es mcp servers para el ecosistema de Claude AI. Strut Stack SQL — token-efficient MCP server for MySQL, PostgreSQL & SQLite. Light strut. Extreme load. Tiene 0 estrellas en GitHub y se actualizó por última vez today.

¿Cómo se instala strut-stack-sql?

+

Puedes instalar strut-stack-sql clonando el repositorio (https://github.com/rzlco666/strut-stack-sql) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.

¿Es seguro usar rzlco666/strut-stack-sql?

+

rzlco666/strut-stack-sql aún no ha sido auditado por nuestro agente de seguridad. Revisa el repositorio original en GitHub antes de usarlo en producción.

¿Quién mantiene rzlco666/strut-stack-sql?

+

rzlco666/strut-stack-sql es mantenido por rzlco666. La última actividad registrada en GitHub es de today, con 0 issues abiertos.

¿Hay alternativas a strut-stack-sql?

+

Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.

Despliega strut-stack-sql en tu cloud

Lleva este repo a producción en minutos. Cada plataforma genera su propio entorno con variables de entorno editables.

¿Mantienes este repo? Añade un badge a tu README

Pega el badge en tu README de GitHub para mostrar que está auditado por ClaudeWave. Cada badge enlaza de vuelta a esta página y muestra el Trust Score actual.

Featured on ClaudeWave: rzlco666/strut-stack-sql
[![Featured on ClaudeWave](https://claudewave.com/api/badge/rzlco666-strut-stack-sql)](https://claudewave.com/repo/rzlco666-strut-stack-sql)
<a href="https://claudewave.com/repo/rzlco666-strut-stack-sql"><img src="https://claudewave.com/api/badge/rzlco666-strut-stack-sql" alt="Featured on ClaudeWave: rzlco666/strut-stack-sql" width="320" height="64" /></a>

Más MCP Servers

Alternativas a strut-stack-sql