nothing
Do Nothing
Deliberately does nothing and returns '...'. Use it to acknowledge a step that needs no action, or as a placeholder where a real database/dataset operation may live someday.
anythingio.github.Meador793由 GitHub 账号 Meador793 发布v2.0.0更新于 Nov 5, 2026
Mr. Decoupler: a private seam between AI and any database. No SQL, only views you approve.
一个刻意极简的只读数据库接缝:只暴露表结构与预先批准的视图,未配置数据源时则什么都不做。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
参照 仓库 中的启动说明。
[The Nothing: three dots on black]
a.k.a. Mr. Decoupler: the fastest private way to connect AI to a database.
Sometimes less is more.
Most database MCP servers hand the AI a query tool. The AI writes SQL, rows pour into the context window, and every question costs another round trip, more tokens and more exposure.
The Nothing turns that around. It holds the database connection privately, on your side, and gives the AI one minimal, read-only tool that can't run SQL:
read_view schema: tables, columns and row counts. Structure only, never records.read_view <name>: a view you approved ahead of time, row-capped. Optional.The AI can't write queries, browse tables, or change anything. It understands the shape of your data without dragging the data itself into the conversation. That's the decoupling, and it's why we call it Mr. Decoupler.
With no database around, it does exactly what the name says: nothing.
Open a project and it connects on its own, checking in this order:
THE_NOTHING_DB, if you set itDATABASE_URL in the environmentTHE_NOTHING_DB or DATABASE_URL in the project's .env fileNothing found means nothing connected. Auto-detection only looks inside a project folder, never your home folder or a drive root. Turn it off with THE_NOTHING_AUTODETECT=off.
Use a read-only database account. The Nothing enforces read-only on its side too, but a read-only account means nothing could write even by mistake.
When you want the AI to see actual numbers, approve views in a JSON file and point THE_NOTHING_VIEWS at it (see examples/views.example.json):
Aggregates make the best views: they give the AI what it needs to reason without raw rows in the conversation.
Install The Nothing from the VS Code Marketplace and open your project. That's it: it auto-detects the database. To connect to something else, run The Nothing: Set Private Data Source from the Command Palette; the connection goes into VS Code's encrypted secret storage, never settings.json.
Download the-nothing-2.0.0.mcpb from the latest release and double-click it. Claude Desktop asks for the data source once and stores it as a sensitive setting. (Claude Desktop has no project folder, so this is the one place you paste a connection string.)
Node.js 18+ is the only requirement.
If your editor starts MCP servers in the project folder, that's all; it auto-detects. Otherwise add "env": { "THE_NOTHING_DB": "postgres://readonly:password@localhost:5432/shop" }.
VS Code without the extension: .vscode/mcp.json
Visual Studio 2022 (17.14+) / 2026: <SolutionDir>\.mcp.json
OpenAI Codex CLI: ~/.codex/config.toml
ChatGPT, Grok, claude.ai custom connectors and hosted agent APIs reach MCP servers over HTTPS:
Clients send Authorization: Bearer <token>. With a data source, web mode refuses to start on a public address without a token, unless you set THE_NOTHING_ALLOW_PUBLIC_DATA=1 because a proxy in front already authenticates.
All optional.
See PUBLISHING.md for releasing.
Is it really private? The connection and credentials stay in the server process on your machine. The AI only sees what read_view returns: structure and row counts, plus views you approved. Anything it reads is sent to your AI provider as part of the conversation, so keep views to aggregates where you can.
Why not a query tool? Because a query tool lets the AI decide what data enters the context window. The Nothing makes that your decision.
Can it write to my database? No. Views are read-only, run inside read-only or rolled-back transactions, and you should connect with a read-only account anyway.
Does it still do nothing? With no database, yes, exactly as in 1.x.
MIT
mcp-name: io.github.Meador793/the-nothing
...
来源:README.md,提交 6fcaf19
Do Nothing
Deliberately does nothing and returns '...'. Use it to acknowledge a step that needs no action, or as a placeholder where a real database/dataset operation may live someday.
anythingPass Through
Returns the payload exactly as received (identity). This is Mr. Decoupler's seam: route data operations through it today, swap in a real implementation later without changing the AI-facing contract.
payload必填operationSearch (Nothing)
Always returns an empty result list. It never searches any data.
query必填Fetch (Nothing)
Fetches nothing. Returns an empty document for any id, because nothing is stored here.
id必填已满足适用检查项的 90%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
Your database / dataset ──(private, read-only)──▶ The Nothing ──(read_view: schema + approved views)──▶ AI Postgres · MySQL · SQL Server │ SQLite · CSV · TSV · JSONL └─ the AI can't write SQL, browse or change data{ "views": { "revenue_by_month": { "description": "Total revenue per month.", "sql": "SELECT date_trunc('month', placed_at) AS month, SUM(amount) AS revenue FROM orders GROUP BY 1 ORDER BY 1" }, "customers_by_region": { "description": "Counts only. No names or emails.", "sql": "SELECT region, COUNT(*) AS customers FROM customers GROUP BY region" } }}{ "mcpServers": { "the-nothing": { "command": "npx", "args": ["-y", "the-nothing-mcp"] } }}{ "servers": { "the-nothing": { "type": "stdio", "command": "npx", "args": ["-y", "the-nothing-mcp"] } } }{ "servers": { "the-nothing": { "type": "stdio", "command": "cmd", "args": ["/c", "npx", "-y", "the-nothing-mcp"] } } }[mcp_servers.the-nothing]command = "npx"args = ["-y", "the-nothing-mcp"]THE_NOTHING_DB=postgres://… THE_NOTHING_HTTP_TOKEN=change-me npx -y the-nothing-mcp --http --port 3000npm installnpm test # tools, transports, SQLite, CSV, JSONL, auto-detection, credential redaction, web-mode safetynpm run test:pg # plus a real, temporary Postgres servernpm run build:vscode # bundles the server into the VS Code extensionnpm run build:mcpb # builds the Claude Desktop extension