Supabase
MCP server for interacting with the Supabase platform
作者による説明(英語の原文)
Token-efficient MCP server for MySQL, PostgreSQL, SQLite, DuckDB, SQL Server, and ClickHouse
この3つを1つのスコアにまとめることはしません。意見、測定、人気はそれぞれ別のものだからです。
このサーバーのやさしい解説はまだ書いていません。以下はレジストリから読み取った事実です。
使っているAIアプリを選んで、設定をコピーしてください。
DATABASE_URL「秘密」と表示された値は、あなたのアカウントの鍵です。絶対に人に教えたり、チャットに貼り付けたりしないでください。
どのアプリを使っていますか?
上でアプリを選んでください。選んだアプリを覚えておくので、次からはボタンに「…にインストール」と表示されます。
リンク先は作者自身のファイルです。私たちが置いたり再パッケージしたりしたものではありません。ファイルを開くと、Claude Desktopがインストールします。
ターミナルでこれを実行します
動かす前に、空欄の値を入力してください。
ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
ブラウザがアプリを開いてよいか確認し、そのあとアプリが設定を表示して確認を求めます。キーの値は空欄のままなので、自分で入力してください。
これはパソコンで動くサーバーですが、ChatGPTがつなげるのはインターネット上のサーバーだけです。ほかのアプリを選んでください。
選んだアプリは、この端末のCookieに保存されます。アカウントは不要です。
この設定は、作者のレジストリ登録情報から作成しています。READMEと違う場合は、READMEに従ってください。
パソコンで動くサーバーです。インストールすると、ツール一覧がAIアプリに表示されます。
誰でも見られる情報をチェックしており、コードは読んでいません。当てはまらない項目は数に入れていません。 · 2026年11月7日にチェック
レジストリ名は、リポジトリを所有するGitHubアカウント rzlco666 で確認済みです
このリポジトリはまだGitHubから読み取っていません
このリポジトリはまだGitHubから読み取っていません
これはパソコンで動くため、インターネット上のエンドポイントはありません
パソコンで動き、代わりにローカルの設定を使います
パソコンで動くサーバーです。ツール一覧を読み取れるのは、インターネット上のエンドポイントがある場合だけです
レジストリでこのカテゴリにある有効なすべてのサーバーと比較しています。スターは、公開者がリポジトリの所有者である場合だけ数えます。
当てはまる基本チェック1項目のうち1項目に合格しました。コードは読んでいません。キーやトークンを追加する前に、サーバーがどんなアクセスを求めているかを確認し、必要な権限だけを持つキーを使ってください。
入力が必要なもの:DATABASE_URL
あなたのパソコンで動きます。必要なときにAIアプリが起動し、データは作者のサーバーを通りません(サーバー自体がオンラインサービスを呼び出す場合を除きます)。
GitHubリポジトリの最終更新は–、最新バージョン(2.0.2)がレジストリに届いたのは昨日です。
Claude Desktop、Claude Code、Cursor、VS CodeなどのMCP対応アプリで使えます。パソコンにMCPBも必要です。
同じカテゴリには:Supabase, MongoDB MCP Server, Elasticsearch MCP Server
同じカテゴリで、ほかの作者が作ったサーバー。スターの多い順。
カードの見方:★ GitHubスターi3つの柱:レビュー · チェック · 利用状況i更新=最新バージョンをレジストリに公開した日i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
作者のリポジトリから書かれたとおりにコピーしたものです。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.
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
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash -s -- --setup --project
curl -fsSL https://raw.githubusercontent.com/rzlco666/strut-stack-sql/main/install.sh | bash -s -- --setup --skip-install
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.
No terminal? These links open your editor with the server pre-filled. Replace the placeholder database URL with your own where prompted.
| Client | One-click |
|---|---|
| Cursor | Add to Cursor |
| VS Code | Install in VS Code |
| Claude Desktop | Download 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
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 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).
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}" } } } }
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_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/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.
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.
~/.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.
~/.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" } } } }
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" } } } }
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
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.
| Engine | URL format | Notes |
|---|---|---|
| PostgreSQL | postgresql://user:pass@host:5432/dbname | |
| MySQL / MariaDB | mysql://user:pass@host:3306/dbname | mariadb engine hint maps here |
| SQLite | sqlite:///absolute/path/app.db, sqlite::memory: | Constrain files with --sqlite-allowlist DIR[,DIR…] |
| DuckDB | duckdb:///absolute/path/analytics.duckdb, `duckdb::memory
冒頭だけを表示しています。続きはリポジトリで読めます