handbook-mcp-server
Click on "Deploy 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., "@handbook-mcp-server List all handbook entries"
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.
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
Tool | Description |
| List all handbook entries |
| Retrieve a single entry by ID (including markdown content) |
| Create a new entry |
| Update an existing entry |
| Delete an entry |
| Compact overview of all entries per app |
| Search tags across all entries |
Related MCP server: beakr
Prerequisites
Node.js >= 18
Bearer Token for the Handbook API
Installation
Option A: Install from npm
npm install -g @ah-oh/handbook-mcp-serverOption B: Build from source
git clone https://github.com/ah-oh/handbook-mcp-server.git
cd handbook-mcp-server
npm install
npm run buildConfiguration
Environment Variables
Variable | Required | Default | Description |
| Yes | – | Bearer token for the Handbook API |
| No |
| Base URL of the API |
| No |
| Transport mode: |
| No |
| Port for HTTP transport |
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
{
"mcpServers": {
"handbook": {
"command": "node",
"args": ["/absolute/path/to/handbook-mcp-server/dist/index.js"],
"env": {
"HANDBOOK_API_TOKEN": "your-bearer-token"
}
}
}
}If installed globally via npm:
{
"mcpServers": {
"handbook": {
"command": "handbook-mcp-server",
"env": {
"HANDBOOK_API_TOKEN": "your-bearer-token"
}
}
}
}Claude Code
claude mcp add handbook -- node /path/to/handbook-mcp-server/dist/index.js \
--env HANDBOOK_API_TOKEN=your-bearer-tokenVS Code (Copilot / Continue)
In .vscode/mcp.json:
{
"servers": {
"handbook": {
"command": "node",
"args": ["/path/to/handbook-mcp-server/dist/index.js"],
"env": {
"HANDBOOK_API_TOKEN": "your-bearer-token"
}
}
}
}HTTP Mode (Remote)
TRANSPORT=http HANDBOOK_API_TOKEN=your-token PORT=3000 npm startThe 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:
# macOS
find . -type f \( -name "*.json" -o -name "*.md" \) \
-exec sed -i '' 's/ah-oh/my-github-user/g' {} +
# Linux
find . -type f \( -name "*.json" -o -name "*.md" \) \
-exec sed -i 's/ah-oh/my-github-user/g' {} +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
# Log in to npm (one-time)
npm login
# Publish the package
npm publish --access publicNote: 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
curl -L \
"https://github.com/modelcontextprotocol/registry/releases/latest/download/mcp-publisher_$(uname -s | tr '[:upper:]' '[:lower:]')_$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/').tar.gz" \
| tar xz mcp-publisher && sudo mv mcp-publisher /usr/local/bin/
# Verify
mcp-publisher --helpStep 4: Log in to the registry
mcp-publisher login githubThis 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/*):# Generate an Ed25519 keypair openssl genpkey -algorithm Ed25519 -out key.pem # Host the public key at https://ah-oh.com/.well-known/mcp-registry-auth # Then: mcp-publisher login http --domain=ah-oh.com --private-key=HEX_KEY
Step 5: Publish
# Dry run first
mcp-publisher publish --dry-run
# Publish for real
mcp-publisher publishYour 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:
git tag v1.0.0
git push origin v1.0.0The pipeline takes care of the rest.
Updating the version
For new versions:
Bump the version in
package.jsonandserver.jsonCreate and push a new tag:
npm version patch # or minor / major
git push origin v$(node -p "require('./package.json').version")Project Structure
handbook-mcp-server/
├── .github/workflows/
│ └── publish.yml # CI/CD: npm + MCP Registry
├── src/
│ ├── index.ts # Entry point (stdio + HTTP)
│ ├── constants.ts # API URL, limits
│ ├── types.ts # TypeScript interfaces
│ ├── schemas/
│ │ └── handbook-entry.ts # Zod validation schemas
│ ├── services/
│ │ ├── api-client.ts # HTTP client for the Handbook API
│ │ └── formatting.ts # Markdown formatting
│ └── tools/
│ └── handbook-entry.ts # Tool registrations
├── dist/ # Compiled JS files
├── package.json
├── tsconfig.json
├── server.json # MCP Registry metadata
└── README.mdDevelopment
# Install dependencies
npm install
# Build TypeScript (one-time)
npm run build
# TypeScript watch mode
npm run dev
# Start server (stdio)
npm start
# Start server (HTTP)
TRANSPORT=http npm startAPI 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
Available Tools
6 toolshandbook_create_entryCreate Handbook EntryA
Create a new handbook entry.
Args:
title (string): Entry title
content (string, optional): Markdown content
active (boolean): Whether the entry is active
app (string): App identifier (e.g. 'szales', 'sethub')
tags (string[], optional): Tags
importId (string, optional): Import ID
Returns: The created HandbookEntry.
Inputs: app (required), title (required), active (required), tags, +2 more.
handbook_get_entryGet Handbook EntryARead-onlyIdempotent
Retrieve a single handbook entry by its ID, including full content in markdown.
Args:
id (string): The MongoDB ObjectId of the entry
Returns: Full HandbookEntry object with content.
Inputs: id (required).
handbook_get_overviewGet Handbook OverviewARead-onlyIdempotent
Get a lightweight overview of all handbook entries for a specific app. Returns only title, ID, app and tags (no full content).
Args:
app (string): App identifier (e.g. 'szales', 'sethub')
Returns: HandbookOverviewResponse with an array of overview entries.
Inputs: app (required).
handbook_list_entriesList Handbook EntriesARead-onlyIdempotent
Retrieve all handbook entries. Returns a list with title, ID, app, active status and tags for every entry.
Returns: Array of HandbookEntry objects.
Use when: you need an overview of all existing entries or want to find an entry ID.
Inputs: no named parameters.
handbook_search_tagsSearch Handbook TagsARead-onlyIdempotent
Search for tags across all handbook entries.
Args:
searchQuery (string): Search string to filter tags (e.g. 'meet')
Returns: HandbookTagsResponse with an array of matching tag strings.
Inputs: searchQuery (required).
handbook_update_entryUpdate Handbook EntryAIdempotent
Update an existing handbook entry by ID.
Args:
id (string): ID of the entry to update
title (string): Updated title
content (string, optional): Updated markdown content
active (boolean): Active status
app (string): App identifier
tags (string[], optional): Updated tags
importId (string, optional): Import ID
Returns: The updated HandbookEntry.
Inputs: id (required), app (required), title (required), active (required), +3 more.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 6 tools
Each tool has a clearly distinct purpose: listing all entries, retrieving by ID, creating, updating, getting an app-specific overview, and searching tags. No overlapping functionality.
All tools follow a consistent 'handbook_verb_noun' pattern using snake_case, making it easy to predict tool names.
Six tools is appropriate for a handbook management server, covering core CRUD operations plus overview and tag search without being excessive.
CRUD is missing delete functionality, and there is no tool to toggle an entry's active status independently, leaving a notable gap in lifecycle management.
Maintenance
Related MCP Connectors
Agent-native notes, tasks, dev-docs, vaults, sync & handoffs. MCP + OpenAPI dual surface.
Manage SRG+ hubs, channels, content, assets, users, and workspaces from any MCP-aware AI agent.
Search and manage your team's knowledge from MCP clients.
Build and run AI workflows, agents, data tables and 1000+ API integrations from any MCP client.
Related MCP Servers
- AlicenseAqualityFmaintenanceEnables reading and writing Huly documents and issues from MCP clients like Claude Desktop and Claude Code, including document CRUD, search, issue reading, and commenting.129 npm2AGPL 3.0
- AlicenseNot gradedqualityBmaintenanceEnables Claude Code and Codex assistants to research and read/write a team's knowledge base, manage projects and files, and use integrations through MCP tools.267 PyPIApache 2.0
- FlicenseNot gradedqualityAmaintenanceEnables AI assistants to search, read, create, edit, archive, and comment on documents; manage collections; find backlinks; and access content through MCP resources.-
- AlicenseNot gradedqualityCmaintenanceEnables MCP clients such as Claude Code to list, read, create, and update notebooks, tasks, comments, questions, and memos through natural-language workflows.5 npmMIT