wiznote-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@wiznote-mcpsave the article at https://example.com to WizNote"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
WizNote MCP Server(为知笔记私有服务器 MCP)
English version: README.en.md
把为知笔记私有部署(wiznote/wizserver)的 OpenAPI 封装成 MCP 服务,让支持 MCP 的 Agent (如 Hermes、Claude Desktop、Cursor 等)能直接搜索、读写笔记,并把网页(含微信公众号 文章 + 内嵌图片)一键收藏为笔记。
所有敏感配置(服务器地址、账号、密码、知识库 GUID)都放在 .env 里,绝不写进代码。
功能
工具 | 说明 |
| 列出所有笔记文件夹 |
| 列出某文件夹下的笔记(分页/排序) |
| 全文搜索(用 |
| 下载某篇笔记的完整 HTML 正文 |
| 新建笔记 |
| 更新笔记正文 |
| 删除笔记 |
| 收藏网页:抓取正文 → 命名 |
网页收藏特性
普通文章/博客:用 readability 提取正文。
微信公众号文章(
mp.weixin.qq.com):用移动端 UA + Referer 绕过验证页,按#activity-name/#js_name/#js_content提取标题/作者/正文(无需无头浏览器)。图片本地化:正文里的每张图片会下载并上传为笔记资源,
<img>改写为index_files/<name>,网页端和 Android 客户端都能显示。反爬/验证码:直接返回失败,不重试、不渲染。
Related MCP server: Zhihu-Collections-MCP
安装
git clone <your-repo> wiznote-mcp
cd wiznote-mcp
bash install.sh # 建 .venv、装依赖、生成 .env(从 .env.example)然后编辑 .env 填入真实信息:
vim .envWIZNOTE_BASE_URL=https://wiznote.crapex.cc
WIZNOTE_USER_ID=you@your-domain.com # 私有部署必须用完整邮箱
WIZNOTE_PASSWORD=your-password
WIZNOTE_KB_GUID= # 留空则登录时自动发现也可以不生成
.venv,直接用系统 Python(需自行pip install -r requirements.txt), 或让 MCP 宿主直接注入这些环境变量(见下文 Hermes 配置)。
在 MCP 宿主中注册
服务通过 stdio 通信。把 command 指向本项目的 wiznote.sh(它会自动加载 .env):
Hermes
hermes config set mcp_servers.wiznote.command "/abs/path/to/wiznote-mcp/wiznote.sh"
hermes config set mcp_servers.wiznote.args ""
hermes gateway restart注意:
args必须留空字符串。Hermes 的config set会把列表存成字符串,导致python把整个[...]当成文件名(报 "Connection closed")。用wiznote.sh包装脚本 当command即可规避。
通用(宿主直接注入环境变量)
若宿主支持 env 注入(如 Hermes 的 mcp_servers.wiznote.env),也可不依赖 .env,
由宿主传入 WIZNOTE_* 变量;本项目 server 会优先使用宿主注入的值。
验证
# 用官方 MCP 客户端做一次 stdio 握手 + 工具发现
python -m mcp client wiznote.sh # 视宿主工具而定或在 Hermes 中:
hermes mcp test wiznote踩坑记录(实现要点)
账号必须是完整邮箱(
you@your-domain.com),纯用户名在私有部署下报密码错。搜索参数是
ss,不是keyword/query:GET /ks/note/search/{kbGuid}?ss=...。笔记正文位置:
create返回在result.html,但download把正文放在顶层html/info,不在result——get_note必须用返回完整响应体的接口。字符编码:抓取页面必须
r.content.decode("utf-8")(不能用r.text自动识别), 且笔记 HTML 头部加<meta charset="utf-8">,否则中文在网页端/Android 端变乱码。图片资源绑定:
save时resources字段必须传裸文件名(如1786616855133-0cd), 而不是index_files/...的 url —— 传 url 会被静默丢弃,Android 客户端只显示占位符。微信正文隐藏样式:
#js_content自带visibility:hidden;opacity:0,需清洗掉, 否则网页端整块不可见。
许可证
MIT
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceAn MCP server that enables AI agents to search, read, and create notes across six note-taking platforms (Feishu, Obsidian, Notion, Yuque, OneNote, Evernote) through a single unified interface.MIT
- Flicense-qualityFmaintenanceThis MCP server enables AI agents to list, export, and search Zhihu collections, converting them to Markdown files with images.159
- Alicense-qualityDmaintenanceMCP server that enables AI agents to fetch and summarize WeChat public articles, supporting export to HTML, Markdown, Obsidian, Notion, and OneNote.5MIT
- Flicense-qualityBmaintenanceMCP server for Tencent IMA OpenAPI, enabling notes and knowledge base management through tools like search, create, and list.67
Related MCP Connectors
MCP server for AgentDocs (agentdocs.eu): read, search, write, comment on & share Markdown docs.
MCP-native open-source Notion alternative: read & write pages, databases and kanban boards.
Markdown-first MCP server for Notion API with 8 composite tools and 39 actions.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/crapex/wiznote-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server