
Handbook
io.github.jannks由 GitHub 账号 jannks 发布v1.0.1更新于 Nov 3, 2026
MCP server for the Handbook API – manage handbook entries via CRUD, overview and tag search.
概览
面向 ah-oh Handbook API 的 MCP 服务器,让助手列出、读取、创建、更新、删除手册条目并按标签搜索。
- 可以做什么
- 列出并读取手册条目,可按 ID 获取单条条目的 Markdown 内容
- 创建和更新条目,并按 ID 删除条目
- 获取按应用分组的全部条目精简概览
- 在所有条目中搜索标签
- 适用场景
- 当你的文档或笔记存放在 ah-oh Handbook 中,并希望助手在 Claude Desktop、Claude Code 或 VS Code 等客户端里查询条目、起草新条目或维护已有条目时使用。
- 运行要求
- 以本地 Node.js(18 及以上)进程运行,可从 npm 包安装或从源码构建。需要在 HANDBOOK_API_TOKEN 中提供 Handbook API 的 Bearer 令牌;可用 HANDBOOK_API_URL 覆盖默认 API 地址。需要能访问 Handbook API 的网络。
安装
在 SourceWeft 中
- 打开 控制台中的 Handbook,将其添加到工作区。
- 为需要使用其工具的对话启用该服务。
Desktop only,通过 STDIO。 STDIO 服务会启动本地进程,因此需要 SourceWeft 桌面宿主。
其他 MCP 客户端
参照 仓库 中的启动说明。
README
handbook-mcp-server
An MCP (Model Context Protocol) server for the Handbook API by ah-oh.com. Enables full management of handbook entries directly from Claude Desktop, Claude Code, VS Code Copilot, and other MCP-compatible clients.
Features
Prerequisites
- Node.js >= 18
- Bearer Token for the Handbook API
Installation
Option A: Install from npm
Option B: Build from source
Configuration
Environment Variables
Usage
Claude Desktop
Add the following to your claude_desktop_config.json:
macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
Windows: %APPDATA%\Claude\claude_desktop_config.json
If installed globally via npm:
Claude Code
VS Code (Copilot / Continue)
In .vscode/mcp.json:
HTTP Mode (Remote)
The server will listen on http://localhost:3000/mcp.
Examples
Once the MCP server is connected, you can ask Claude things like:
- "Show me all handbook entries"
- "Create a new entry titled 'Onboarding Guide' for the app szales"
- "Update the entry with ID 65c4e1f5... – set the content to ..."
- "Which tags start with 'meet'?"
- "Give me an overview of all entries for the app sethub"
- "Delete entry 65c4e1f5..."
Publishing to the MCP Registry
The official MCP Registry makes your server discoverable by all MCP clients. Here's the step-by-step guide:
Step 1: Replace placeholders
Replace ah-oh everywhere in the project with your GitHub username:
This affects the following files:
package.json– fieldsname,mcpName,repository,homepage,bugsserver.json– fieldsname,repository,packages[0].identifierREADME.md– links and install command
Step 2: Publish to npm
Note: The MCP Registry only hosts metadata, not the code itself. Your package must first be available on npm (or PyPI, Docker Hub, etc.).
Step 3: Install the mcp-publisher CLI
Step 4: Log in to the registry
This opens the browser for GitHub OAuth. You'll get access to the namespace io.github.ah-oh/*.
Alternative (custom domain, e.g.
com.ah-oh/*):
Step 5: Publish
Your server will then be discoverable at registry.modelcontextprotocol.io and automatically picked up by downstream registries (GitHub, VS Code, etc.).
Step 6 (Optional): Automation via GitHub Actions
The project includes a ready-made workflow file at .github/workflows/publish.yml. It automatically publishes to npm and the MCP Registry on every git tag (v*).
Setup:
- Go to npmjs.com → Access Tokens → Create a new token
- In GitHub → Repository → Settings → Secrets and Variables → Actions → Add NPM_TOKEN as a secret
- Tag a release and push:
The pipeline takes care of the rest.
Updating the version
For new versions:
- Bump the version in
package.jsonandserver.json - Create and push a new tag:
Project Structure
Development
API Reference
Based on the Handbook OpenAPI specification.
All endpoints require Bearer token authentication. The MCP server handles auth headers automatically – you only need to set HANDBOOK_API_TOKEN.
License
MIT
来源:README.md,提交 f5bd345
工具
0版本历史
1- v1.0.1最新Sep 16, 2026
评分
已满足适用检查项的 50%
该评分衡量此收录条目的完整程度,依据注册中心条目、端点与公开来源计算得出。它不是对服务器本身的评价,也不表示服务器安全或当前可用:可连通性是带日期的检查结果,评分也不包含安装量或用户评价。
- 近 30 天内可连通25 分
请保持端点能够响应 MCP 握手;SourceWeft 每 30 天探测一次。
- 已声明认证方式10 分
请在注册中心条目中声明凭据请求头,或保持端点能够响应探测,以便判定其认证方式。
- 已列出工具15 分
请让服务器在无凭据时响应 tools/list,或发布可在沙箱中无凭据启动的软件包。
- 描述必需15 分
- 图标10 分
- 文档15 分
- 许可证10 分