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仅桌面知识与记忆开发者工具

概览

AI 生成的概览

一个本地 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 主机的网络。
安装前请注意
工作区 API 密钥会作为 HTTP Bearer 令牌发送到所配置的 API 主机,因此只应放在 MCP 配置或环境变量中,切勿写入对话。工具参数(包括搜索查询、文件路径、片段 id,以及推送的片段文本和可选来源信息)会发送到 Neither API,并按隐私政策存入工作区。推送操作会向托管工作区写入数据。NEITHER_API_BASE 只应指向你信任的主机。

安装

在 SourceWeft 中

  1. 打开 控制台中的 Neither Mcp,将其添加到工作区。
  2. 为需要使用其工具的对话启用该服务。

Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。

其他 MCP 客户端

参照 仓库 中的启动说明。

README

neither-mcp

[AllMCPs Verified]

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:

json
{  "mcpServers": {    "neither": {      "command": "npx",      "args": ["-y", "@neitherai/mcp-server@latest"],      "env": {        "NEITHER_API_KEY": "REPLACE_WITH_YOUR_WORKSPACE_KEY",        "NEITHER_API_BASE": "https://api.neither.online"      }    }  }}
  • NEITHER_API_KEY — required workspace key
  • NEITHER_API_BASE — optional; defaults to https://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+):

bash
claude mcp add neither -s user \  -e NEITHER_API_KEY=sk_ctx_… \  -e NEITHER_API_BASE=https://api.neither.online \  -- npx -y @neitherai/mcp-server@latest

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:

bash
bash scripts/pack-mcpb.sh

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.

bash
gemini extensions install https://github.com/stonianua/neither-mcp

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:

bash
gemini extensions install https://github.com/stonianua/neither-mcp --ref=main

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:

PathRole
.cursor-plugin/plugin.jsonCursor Plugin manifest + NEITHER_API_KEY user variable
mcp.jsonLocal stdio MCP: npx -y @neitherai/mcp-server@latest

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

bash
npx -y neither@latest push <path>

Homebrew (macOS / Linuxbrew):

bash
brew install stonianua/neither/neither

Docs: https://www.neither.online/docs/cli

Packages

Published npm packages:

  • @neitherai/mcp-server — MCP server for Cursor, Claude Desktop, Claude Code, and Gemini CLI
  • neither — 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_push snippet text and optional provenance). The workspace API key is sent as an HTTP Bearer token to the Neither API (NEITHER_API_BASE, default https://api.neither.online).
  • Use and storage. The local process uses the key only to call that API. Claude Desktop stores sensitive user_config values 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

PathPackage
packages/mcp-server/@neitherai/mcp-server
packages/cli/neither CLI
mcpb/Claude Desktop MCPB (bundled Node stdio)
gemini-extension.jsonGemini CLI extension manifest (stdio npx)
GEMINI.mdGemini CLI extension context
DESKTOP-EXTENSION.mdBuild, sideload, env, Win/macOS smoke checklist
.cursor-plugin/plugin.jsonCursor Plugin manifest (marketplace packaging)
mcp.jsonCursor Plugin stdio MCP config (npx spawn)
llms-install.mdShort agent-installable steps
scripts/pack-gemini-extension.shGemini CLI github-release archives (.tar.gz / .zip)

License: MIT (see LICENSE).

来源:README.md,提交 4f20aa5

工具

0
SourceWeft 尚未在沙箱中启动过该软件包,因此其工具未知。

版本历史

3
  1. v0.1.5最新Oct 2, 2026
  2. v0.1.4Oct 1, 2026
  3. v0.1.3Sep 16, 2026

评分

已满足适用检查项的 50%

该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。

  • 近 30 天内可连通25 分

    请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。

  • 已声明认证方式10 分

    请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。

  • 已列出工具15 分

    请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。

  • 描述必需15 分
  • 图标10 分
  • 文档15 分
  • 许可证10 分