ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Strut Stack SQL

โดย rzlco666รุ่น 2.0.2i★ –iรันบนเครื่อง
ชื่อใน registryio.github.rzlco666/strut-stack-sql

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Token-efficient MCP server for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, and ClickHouse

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio
  • หมวด: ฐานข้อมูลและชุดข้อมูล
  • ต้องใส่ค่าเหล่านี้: DATABASE_URL

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

ดาวน์โหลดไฟล์ .mcpb ของผู้ทำ

ลิงก์ไปที่ไฟล์ของผู้ทำเอง เราไม่ได้เก็บหรือแพ็กใหม่ เปิดไฟล์แล้ว Claude Desktop จะติดตั้งให้

พิมพ์คำสั่งนี้ใน Terminal

เติมค่าที่เว้นว่างไว้ก่อนรัน

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • DATABASE_URL ความลับ จำเป็น env
    Database connection URL

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub rzlco666 ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด ฐานข้อมูลและชุดข้อมูลi

  • ดาวมากกว่า 0% ของอีก 953 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 99% ของอีก 953 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 953 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Strut Stack SQL ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: DATABASE_URL

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (2.0.2) เข้า registry เมื่อวาน

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี MCPB ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Supabase, MongoDB MCP Server, Elasticsearch MCP Server

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Supabase

โดย supabase

server ทางการของ Supabase ให้ AI สร้างตาราง ถามข้อมูล และดูการตั้งค่าโปรเจกต์ในฐานข้อมูล Supabase ของคุณ

บนเครื่องหรือคลาวด์★ 2,993Apache-2.0อัปเดต วันนี้
ติดตั้ง

MongoDB MCP Server

โดย mongodb-js

MongoDB Model Context Protocol Server

รันบนเครื่อง★ 1,157Apache-2.0อัปเดต เมื่อวานซืน
ติดตั้ง

Elasticsearch MCP Server

โดย cr7258

MCP server for interacting with Elasticsearch

รันบนเครื่อง★ 315Apache-2.0อัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

Light strut. Extreme load.

A token-efficient MCP server that lets AI agents query PostgreSQL , MySQL , SQLite , DuckDB , ClickHouse , and SQL Server — safely, in one small Rust binary.

⭐ If this saves you tokens, star the repo — it is the single biggest thing that helps other people find it.


Install in one command — binary + AI setup included

This is the fastest path. It downloads the release binary (SHA256-verified), then configures every AI tool it finds on your machine — Claude Code, Cursor, VS Code, Claude Desktop, Codex, OpenCode, Windsurf, and Zed — so you do not hand-edit a single JSON file. Existing entries for other servers are kept, and every file it touches is backed up first.

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

With your database URL baked in (recommended):

curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash -s -- --setup --database-url 'postgresql://user:pass@localhost:5432/mydb'

Other useful forms:

# Only specific tools

curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash -s -- --setup --tools cursor,vscode,opencode

Project-local configs (.cursor/mcp.json, .vscode/mcp.json, .mcp.json, opencode.json, .codex/config.toml)

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

Binary already installed? Just do the setup step

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

Install only, no setup

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

Then restart your AI tool and ask it:

"List the tables in my database, then show me the 5 most recent orders."

You should see the tables listed, then the 5 most recent orders.

If you run the installer without a URL, configs reference ${env:DATABASE_URL} (or forward it, for Codex) — export DATABASE_URL in the environment that launches your editor before starting it. Full installer reference: docs/INSTALL.md.

One-click install

No terminal? These links open your editor with the server pre-filled. Replace the placeholder database URL with your own where prompted.

ClientOne-click
CursorAdd to Cursor
VS CodeInstall in VS Code
Claude DesktopDownload the .mcpb bundle for your platform from Releases and open it — it asks for DATABASE_URL and installs itself.

GitHub does not render cursor:// / vscode: links clickable. If a button above does not open your editor, paste this into your browser's address bar instead:

vscode:mcp/install?%7B%22command%22%3A%22strut-stack-sql%22%2C%22args%22%3A%5B%22--url-env%22%2C%22DATABASE_URL%22%2C%22--full-tools%22%5D%2C%22env%22%3A%7B%22DATABASE_URL%22%3A%22%24%7Binput%3Adatabase_url%7D%22%7D%2C%22inputs%22%3A%5B%7B%22type%22%3A%22promptString%22%2C%22id%22%3A%22database_url%22%2C%22description%22%3A%22DATABASE_URL%20for%20strut-stack-sql%20%28e.g.%20postgresql%3A%2F%2Fuser%3Apassword%40localhost%3A5432%2Fdbname%29%22%2C%22password%22%3Atrue%7D%5D%7D

Set up by hand (copy-paste)

Prefer the installer above. If you configure by hand, every block below is read-only by default: 13 tools (3 core + 10 introspection), no writes, no DDL. Replace DATABASE_URL with your real URL, or keep --url-env DATABASE_URL and export it. Every block is also machine-checked in docs/CLIENTS.md.

Claude Code
claude mcp add --scope user --transport stdio \

--env DATABASE_URL='postgresql://user:pass@localhost:5432/mydb' \ strut-stack-sql -- strut-stack-sql --url-env DATABASE_URL --full-tools

Or in .mcp.json (project) — Claude Code expands ${VAR} here:

{

"mcpServers": { "strut-stack-sql": { "type": "stdio", "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

Check it with claude mcp get strut-stack-sql (or /mcp inside a session).

Cursor

Global ~/.cursor/mcp.json, or project .cursor/mcp.json. Cursor interpolates ${env:NAME}, so this works with an exported DATABASE_URL and no secret in the file:

{

"mcpServers": { "strut-stack-sql": { "type": "stdio", "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "${env:DATABASE_URL}" } } } }

VS Code

Workspace .vscode/mcp.json (or the user configuration via MCP: Open User Configuration). Note: VS Code uses a top-level servers object, not mcpServers — do not paste a Cursor block here unchanged:

{

"servers": { "strut-stack-sql": { "type": "stdio", "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "${env:DATABASE_URL}" } } } }

Claude Desktop

claude_desktop_config.json (~/Library/Application Support/Claude/ on macOS, ~/.config/Claude/ on Linux):

{

"mcpServers": { "strut-stack-sql": { "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

Codex

~/.codex/config.toml (or project .codex/config.toml). Codex uses TOML, not JSON:

[mcp_servers.strut-stack-sql]

command = "strut-stack-sql" args = ["--url-env", "DATABASE_URL", "--full-tools"] env = { DATABASE_URL = "postgresql://user:pass@localhost:5432/mydb" } startup_timeout_sec = 20

No URL in the file? Use env_vars = ["DATABASE_URL"] instead of env to forward it from Codex's environment.

OpenCode

The CLI is the version-proof path (it writes the right shape for your OpenCode):

opencode mcp add strut-stack-sql --env DATABASE_URL='postgresql://user:pass@localhost:5432/mydb' -- strut-stack-sql --url-env DATABASE_URL --full-tools

Or in opencode.json (global ~/.config/opencode/opencode.json, or project root). command is one array and env vars go in environment, not env:

{

"$schema": "https://opencode.ai/config.json", "mcp": { "strut-stack-sql": { "type": "local", "command": ["strut-stack-sql", "--url-env", "DATABASE_URL", "--full-tools"], "enabled": true, "environment": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" }, "timeout": 30000 } } }

Verify with opencode mcp list. On OpenCode v2, if the server does not appear, nest it under mcp.servers instead of directly under mcp.

Windsurf

~/.config/devin/mcp_config.json (current builds; older builds read ~/.codeium/windsurf/mcp_config.json — use whichever Open MCP config file in Cascade opens):

{

"mcpServers": { "strut-stack-sql": { "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

Press refresh in Cascade after editing.

Zed

~/.config/zed/settings.json (merged under context_servers, everything else kept):

{

"context_servers": { "strut-stack-sql": { "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

Any other MCP client

This is the whole contract — stdio, one binary, one env var:

{

"mcpServers": { "strut-stack-sql": { "command": "strut-stack-sql", "args": ["--url-env", "DATABASE_URL", "--full-tools"], "env": { "DATABASE_URL": "postgresql://user:pass@localhost:5432/mydb" } } } }

Try it

Once your AI tool shows the server as connected, these prompts exercise the whole surface. Start read-only; writes and DDL stay off until you explicitly enable them (see Tools).

"List the tables in my database, with row counts."

"Show me the schema of the orders table, including its foreign keys." "Why is this query slow, and which index would fix it?" (paste any SELECT — analyze_query_performance returns an EXPLAIN tree, tiered findings, and index advice; the advice is text only, never executed) "Find every table that references customers.id."

What the agent sees: execute_sql returns columnar JSON — column names once, compact meta:

{

"ok": true, "data": { "cols": ["id", "email", "name"], "rows": [[42, "ada@example.com", "Ada"]], "meta": { "n": 1, "truncated": false, "limit_injected": true } } }

Smoke-test the binary itself (no database needed) — a JSON initialize response means the server speaks MCP:

echo '{"jsonrpc":"2.0","id":1,"method":"initialize","params":{"protocolVersion":"2025-06-18","capabilities":{},"clientInfo":{"name":"smoke","version":"0"}}}' \

| strut-stack-sql --url 'sqlite::memory:' --full-tools

Connect your database

One URL, one flag. Credentials belong in the environment (or .env discovery in your project), never in a pasted config — prefer --url-env DATABASE_URL.

EngineURL formatNotes
PostgreSQLpostgresql://user:pass@host:5432/dbname
MySQL / MariaDBmysql://user:pass@host:3306/dbnamemariadb engine hint maps here
SQLitesqlite:///absolute/path/app.db, sqlite::memory:Constrain files with --sqlite-allowlist DIR[,DIR…]

| DuckDB | duckdb:///absolute/path/analytics.duckdb, `duckdb::memory

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx