Supabase
MCP server for interacting with the Supabase platform
제작자가 쓴 설명(영어 원문)
Operations toolchain for SQLite, Cloudflare D1 & Turso: inspect, diff, migrate, monitor & repair.
이 세 가지는 절대 하나의 점수로 합치지 않아요. 의견, 측정, 인기는 서로 다른 것이니까요.
이 서버는 아직 쉬운 말로 된 요약을 쓰지 못했어요. 아래는 레지스트리에서 읽어 온 사실이에요.
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID비밀로 표시된 값은 내 계정의 열쇠예요. 절대 다른 사람과 공유하거나 채팅에 붙여 넣지 마세요.
필요한 것
어떤 앱을 쓰세요?
위에서 앱을 고르세요. 기억해 두었다가 다음부터는 버튼에 “…에 설치”라고 표시해요.
Claude Desktop → Settings → Developer → Edit Config를 열고 claude_desktop_config.json에 이 내용을 붙여 넣으세요
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope",
"mcp"
],
"env": {
"CLOUDFLARE_API_TOKEN": "your-value",
"CLOUDFLARE_ACCOUNT_ID": "your-value"
}
}
}
}터미널에서 이 명령어를 실행하세요
claude mcp add litescope --env CLOUDFLARE_API_TOKEN=your-value --env CLOUDFLARE_ACCOUNT_ID=your-value -- npx -y litescope mcp실행하기 전에 빈 값을 채워 주세요.
프로젝트의 .cursor/mcp.json 또는 ~/.cursor/mcp.json에 붙여 넣으세요
{
"mcpServers": {
"litescope": {
"command": "npx",
"args": [
"-y",
"litescope",
"mcp"
],
"env": {
"CLOUDFLARE_API_TOKEN": "your-value",
"CLOUDFLARE_ACCOUNT_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
프로젝트의 .vscode/mcp.json에 붙여 넣으세요
{
"servers": {
"litescope": {
"type": "stdio",
"command": "npx",
"args": [
"-y",
"litescope",
"mcp"
],
"env": {
"CLOUDFLARE_API_TOKEN": "your-value",
"CLOUDFLARE_ACCOUNT_ID": "your-value"
}
}
}
}브라우저가 앱을 열지 물어본 다음, 앱이 설정을 보여 주고 확인을 요청해요. 키 값은 비워 두니 직접 입력하세요.
이 서버는 내 컴퓨터에서 실행되는데, ChatGPT는 인터넷에 있는 서버에만 연결할 수 있어요. 다른 앱을 고르세요.
선택한 앱은 이 기기의 쿠키에만 저장돼요. 계정은 필요 없어요.
CLOUDFLARE_ACCOUNT_ID env이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 7일 점검
레지스트리 이름이 GitHub 계정 croc100 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
아직 GitHub에서 이 저장소를 읽어 오지 않았어요
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 1개 중 1개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: CLOUDFLARE_API_TOKEN
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 – 변경됐고, 최신 버전(0.9.0)은 42일 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Node.js도 있어야 해요.
같은 카테고리에는: Supabase, MongoDB MCP Server, Elasticsearch MCP Server
같은 카테고리에서 다른 제작자가 만든 서버예요. 스타 순으로 정렬했어요.
카드 보는 법:★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
MCP server for interacting with the Supabase platform
MongoDB Model Context Protocol Server
MCP server for interacting with Elasticsearch
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Let AI agents touch production SQLite — safely. Diagnose before the write, rewind after it. For Cloudflare D1, Turso, and local files.
Ask Claude to change your D1 database — and undo it if it's wrong. Every write is dry-run by default with the exact blast radius, and one call away from revert.
Free and open source (AGPL-3.0) — every command, every fleet operation, self-hostable, no license key. The only paid thing is the hosted dashboard we run for you.
"It's just a file — what's there to operate?"
That was true when SQLite was a local dev toy. It isn't anymore. D1, Turso, LiteFS, and Litestream put SQLite in production at fleet scale — thousands of databases, one per tenant. But the tooling never caught up:
pg_stat, no APM, no standard way to see *from the outside* why a database is locked, why WAL is bloating, or which tenant went silent.Postgres has a mature tool for every problem. SQLite has none — so Litescope is one binary for the whole job: fleet observability, file-level superpowers (bisect / rewind / salvage), lock & WAL diagnostics, and a safe interface for agents. Things a generic DB client structurally can't do.
Claude Code — install the plugin, which brings the MCP server plus five skills (lock doctor, safe writes, migration review, fleet sweep, corruption recovery) that teach the agent how to use it when something is wrong:
/plugin marketplace add croc100/Litescope
/plugin install litescope@litescope
Or just the MCP server, one line (read-only):
claude mcp add litescope -- litescope mcp
With writes + D1 (Litescope still dry-runs every write and captures a rewind point before applying):
claude mcp add litescope \
-e CLOUDFLARE_API_TOKEN=your-token \ -e CLOUDFLARE_ACCOUNT_ID=your-account-id \ -- litescope mcp --allow-writes
Cursor — one-click: ➕ Add litescope to Cursor (installs read-only; add --allow-writes and the Cloudflare env vars in mcp.json to enable writes).
Claude Desktop / Windsurf / any MCP client — add to the config file directly:
{
"mcpServers": { "litescope": { "command": "litescope", "args": ["mcp", "--allow-writes"], "env": { "CLOUDFLARE_API_TOKEN": "your-token", "CLOUDFLARE_ACCOUNT_ID": "your-account-id" } } } }
Also listed in the MCP Registry as io.github.croc100/litescope.
Then ask Claude things like:
"List my D1 databases"
"Show me the schema of the users table in d1://abc-123" "Delete every inactive user from d1://prod-db-id" ← dry-run first: shows the exact blast radius before you approve the write "Undo that — put it back the way it was" ← one-call revert via the rewind_token from the write "The deploy at 2pm broke something — rewind prod to 1:45pm" "Diff my local dev.db against d1://prod-db-id and show me the migration SQL"
| Tool | What it does |
|---|---|
litescope_d1_list | List all D1 databases in the account (UUID, name, DSN) |
litescope_query | Run a SELECT on any D1 database or local SQLite file |
litescope_schema | Inspect tables, columns, indexes |
litescope_health | Check for corruption, WAL bloat, fragmentation |
litescope_diff | Schema and row-count diff between any two sources |
litescope_migrate_plan | Generate migration SQL + blast-radius analysis |
litescope_migrate_diff | Generate migration SQL only (no blast-radius) |
litescope_advise | Performance analysis: missing indexes, full table scans |
litescope_check | Verify a backup against a reference database |
litescope_fingerprint | Cluster a fleet by schema fingerprint |
litescope_fleet_health | Triage faults across a whole fleet |
litescope_locks | Diagnose database is locked / SQLITE_BUSY (static + live) |
litescope_snapshot_list | List point-in-time snapshots for a local database |
litescope_query enforces token budgeting — max_rows cap + columns projection + truncation reporting — so a large table never blows the agent's context window.
--allow-writes)| Tool | What it does |
|---|---|
litescope_query_write | Mutating SQL — dry-run by default with exact rows affected and blast-radius diff (D1 dry-runs measured on a pulled copy); on apply, captures an undo point first (local: snapshot, D1: Time Travel bookmark) and returns it as a rewind_token |
litescope_write_undo | Revert a write in one call using its rewind_token — local files and D1 alike; tokens are bound to the database they were minted for |
litescope_migrate_apply | Apply a migration — same reversible contract as litescope_query_write |
litescope_autopilot | Self-driving optimization (ANALYZE, indexes, VACUUM) — dry-run by default |
litescope_snapshot | Take a point-in-time backup of a local database |
litescope_restore | Restore a local database from a snapshot |
litescope_rewind | Restore a D1 database to a point in time (Time Travel) |
litescope_d1_pull | Download a D1 database to a local SQLite file |
litescope_d1_create | Create a new D1 database |
litescope_d1_delete | Delete a D1 database (irreversible) |
Write tools are off unless you start the server with --allow-writes, every write is dry-run by default, and no write commits without an auto-captured undo point. See the security model for the full boundary — what each layer protects against, and what it doesn't.
Beyond tools, the MCP server exposes prompts — canned workflows like diagnose_locked_database, review_migration, safe_optimize, and health_checkup that chain the tools above into a safe plan — and resources: a database's schema, data dictionary, live health, and live lock diagnosis — readable by the agent without spending a tool call, and subscribable for push updates whenever the underlying file changes. Bind one with litescope mcp ./app.db, or address any source via litescope://schema/{source}, litescope://dictionary/{source}, litescope://health/{source}, and litescope://locks/{source}.
The server implements MCP 2026-07-28, the stateless revision: server/discover, per-request protocol metadata, resultType, caching hints (ttlMs / cacheScope), and subscriptions/listen streams — alongside tool annotations (read-only / destructive hints), structured output (structuredContent + outputSchema) and argument completion. It is dual-era: a client that still opens with the initialize handshake is served MCP 2025-06-18 unchanged, so older MCP clients keep working.
Four tools answer with an interactive panel rendered inside the conversation, via the MCP Apps extension (io.modelcontextprotocol/ui):
| Tool | View |
|---|---|
litescope_locks | Lock doctor — verdict, each finding's exact PRAGMA/DSN fix, live lock probe |
litescope_health | Health panel — integrity, WAL, fragmentation, snapshot cover |
litescope_query_write / litescope_migrate_apply | Blast radius — rows affected per statement, schema impact, rewind token |
litescope_fleet_health | Fleet grid — every database worst-first, with drill-down |
The views are single self-contained documents compiled into the binary. They load nothing from the network, so the host's strictest CSP applies and a database's contents cannot leave the iframe. They never write, either: a button that would apply or undo a write hands the request back to the conversation, because a click inside an embedded panel is not the user approving a production write. A host without the extension gets the same results as text.
By default litescope mcp speaks stdio. For a hosted, remote, or multi-client setup, serve over the Streamable HTTP transport instead:
litescope mcp --http :7577 --http-token "$LITESCOPE_MCP_TOKEN"
POST a JSON-RPC message to the endpoint (/mcp by default). Modern clients are served statelessly — no session — with each request carrying its own protocol metadata and the standard MCP-Protocol-Version / Mcp-Method / Mcp-Name headers, and change notifications arriving on a subscriptions/listen response stream. Handshake-era clients still get a session via the Mcp-Session-Id header and a GET SSE stream.
Before exposing it publicly, lock it down: --http-token (or the LITESCOPE_MCP_TOKEN env var) requires Authorization: Bearer on every request, and --http-origin allowlists browser Origins (localhost is always allowed) for DNS-rebinding protection. Without a token the endpoint is open and the server prints a warning.
# Restore to a previous point in time
litescope rewind d1://DB_ID --to "2h ago" litescope rewind d1://DB_ID --to "yesterday" litescope rewind d1://DB_ID --to "2024-01-15T10:30:00Z"
litescope rewind list d1://DB_ID
# Download D1 → local (for inspection, backup, or diffing)
litescope d1 pull d1://DB_ID ./snapshot.db
litescope d1 push ./seed.db d1://DB_ID litescope d1 push ./seed.db d1://DB_ID --drop-existing
# Diff local dev schema against live D1 — generate migration SQL
litescope migrate local.db d1://DB_ID
litescope migrate apply d1://DB_ID migration.sql
Binary-search D1 Time Travel to pinpoint the exact snapshot where a query started returning wrong results:
litescope bisect d1://DB_ID \
--good "3d ago" \ --bad now \ --check "SELECT COUNT(*) FROM orders WHERE status = 'paid'" \ --expect "gt:0"
Checks gt:0 (greater-than), lt:N, eq:N, or a literal value. Narrows to the snapshot window where the condition first failed, then lets you inspect or rewind.
doctor — one-shot checkuplitescope doctor a앞부분만 보여 드려요. 나머지는 저장소에서 읽어 보세요