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