Authenticated MCP access for unpublished GitBook spaces (drafts & change requests) + write operations #1114
BenWehrbeinGK
started this conversation in
Feature Requests
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Feature Request: Authenticated MCP access for unpublished GitBook spaces (drafts & change requests) + write operations
Summary
Enable a secure, authenticated Model Context Protocol (MCP) capability for private/unpublished GitBook spaces and content, with read access to drafts and change requests, and write operations to (a) generate new change requests, and (b) (low priority) create new spaces. This unlocks AI‑assisted authoring, review automations, and agent workflows before publication, while preserving GitBook’s governance and privacy controls.
Problem
GitBook’s current MCP servers expose read‑only access to published sites. Teams increasingly run AI agents (Copilot/Claude/IDE MCP clients) during pre‑publish phases—editing, reviewing, and staging content. Without an authenticated MCP path to unpublished content:
Proposal
Introduce an Org/Site/Space‑scoped, token‑based MCP server that:
documentandmarkdown)draft → open)private/visitor-auth/in-collection), default levels/rolesMCP Tooling Sketch (HTTP transport)
list_spaces,get_space,search_unpublished_contentget_change_requests,get_change_request,get_change_request_commentscreate_change_request,update_change_request,submit_change_requestcreate_space(low priority)get_page_draft,upsert_page_draft(read/write within CR scope)diff_to_main(server computes CR vs. main content, returns structured diff)Authentication & Authorization
mcp:read:drafts,mcp:read:change-requestsmcp:write:change-requests,mcp:write:spaces(optional)edit,review,create).Governance & Safety
private,visitor-auth,in-collection) and does not surface analytics/user data.API Alignment
document(canonical) andmarkdown(authoring convenience).appandlocationfor deep‑linking.Representative Use Cases
Beta Was this translation helpful? Give feedback.
All reactions