原型 · 预览版:收录官方注册中心里的全部服务器,每 30 分钟同步一次。评价和账户功能将在后续阶段推出。
PopNx MCP为使用 AI 的人准备的 MCP 服务器 · 用大白话讲清楚

LiteScope

作者:croc100版本 0.9.0i★ –i在你的电脑上运行
注册名称io.github.croc100/litescope

安装

概览

作者提供的说明(英文原文)

Operations toolchain for SQLite, Cloudflare D1 & Turso: inspect, diff, migrate, monitor & repair.

PopNx MCP 的三大支柱

这三项永远不会合并成一个分数:意见、测量和人气是不同的东西。

它能帮你做什么

我们还没有为它写通俗的介绍。下面是我们从注册中心读取到的事实。

  • 连接方式: 在你的电脑上运行
  • 传输方式: stdio
  • 分类: 数据库与数据集
  • 你需要填写:CLOUDFLARE_API_TOKEN

安装

选择你使用的 AI 应用,然后复制设置。

安装之前

  • 基础检查:1 项中通过 1 项
  • 在你的电脑上运行,拥有你的用户账户的权限(文件、网络、应用)。
  • 需要你自己填写: CLOUDFLARE_API_TOKEN, CLOUDFLARE_ACCOUNT_ID

标为机密的值是你账户的钥匙。千万不要分享给别人,也不要粘贴到聊天里。

你需要

  • npm已安装 Node.js(用于 npx 命令)

你用的是哪个应用?

在上方选择你的应用。我们会记住它,下次按钮会显示“安装到 …”。

打开 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 中打开

或者自己复制设置

粘贴到项目中的 .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"
      }
    }
  }
}

浏览器会先询问是否打开应用,然后应用会显示设置并请你确认。密钥的值会留空,由你自己填写。

在 VS Code 中打开

或者自己复制设置

粘贴到项目中的 .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 只能连接互联网上的服务器。请选择其他应用。

你的选择通过 Cookie 保存在这台设备上,无需账户。

需要你填写的值

  • CLOUDFLARE_API_TOKEN 机密 env
    Cloudflare API token — only needed for Cloudflare D1 sources (d1://...)
  • CLOUDFLARE_ACCOUNT_ID env
    Cloudflare account ID — only needed for Cloudflare D1 sources

这些设置是根据作者在注册中心的条目生成的。如果 README 的写法不同,请以 README 为准。

它能做什么

它在你的电脑上运行;安装后,工具列表会显示在你的 AI 应用中。

基础检查i

我们检查的是任何人都能看到的信息;我们没有阅读代码。不适用的检查项不计入总数。 · 检查于 2026年11月7日

  • ✓ 通过

    作者与仓库一致

    注册名称已通过 GitHub 账户 croc100 验证,该账户拥有此仓库

  • … 尚未检查

    仍在维护

    我们还没有从 GitHub 读取这个仓库

  • … 尚未检查

    有许可证

    我们还没有从 GitHub 读取这个仓库

  • – 不适用

    端点有响应

    它在你的电脑上运行,没有互联网端点

  • – 不适用

    使用 OAuth 登录

    在你的电脑上运行,改用本地设置

  • … 尚未检查

    工具描述中没有隐藏指令

    它在你的电脑上运行;我们只能读取互联网端点的工具列表

与“数据库与数据集”中的其他服务器比较i

  • 星标数多于此分类中其他 954 个服务器的 0%
  • 发布到注册中心的时间比此分类中其他 954 个服务器的 43% 更新
  • 基础检查结果等于或优于此分类中其他 954 个服务器的 100%

与注册中心里这个分类中所有活跃的服务器比较。只有当发布者拥有该仓库时,星标数才计入。

常见问题

LiteScope 安全吗?

它在 1 项适用的基础检查中通过了 1 项。我们没有阅读代码。在添加密钥或令牌之前,请先看看这个服务器要求哪些权限,并使用只具备所需权限的密钥。

它需要哪些密钥或代码?

你需要填写:CLOUDFLARE_API_TOKEN

它在我的电脑上运行还是在云端?

它在你的电脑上运行。你的 AI 应用会在需要时启动它,数据不会经过作者的服务器(除非它自己调用在线服务)。

它还在维护吗?

GitHub 仓库最后更新于–,最新版本(0.9.0)于42天前进入注册中心。

哪些应用可以使用它?

支持 MCP 的应用,例如 Claude Desktop、Claude Code、Cursor 和 VS Code。你的电脑上还需要有 Node.js。

有什么可以替代它?

同一分类中有:Supabase, MongoDB MCP Server, Elasticsearch MCP Server

替代选择

同一分类中其他作者的服务器,按星标数排序。

如何看卡片:★ GitHub 星标i三大支柱:评价 · 检查 · 使用情况i更新 = 最新版本发布到注册中心的时间i

Supabase

作者:supabase

MCP server for interacting with the Supabase platform

电脑或云端★ 2,993Apache-2.0昨天更新
安装

MongoDB MCP Server

作者:mongodb-js

MongoDB Model Context Protocol Server

在你的电脑上运行★ 1,157Apache-2.0前天更新
安装

MCP server for interacting with Elasticsearch

在你的电脑上运行★ 315Apache-2.014个月前更新
安装

作者的 README

打开 README

按原文从作者的仓库复制。PopNx MCP 没有审查或背书其内容。HTML、图片和脚本已被移除。链接会离开本站。

Litescope

Let AI agents touch production SQLite — safely. Diagnose before the write, rewind after it. For Cloudflare D1, Turso, and local files.

Website · Roadmap · Sponsor

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.


Why a tool for SQLite?

"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:

  • `sqlite3` assumes one database. Production assumes thousands. There's no 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.
  • Embedded means unobservable. The very thing that makes SQLite great — no server — is what leaves you blind in production.
  • Agents now write to your data. No SQLite tool was built assuming an AI would run the migration. Litescope was.

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.


MCP — Give Claude direct access to your D1

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"

Read-only tools (always available)
ToolWhat it does
litescope_d1_listList all D1 databases in the account (UUID, name, DSN)
litescope_queryRun a SELECT on any D1 database or local SQLite file
litescope_schemaInspect tables, columns, indexes
litescope_healthCheck for corruption, WAL bloat, fragmentation
litescope_diffSchema and row-count diff between any two sources
litescope_migrate_planGenerate migration SQL + blast-radius analysis
litescope_migrate_diffGenerate migration SQL only (no blast-radius)
litescope_advisePerformance analysis: missing indexes, full table scans
litescope_checkVerify a backup against a reference database
litescope_fingerprintCluster a fleet by schema fingerprint
litescope_fleet_healthTriage faults across a whole fleet
litescope_locksDiagnose database is locked / SQLITE_BUSY (static + live)
litescope_snapshot_listList 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.

Write tools (--allow-writes)
ToolWhat it does
litescope_query_writeMutating 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_undoRevert 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_applyApply a migration — same reversible contract as litescope_query_write
litescope_autopilotSelf-driving optimization (ANALYZE, indexes, VACUUM) — dry-run by default
litescope_snapshotTake a point-in-time backup of a local database
litescope_restoreRestore a local database from a snapshot
litescope_rewindRestore a D1 database to a point in time (Time Travel)
litescope_d1_pullDownload a D1 database to a local SQLite file
litescope_d1_createCreate a new D1 database
litescope_d1_deleteDelete 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.

Prompts & Resources

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.

Interactive views (MCP Apps)

Four tools answer with an interactive panel rendered inside the conversation, via the MCP Apps extension (io.modelcontextprotocol/ui):

ToolView
litescope_locksLock doctor — verdict, each finding's exact PRAGMA/DSN fix, live lock probe
litescope_healthHealth panel — integrity, WAL, fragmentation, snapshot cover
litescope_query_write / litescope_migrate_applyBlast radius — rows affected per statement, schema impact, rewind token
litescope_fleet_healthFleet 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.

Remote / hosted (Streamable HTTP)

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.


D1 — CLI operations

Rewind — D1 Time Travel
# 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"

List available restore points (30-day window + migration timestamps)

litescope rewind list d1://DB_ID

Pull / Push — sync between D1 and local SQLite
# Download D1 → local (for inspection, backup, or diffing)

litescope d1 pull d1://DB_ID ./snapshot.db

Upload local → D1 (seed a fresh database or restore from snapshot)

litescope d1 push ./seed.db d1://DB_ID litescope d1 push ./seed.db d1://DB_ID --drop-existing

Migrate — schema changes on D1
# Diff local dev schema against live D1 — generate migration SQL

litescope migrate local.db d1://DB_ID

Apply a migration directly to D1

litescope migrate apply d1://DB_ID migration.sql

Bisect — find which commit broke a D1 database

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.


Local SQLite

doctor — one-shot checkup
litescope doctor a

只显示了开头部分;其余内容请在仓库中阅读

问 PopNx