WhyNote

io.github.Coooolinz由 GitHub 账号 Coooolinz 发布v0.1.0更新于 Oct 24, 2026

Read-only search, todo listing, and daily note access for a WhyNote account

已验证STDIO仅桌面效率与工作流知识与记忆

概览

AI 生成的概览

一个本地只读 MCP 服务器,让助手搜索并读取某个 WhyNote 账户中的笔记和待办事项。

可以做什么
按不区分大小写的子串匹配搜索账户中的笔记行。列出未完成或全部待办事项。读取某一天的完整笔记及其 etag。读取锚定日期前后已存在的笔记日期。
适用场景
适合让助手查阅你的 WhyNote 日志:查找某件事在哪里被提到、查看未完成的待办,或调出某一天的笔记,同时不赋予它修改笔记的能力。
运行要求
通过 npx 在本地运行,需要 Node.js 18 或更高版本。需要 WhyNote 服务的 NOTE_URL 基础地址,以及在 WhyNote 设置中生成的只读 NOTE_TOKEN,二者均以环境变量传入。需要能访问该 WhyNote 实例的网络。
安装前请注意
NOTE_TOKEN 是凭据;README 提醒直接写在命令中的值可能留在 shell 历史记录里,改为编辑客户端配置更安全。令牌会作为 Bearer 凭据发送到所配置的 NOTE_URL,因此只应指向可信实例。该服务器不提供写入工具,修改账户密码会使其只读令牌失效。

安装

在 SourceWeft 中

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

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

其他 MCP 客户端

参照 仓库 中的启动说明。

README

WhyNote MCP

A zero-dependency, read-only Model Context Protocol server for searching and reading the notes in one WhyNote account.

Install

Generate a read-only token in WhyNote settings, then configure your MCP client to run npx -y why-note-mcp with NOTE_URL and NOTE_TOKEN.

Generic project configuration:

json
{  "mcpServers": {    "note": {      "command": "npx",      "args": ["-y", "why-note-mcp"],      "env": {        "NOTE_URL": "https://note.example.com",        "NOTE_TOKEN": "<read-only-token>"      }    }  }}

Claude Code:

bash
claude mcp add --scope user note \  -e NOTE_URL=https://note.example.com \  -e NOTE_TOKEN='<read-only-token>' \  -- npx -y why-note-mcp

Codex CLI:

bash
codex mcp add note \  --env NOTE_URL=https://note.example.com \  --env NOTE_TOKEN='<read-only-token>' \  -- npx -y why-note-mcp

Values written directly in a command may be retained in shell history. Edit the client configuration instead if that is a concern.

Node.js 18 or newer is required.

Tools

  • search: search note lines by case-insensitive substring
  • todos: list incomplete or all todo items
  • read_day: read one date's complete note and etag
  • recent_days: read existing note days around an anchor date

Security

The server reads NOTE_URL and NOTE_TOKEN only from its environment. It sends the token only as a Bearer credential to the configured WhyNote URL. It never receives the account password and exposes no write tool.

Changing the WhyNote account password revokes its read-only tokens. Generate a new token in WhyNote settings when a token expires or is revoked.

Development

bash
npm cinpm testnpm run pack:check

The test suite uses a local fake HTTP service; it does not require a WhyNote account, network access, or third-party dependencies.

License

MIT

来源:README.md,提交 a636838

工具

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

版本历史

1
  1. v0.1.0最新Sep 16, 2026

评分

已满足适用检查项的 50%

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

  • 近 30 天内可连通25 分

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

  • 已声明认证方式10 分

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

  • 已列出工具15 分

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

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