• STRUCTURE
  • DISCOVERY
  • AUDIT
  • HUMAN

How to map documentation hierarchy with your agent

Connect GitBook to your AI client to let it explore your docs. Once connected, your agent can see how your content is organized.

Ask AI about this page

Our technology reaches across leading technology and enterprise teams.

  • Amazon
  • NVIDIA
  • Red Hat
  • Fidelity Investments
  • Intuit
  • OLX Brasil
  • Writesonic
  • Artium
  • Trolley
Bunny World Voxel Workspace

Short answer

How can I map my GitBook hierarchy with AI?

Your agent uses the GitBook MCP to pull lists of your organizations, spaces, collections, and pages. It then builds a structural map so you can find exactly where specific information lives. You get a clear view of your content layout.

The mapping outcomes

Where your data lands

Your agent turns raw GitBook data into a structured mental model of your docs.

STRUCTURE

Full hierarchy map

Your agent identifies each space and collection. You get a clear picture of how your documentation is nested.

DISCOVERY

Page location tracking

Your agent finds exactly which pages belong to which collections. This makes finding specific topics much easier.

AUDIT

Content gaps

By seeing the full list of pages, your agent can spot where documentation is missing or disorganized.

HUMAN

Manual reorganization

Your agent only reads the structure. You still handle the actual moving or deleting of pages in GitBook.

The workflow

What your agent does when the connection is live.

Your agent moves from the top level of your GitBook account down to individual pages.

  1. Identify the account

    Your agent starts by finding all organizations you have access to.

    list_organizations
  2. Scan the spaces

    It looks inside those organizations to find each individual space.

    list_spaces
  3. Locate collections

    Your agent drills into spaces to see how you've grouped your content into collections.

    list_collections
  4. Index the pages

    Finally, it lists each page within those collections to complete the map.

    list_pages

Vinkius Agentic Execution Platform

State the outcome. Agents take it from there.

You don't have to drive this run by hand. Inside the Vinkius Agentic Execution Platform, agents pick up the task above and carry it to the end: you set the limits, you watch the steps, you keep all decisions.

Run it in Vinkius

Agents carry the task to the end

Agents execute GitBook tasks from end to end inside the Vinkius Agentic Execution Platform: set the outcome, and the steps run.

Take it to any compatible AI

One connection, any client

Same connection follows you to ChatGPT, Claude, Gemini and any other client you love. Switch whenever you want: your connection, your permissions and your record move with you.

Spaces

One Space per activity

A Space gathers the context, tools and tasks of one activity, so you coordinate several agents at once and follow each execution as it happens.

Limits

Autonomy inside limits you set

Permissions and spending limits are yours to define. Agents halt for your approval on anything sensitive, and you choose how far autonomy goes, step by step or end to end.

Record

All steps, on the record

Each action your agents take lands in a signed audit trail. Results are verified, mistakes are learned from, and an emergency stop is one click away.

Models

Included in your plan

A curated selection of AI models is included in your plan, and you can add your own through BYOK whenever you prefer.

Try it

Copy these to start.

Use these prompts to begin exploring your documentation.

Starting points

Replace the specific names like 'Engineering' or 'Product Docs' with your actual GitBook 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
  • 01

    List all the spaces in my Engineering space.

  • 02

    Show me the hierarchy of the Product Docs collection.

  • 03

    Which pages are currently inside the API Reference collection?

  • 04

    Map out the entire structure of my main organization.

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

Start here

Connect GitBook once, then ask.

Click the link to connect your account. Your credentials stay encrypted, and you can immediately start asking your agent about your docs.

Connect GitBook to your agent

FAQ

How this task behaves

  • 01

    Can your agent edit my GitBook pages?

    No. This MCP only allows your agent to list and read your organizational structure.

  • 02

    Can your agent delete a collection?

    No. Your agent has no tools to delete or modify your GitBook content.

  • 03

    Does your agent see the content inside the pages?

    Your agent can see the list of pages and their hierarchy, but it only reads the content if you specifically ask it to look at a page's details.

  • 04

    Can I use this with Claude?

    Yes, as long as you are using an MCP-compatible client like Claude Desktop.

  • 05

    How does your agent know which organization to look at?

    Your agent uses the list_organizations tool to see everything available to you and then asks you to specify which one you want to explore.

  • More questions about GitBook? The Connector page answers them. See everything the GitBook Connector can do

Building with AI? Ship this whole workflow in your product.

Vinkius Connect is the connectivity layer for AI builders. All the capabilities used on this page, from GitBook to thousands more, arrive through one SDK, already maintained for you. One Application, unlimited seats, each with their own connectors and credentials, isolated and never exposed to Vinkius. No OAuth flows to write, no tokens to store, no APIs to chase.

Explore Vinkius Connect

TypeScript · Python · Java · Go · C# · PHP · Rust

  • 01

    Your customers bring their own keys.

    Each user connects their own apps and keeps their own credentials. Vinkius only sees the identifier your backend sends.

  • 02

    Whole catalog, kept current.

    GitBook plus thousands more, maintained and growing daily. No integrations to write, no token storage, no OAuth plumbing.

  • 03

    Any agent, any model.

    Capabilities land as framework-neutral objects, with adapters for OpenAI, Anthropic, Gemini, the Vercel AI SDK, LangChain and more.

Connect GitBook to Claude, Cursor, ChatGPT & more

From idea to done

See what gets done when the agents take over the busywork

Each workflow on this page runs on the same platform. Connect your tools once, and your agents keep working in any AI you trust.