docsbook-mcp
OfficialClick 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., "@docsbook-mcp update the AI chat system prompt"
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.
docsbook-mcp
A thin open-source proxy to the hosted Docsbook MCP server.
Docsbook is an AI-native documentation platform — hosting, AI chat over your docs, analytics, SEO/GEO/AEO optimization, translations, and webhooks, all driven from a GitHub repo. This package is a small stdio MCP server that forwards requests to Docsbook's hosted MCP endpoint, giving any MCP client (Claude Desktop, Claude Code, Cursor, etc.) access to ~40 tools for managing a Docsbook workspace: branding, navigation, SEO/GEO/AEO, the AI chat system prompt, translations, analytics, webhooks, and the doc source-of-truth graph.
The actual tool implementations live in Docsbook's hosted backend (https://docsbook.io/api/mcp/server) — this repo contains no proprietary code, no database access, and no secrets. It is ~150 lines that speak stdio to your MCP client on one side and Streamable HTTP to the hosted endpoint on the other.
Install & configure
Claude Code
claude mcp add docsbook -- npx -y docsbook-mcpThen set your token as an environment variable, or pass it via claude mcp add --env:
claude mcp add docsbook --env DOCSBOOK_MCP_TOKEN=your-token-here -- npx -y docsbook-mcpClaude Desktop (or any JSON-config MCP client)
Add to your MCP client config (e.g. claude_desktop_config.json):
{
"mcpServers": {
"docsbook": {
"command": "npx",
"args": ["-y", "docsbook-mcp"],
"env": {
"DOCSBOOK_MCP_TOKEN": "..."
}
}
}
}Get a token from your workspace's MCP settings at https://docsbook.io/settings/mcp.
Related MCP server: gitbook-mcp
Environment variables
Variable | Required | Description |
| For real tool calls | Bearer token used to authenticate against the hosted Docsbook MCP server. Without it, the server still starts and lists tools (see below), but |
| No | Overrides the upstream endpoint. Defaults to |
How it works
On
tools/list, this proxy forwards to the hosted endpoint (with yourDOCSBOOK_MCP_TOKENas a Bearer token, if set) and returns whatever tools the server currently exposes — the tool list is never hardcoded here.If the upstream is unreachable, or no token is configured, it falls back to a bundled static tool manifest (
src/tools-manifest.json) so the server can still respond toinitialize/tools/list(useful for sandboxed registry introspection, e.g. Glama). This fallback list may lag behind the live tool set — see the_commentfield in that file for how it was assembled.On
tools/call, it forwards the call to the hosted endpoint. If no token is configured, it returns a clear MCP error pointing you tohttps://docsbook.io/settings/mcp.
Development
npm install
npm run build
node dist/index.jsLearn more
License
MIT
Available Tools
62 toolsapprove_translationC
Approve a translation. PRO+ plan.
Inputs: no named parameters.
create_workspaceC
Create a workspace from a GitHub repo.
Inputs: no named parameters.
delete_translationB
Delete a translation. PRO+ plan.
Inputs: no named parameters.
doc_breadcrumbsC
Get breadcrumbs for a doc page. PRO+ plan.
Inputs: no named parameters.
doc_canonical_refA
Get the canonical reference for a doc symbol. PRO+ plan.
Inputs: no named parameters.
doc_definitionB
Go-to-definition for a doc symbol. PRO+ plan.
Inputs: no named parameters.
doc_grepC
Regex search over doc content. PRO+ plan.
Inputs: no named parameters.
doc_hoverC
Hover info for a doc symbol. PRO+ plan.
Inputs: no named parameters.
doc_list_pagesB
List all doc pages. PRO+ plan.
Inputs: no named parameters.
doc_neighborsA
Get neighboring pages in the doc graph. PRO+ plan.
Inputs: no named parameters.
doc_outlineC
Get the outline/structure of a doc page. PRO+ plan.
Inputs: no named parameters.
doc_resolve_linkB
Resolve a doc link to its GitHub URL. PRO+ plan.
Inputs: no named parameters.
doc_search_by_anchorC
Search doc sections by anchor. PRO+ plan.
Inputs: no named parameters.
doc_search_links_fromB
Find links originating from a given doc/page. PRO+ plan.
Inputs: no named parameters.
doc_search_links_toB
Find links pointing to a given doc/page. PRO+ plan.
Inputs: no named parameters.
doc_search_orphansA
Find orphaned pages with no incoming links. PRO+ plan.
Inputs: no named parameters.
doc_search_pathsB
Glob search over doc paths. PRO+ plan.
Inputs: no named parameters.
doc_search_symbolsC
Fuzzy symbol search (e.g. 'oaf' -> 'OAuth flow'). PRO+ plan.
Inputs: no named parameters.
doc_search_textB
Ranked full-text search with snippets and line/col positions. PRO+ plan.
Inputs: no named parameters.
doc_search_unresolvedB
Find unresolved links in the doc graph. PRO+ plan.
Inputs: no named parameters.
find_skillA
Find a SKILL.md by query and filters, returning a raw_url.
Inputs: no named parameters.
get_ai_questionsC
All AI chat questions. PRO plan or higher.
Inputs: no named parameters.
get_ai_unansweredC
Questions the AI chat couldn't answer. PRO plan or higher.
Inputs: no named parameters.
get_ai_usageC
AI/translation usage and limits.
Inputs: no named parameters.
get_analyticsC
Views, visitors, top pages, referrers.
Inputs: no named parameters.
get_chat_system_promptA
Get the AI chat system prompt. PRO+ plan.
Inputs: no named parameters.
get_doc_graphA
Get the Source of Truth doc graph (format toon/json). PRO+ plan.
Inputs: no named parameters.
get_failed_searchesC
No-result search queries. PRO plan or higher.
Inputs: no named parameters.
get_infoC
Server capabilities.
Inputs: no named parameters.
get_negative_feedbackC
Pages with negative feedback. PRO plan or higher.
Inputs: no named parameters.
get_page_journeysD
User navigation paths. PRO+ plan.
Inputs: no named parameters.
get_popular_searchesC
Top search queries. PRO plan or higher.
Inputs: no named parameters.
get_top_visitorsC
Top anonymous visitors with drill-down. PRO+ plan.
Inputs: no named parameters.
get_translationC
Get a translation. PRO plan or higher.
Inputs: no named parameters.
get_visitor_activityC
Timeline of activity for one visitor. PRO+ plan.
Inputs: no named parameters.
get_workspaceA
Get a workspace by ID or owner/repo.
Inputs: no named parameters.
list_pending_translationsA
List pending translations. PRO plan or higher.
Inputs: no named parameters.
list_webhook_deliveriesA
List webhook deliveries (Business plan).
Inputs: no named parameters.
list_webhooksB
List registered webhooks (Business plan).
Inputs: no named parameters.
list_workspacesC
All workspaces with plan_capabilities.
Inputs: no named parameters.
query_eventsD
Raw analytics events query. PRO+ plan.
Inputs: no named parameters.
read_doc_sectionsB
Read sections from the doc graph. PRO+ plan.
Inputs: no named parameters.
reindex_doc_graphA
Reindex the Source of Truth doc graph (100/mo limit). PRO+ plan.
Inputs: no named parameters.
replay_webhook_deliveryC
Replay a webhook delivery (Business plan).
Inputs: no named parameters.
search_docsC
Full-text/semantic search over doc content.
Inputs: no named parameters.
set_chat_hooksB
Configure AI chat hooks. PRO+ plan.
Inputs: no named parameters.
set_chat_system_promptB
Set the AI chat system prompt. PRO+ plan.
Inputs: no named parameters.
set_translation_modeC
Set translation mode. PRO+ plan.
Inputs: no named parameters.
test_chat_hookB
Test an AI chat hook. PRO+ plan.
Inputs: no named parameters.
test_webhookB
Send a test webhook delivery (Business plan).
Inputs: no named parameters.
unregister_webhookC
Unregister a webhook (Business plan).
Inputs: no named parameters.
update_aeoB
Update FAQPage, HowTo, speakable markup (PRO plan or higher).
Inputs: no named parameters.
update_ai_settingsC
Update AI provider settings (PRO plan or higher; BYO key/model is Business-only).
Inputs: no named parameters.
update_brandingB
Update colors, fonts, logo, theme.
Inputs: no named parameters.
update_domainC
Custom domain setup (Business plan).
Inputs: no named parameters.
update_geoB
Update TL;DR, dateModified, Person/Author markup (PRO plan or higher).
Inputs: no named parameters.
update_languagesB
Enable languages for translation (PRO plan or higher).
Inputs: no named parameters.
update_seoB
Update meta, OpenGraph, JSON-LD, sitemap (PRO plan or higher).
Inputs: no named parameters.
update_ui_settingsC
Show/hide UI components.
Inputs: no named parameters.
upload_translationB
Upload a translation. PRO+ plan.
Inputs: no named parameters.
write_docsA
Create/edit doc content. Requires an MCP token with read_write scope; read-only tokens are rejected.
Inputs: no named parameters.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 62 tools
Most tools are clearly distinct, but the doc_search_* family (doc_search_text, doc_grep, doc_search_paths, doc_search_by_anchor) and the general search_docs overlap in function, which could cause misselection. The analytics and workspace tools are well-separated.
The majority of tools follow a clear verb_noun pattern (get_, list_, update_, create_, delete_, set_, test_). However, the doc_* tools (doc_outline, doc_breadcrumbs, doc_neighbors) deviate by using a prefix instead of a leading verb, though they remain readable and predictable.
62 tools is extreme for an MCP server. Even for a feature-rich documentation platform, this exceeds reasonable scope and will overwhelm agents with too many options, making selection harder.
The tool set covers many features but has significant gaps: no delete_workspace, no delete_doc, no register_webhook (only unregister), and no general list_translations (only pending). These missing lifecycle operations create dead ends and prevent full workflows.
Related MCP Connectors
MCP server for your apps' tools and custom tools, plus hosted AI agents and approval-gated workflows
Official Fibery MCP server: query and update your workspace from any AI client via OAuth.
Nifty's MCP server — exposes tasks, projects, messages, and files as tools for AI agents.
Related MCP Servers
- AlicenseBqualityCmaintenanceMCP server to publish HTML/Markdown docs, upload assets, and reply to stakeholder comments on uselink.app directly from AI tools like Claude and Cursor.345 npmMIT
- FlicenseBqualityDmaintenanceMCP server that exposes 39 tools for GitBook API automation, enabling AI agents to manage documentation, change requests, reviews, and Git Sync.39-
- AlicenseNot gradedqualityDmaintenanceEnables AI agents to read, write, and maintain documentation through an MCP server, providing tools for asking questions, generating docs, checking drift, and exploring knowledge graph.MIT
- AlicenseNot gradedqualityBmaintenanceMCP server for Nyxdoc, a document system where humans and external agents collaborate on documents with version history, agent to-dos, and workspace permissions.MIT