
Neither Mcp
io.github.stonianua由 GitHub 帳號 stonianua 發布v0.1.5更新於 Oct 25, 2026
Project context for Cursor/Claude via stdio MCP. Key: www.neither.online/start
概覽
一個本機 stdio MCP 伺服器,把 Cursor、Claude Desktop、Claude Code 或 Gemini CLI 連接到 Neither 託管的決策記憶工作區,用來搜尋與保存專案脈絡。
- 可以做什麼
- 在 Neither 工作區的決策記憶中搜尋,並依片段 id 或儲存庫相對檔案路徑取回已存片段。透過 memory_push 把片段文字及選用的來源資訊寫入工作區記憶。在 Cursor、Claude Desktop、Claude Code 或 Gemini CLI 中為助理提供專案脈絡。README 未列出完整工具清單,除搜尋與推送外的具體能力未說明。
- 適用情境
- 當你希望 Cursor、Claude Desktop、Claude Code 或 Gemini CLI 中的助理從共用的 Neither 工作區回想並保存專案決策,而不只依賴對話脈絡時,值得加入。適合已在使用 Neither 或需要以工作區金鑰存取託管決策記憶的團隊。
- 執行需求
- 本機需 Node.js 20+ 且 npx 在 PATH 中;此套件以本機 stdio 程序執行,不是遠端端點。必須提供 Neither 工作區 API 金鑰,放在 NEITHER_API_KEY 中,未設定前 MCP 會保持未連線。NEITHER_API_BASE 為選用,預設指向 Neither API 主機。需要能存取該 API 主機的網路。
安裝
在 SourceWeft 中
- 開啟 儀表板中的 Neither Mcp,將其新增到工作區。
- 為需要使用其工具的對話啟用該服務。
Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。
其他 MCP 客戶端
參照 儲存庫 中的啟動說明。
README
neither-mcp
Public source mirror for the Neither CLI and MCP server.
Neither is decision memory for Cursor, Claude Desktop, and Claude Code, with Gemini CLI as an additional install surface. Start / get a workspace API key: https://www.neither.online/start/?product=dev&utm_source=plugin&utm_campaign=neither-mcp. The npm package homepage uses the same /start URL with utm_source=npm.
Install (Node 20+): npx -y @neitherai/mcp-server@latest — then set NEITHER_API_KEY in your MCP config (Cursor mcp.json, Claude Desktop, or Claude Code claude mcp add).
Try Neither in Cursor
Get your workspace key from https://www.neither.online/start/?product=dev&utm_source=plugin&utm_campaign=neither-mcp.
Then Add to Cursor:
[Add to Cursor] [Add to Cursor]
Configure the key locally in Cursor (replace REPLACE_WITH_YOUR_WORKSPACE_KEY). Node.js 20+ required.
Then follow the existing own-project walkthrough: llms-install.md (first-use section).
MCP server (Cursor / Claude Desktop / Claude Code)
Canonical install: npx -y @neitherai/mcp-server@latest
Fallback — add this to Cursor MCP settings (mcp.json), Claude Desktop config, or Claude Code user MCP config:
NEITHER_API_KEY— required workspace keyNEITHER_API_BASE— optional; defaults tohttps://api.neither.online
Docs: https://www.neither.online/docs/mcp
The root Dockerfile builds this stdio server (not a remote HTTP process) so hosts such as Glama can introspect tools/list. The image sets a placeholder NEITHER_API_KEY so the process can start; inject a real workspace key at run time.
Agent install: llms-install.md
Claude Code (CLI)
Neither is not listed in a Claude Code marketplace card today. Use the same local stdio server via Claude Code’s MCP commands (Node 20+):
Then claude mcp list should show neither as Connected. Put the workspace key only in that -e / config env (never in chat). Restart or open a new Claude Code session, then ask for memory_search on a note you pushed (see llms-install.md).
Equivalent JSON (if you edit Claude Code user MCP config by hand) matches the Cursor / Claude Desktop block below.
Guide: Keeping Claude Code's rules and memory from being rewritten or lost (deny rules, a PreToolUse hook, git, and what survives /compact).
Claude Desktop (MCPB)
One-click local stdio bundle for Claude Desktop. Pack command:
That vendors packages/mcp-server into the .mcpb and spawns Claude’s bundled Node (node ${__dirname}/server/index.js). Cursor JSON config still uses npx -y @neitherai/mcp-server@latest.
Sideload steps, env vars, and the Windows + macOS smoke checklist (human; not run in CI): DESKTOP-EXTENSION.md.
This packaging does not mean the extension is listed or submitted to Anthropic.
See also mcpb/README.md. The release-assets workflow attaches the .mcpb and Gemini CLI archives together on a published GitHub Release. Do not remove the .mcpb.
Gemini CLI (additional install)
Primary tested clients remain Cursor and Claude Desktop. Gemini CLI uses the same stdio server (npx -y @neitherai/[email protected] in gemini-extension.json; Cursor JSON uses @latest). This is not a claim that a Gemini gallery card is live.
Enter NEITHER_API_KEY when prompted (required). Node.js 20+. MCP stays Disconnected until the key is set.
Gemini CLI 0.59 treats that GitHub URL as a github-release install: it downloads a custom Release asset and only extracts .tar.gz / .zip. Release v0.1.3 attaches linux.neither-mcp.tar.gz, darwin.neither-mcp.tar.gz, and win32.neither-mcp.zip (gemini-extension.json at archive root, npm pin @neitherai/[email protected]) in addition to the Claude Desktop .mcpb. A Release whose only custom asset is the .mcpb still makes 0.59 unpack a non-extension tree, then git clone into the same non-empty temp dir fails — do not remove the .mcpb.
If those Gemini archives misbehave, clone main instead:
Local-path install of this repo (a checkout that already contains gemini-extension.json) also works.
Cursor Marketplace packaging
This repo is a single Cursor Plugin (not a multi-plugin marketplace). Manifests follow cursor/plugin-template and the Cursor Plugins reference:
There is no .cursor-plugin/marketplace.json (that file is only for multi-plugin repos). There is no remote MCP URL and no OAuth-only install path.
After a marketplace install, set NEITHER_API_KEY under Plugins → Configure (workspace key from quickstart). Node 20+ and npx must be on PATH. This packaging does not mean Neither is listed on the Cursor Marketplace; a maintainer still submits the public repo at cursor.com/marketplace/publish for manual review.
Try-it sample: https://github.com/stonianua/neither-demo
CLI
Push local docs to decision memory (separate from MCP install):
Homebrew (macOS / Linuxbrew):
Docs: https://www.neither.online/docs/cli
Packages
Published npm packages:
@neitherai/mcp-server— MCP server for Cursor, Claude Desktop, Claude Code, and Gemini CLIneither— CLI for pushing local docs to decision memory
Privacy Policy
The Neither privacy policy (collection, use and storage, third-party sharing / subprocessors, retention, and contact) is published at https://www.neither.online/privacy/. Privacy contact: [email protected]. Support: [email protected].
This repository’s MCP server, Claude Desktop extension, and Gemini CLI extension are a local stdio process. They are not a remote HTTPS MCP server.
- Collection. Tool arguments you or the model supply (search queries, repo-relative file paths, snippet ids, and for
memory_pushsnippet text and optional provenance). The workspace API key is sent as an HTTP Bearer token to the Neither API (NEITHER_API_BASE, defaulthttps://api.neither.online). - Use and storage. The local process uses the key only to call that API. Claude Desktop stores sensitive
user_configvalues in the OS keychain. Neither stores workspace decision memory as described in the privacy policy. - Third-party sharing. The connector sends requests to the Neither API host you configure. Neither’s subprocessors and sharing rules are in the privacy policy. This connector does not add a second vendor beyond that API host.
- Retention. Per the privacy policy, workspace data is kept while the account is active; account or data deletion is removed within 30 days (backup window). The local extension does not keep a second copy of API responses on disk.
- Contact. [email protected], [email protected], or GitHub issues.
Issues
Report bugs and feature requests at https://github.com/stonianua/neither-mcp/issues.
Repository layout
License: MIT (see LICENSE).
來源:README.md,提交 4f20aa5
工具
0版本歷史
3- v0.1.5最新Oct 2, 2026
- v0.1.4Oct 1, 2026
- v0.1.3Sep 16, 2026
評分
已滿足適用檢查項的 50%
該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。
- 近 30 天內可連通25 分
請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。
- 已宣告認證方式10 分
請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。
- 已列出工具15 分
請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。
- 描述必需15 分
- 圖示10 分
- 文件15 分
- 授權條款10 分