Skip the install. Get this working in under 2 minutes.
Start a free trial on cloud.anythingmcp.com, add the GitBook in one click, then point your AI client (Claude, ChatGPT, Copilot or Cursor) at the generated MCP endpoint. No Docker, no git clone, zero engineering experience required.
Summary
Drive GitBook (docs platform) from any AI agent: spaces, pages, content, search, collections. 9 tools, Bearer auth.
Попробуй спросить
Примеры промптов для GitBook
Кликни по промпту — он скопируется. Вставь в Claude, ChatGPT, Cursor, Gemini, Copilot или OpenClaw и запусти через этот коннектор.
Claude — это AI, он может ошибаться. Проверяйте ответы.
💡 Без установки? Используй cloud.anythingmcp.com напрямую. Войди, нажми Connectors → GitBook, вставь учётные данные, создай MCP API key — готово. Без Docker, без
git clone, без локального сервера.
GitBook + Gemini
Drive GitBook (docs platform) from any AI agent: spaces, pages, content, search, collections. 9 tools, Bearer auth.
Предварительные требования
Полные инструкции по настройке встроены в коннектор (видны в магазине при выборе коннектора). Требуемые переменные окружения:
GITBOOK_API_TOKEN
Шаг 1 — Получи учётные данные
gitbook.com).
Setup:
- Sign in to https://app.gitbook.com → bottom-left avatar → Settings → Developer → Personal access tokens → Create new token.
- Copy the token. Set
GITBOOK_API_TOKEN.
Authentication: Authorization: Bearer ${GITBOOK_API_TOKEN}.
Hierarchy: Organization → Collection → Space → Page (a tree of pages, sub-pages, content).
Space IDs: each space has a UUID-like ID. Discover via gitbook_list_spaces.
Pages: content lives in pages. Each page has id, slug, title, type (document, group, link), revision_id (every change creates a new revision).
…(continued in the in-app connector instructions)
Шаг 2 — Установи адаптер
git clone https://github.com/HelpCode-ai/anythingmcp.git
cd anythingmcp && docker compose up -d
Шаг 3 — Добавь коннектор в Gemini
Gemini CLI читает MCP-серверы из ~/.gemini/settings.json (или %APPDATA%\gemini\settings.json в Windows). Добавь:
{
"mcpServers": {
"anythingmcp": {
"httpUrl": "https://cloud.anythingmcp.com/mcp",
"headers": { "Authorization": "Bearer YOUR_MCP_API_KEY" }
}
}
}
- Получи MCP API key в AnythingMCP → Profile → MCP API Keys → New Key.
- Сохрани файл и перезапусти
gemini. - Запусти
/mcpв Gemini CLI —GitBookдолжен быть доступен. - Vertex AI Studio: передайте
https://cloud.anythingmcp.com/mcpв массивtoolsзапроса с тем же Bearer-заголовком.
Доступные инструменты
| Tool | What it does |
|---|---|
gitbook_get_me | Return the user the token belongs to: id, displayName, email, photoURL |
gitbook_list_organizations | List organizations the user is a member of |
gitbook_list_spaces | List spaces in an organization |
gitbook_get_space | Fetch a single space with full metadata |
gitbook_get_space_content | Get the table of contents / page tree for a space (latest revision) |
gitbook_get_page | Fetch a page's content (the JSON AST) |
gitbook_search_content | Full-text search across spaces |
gitbook_list_collections | List collections in an organization |
gitbook_import_markdown_to_page | Import Markdown content into a page (replaces the page's content) |
FAQ
Поддерживают ли Gemini 1.5 Pro или 2.x MCP? Да — Gemini CLI ≥ 0.4 и Vertex AI tools API принимают MCP-коннекторы httpUrl с Bearer-заголовком.
Следующие шаги
Это руководство помогло?