• SEARCH
  • READ
  • LIST
  • HUMAN

How to query documentation content with your AI

Connect GitBook once. From then on, your agent can navigate your namespaces and pull text from pages to answer questions.

Ask AI about this page

Short answer

Can my AI read my GitBook docs?

Yes. Your agent uses this MCP to find relevant pages and read their content to answer your questions. You'll get specific answers pulled directly from your technical documentation.

Where your answers come from

The outcomes of your queries

Your AI turns static documentation into a searchable knowledge base.

SEARCH

Targeted information

The AI finds specific topics within your namespaces. You get the exact context you need without searching manually.

READ

Full page context

Your agent pulls the text from a specific page. This allows it to explain complex technical details accurately.

LIST

Namespace overview

The AI can see your page hierarchy. It understands how your documentation is structured across different spaces.

HUMAN

Manual updates

The AI cannot edit your docs. If information is missing or wrong, you'll need to update GitBook yourself.

The workflow

What your AI does when a question arrives.

The AI follows a sequence to find and digest your documentation.

  1. Find the topic

    The AI scans your namespaces to find content that matches what you asked.

    search_content
  2. Map the docs

    It looks through the page hierarchy to see where the relevant information lives.

    list_pages
  3. Read the page

    The AI pulls the actual text from the identified page to get the details.

    get_page
  4. Provide the answer

    Using the text it just read, your agent answers your question directly.

    get_page

Try it

Copy these to start.

Use these prompts to interact with your documentation.

Starting points

Replace the bracketed text with your specific GitBook namespace or page names.

GitBook Connector

You're all set. Choose your MCP client and follow the setup instructions.

Connector linkhttps://edge.vinkius.com/vk_preview_bRfoqKlN0JQsHziOen3XBSPPRUJeuiKs7Qebu7XE/mcp

Claude Desktop

Follow the steps below to connect in seconds.

  1. 1In Claude Desktop, open Settings → Connectors.
  2. 2Click “Add custom connector” and paste the connector link above as the remote MCP server URL.
  3. 3Click Add and start a new chat — GitBook capabilities are ready to use.
Configuration · claude_desktop_config.jsonCopy
{
  "mcpServers": {
    "gitbook-mcp": {
      "url": "https://edge.vinkius.com/vk_preview_bRfoqKlN0JQsHziOen3XBSPPRUJeuiKs7Qebu7XE/mcp"
    }
  }
}
Copy into chat04
  • Search my 'API Reference' namespace for anything related to rate limiting.

  • List all the pages in my 'User Guide' space.

  • Read the 'Authentication' page and tell me how to generate a token.

  • What are the deployment steps listed in my 'Production Setup' page?

  • Claude
  • ChatGPT
  • Cursor
  • VS Code
  • Windsurf
  • Claude Code
  • JetBrains
  • Cline

Start here

Connect GitBook once, then ask.

Connect your account with one click. Your login stays encrypted on our side, and you can start using the tools in any MCP-compatible client.

Connect GitBook to your AI

FAQ

How this task behaves

  • 01

    Can the AI change my GitBook content?

    No. This MCP is read-only. The AI can search and read pages, but it cannot edit, create, or delete anything in GitBook.

  • 02

    Can the AI see my private namespaces?

    The AI can only access the namespaces you have authorized through the connection.

  • 03

    Does the AI use my GitBook login?

    No. Your credentials are encrypted and handled securely; the AI only uses the tools provided by the MCP.

  • 04

    What if the AI gives me a wrong answer?

    The AI's answers are based on the text it reads. If the answer is wrong, it's usually because the documentation itself is outdated or missing that specific detail.

  • 05

    Can I use this with Claude or Cursor?

    Yes. This MCP works with any client that supports the Model Context Protocol, including Claude, Cursor, and Windsurf.

  • More questions about GitBook? See everything the GitBook Connector can do

Connect GitBook to Claude, Cursor, ChatGPT & more