MCPサーバー

gitbook

io.usefulapi/gitbook
ナレッジ・ドキュメント 公開・接続可能 MCP 2026-07-28

このMCPでできること

Reads, searches, and manages GitBook organizations, spaces, collections, pages, comments, and draft change requests.

gitbook_create_change_request
Create change request
Create a new draft change request (branch) in a space. Safe: creates a draft; publishes nothing. GitBook REST: POST /spaces/{spaceId}/change-requests.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId'], 'properties': {'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}, 'subject': {'type': 'string', 'description': 'A title/subject for the change request.'}}}
gitbook_get_collection
Get collection
Get a collection by its ID. GitBook REST: GET /collections/{collectionId}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['collectionId'], 'properties': {'collectionId': {'type': 'string', 'minLength': 1, 'description': 'The collection id.'}}}
gitbook_get_current_user
Get current user
Get the profile of the authenticated GitBook user. GitBook REST: GET /user.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {}}
gitbook_get_page
Get page
Get a single page's content from a space by its page ID. GitBook REST: GET /spaces/{spaceId}/content/page/{pageId}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId', 'pageId'], 'properties': {'format': {'enum': ['document', 'markdown'], 'type': 'string', 'description': "Response format — 'document' (structured, default) or 'markdown'."}, 'pageId': {'type': 'string', 'minLength': 1, 'description': 'The page id.'}, 'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}}}
gitbook_get_space
Get space
Get full details of a space by its ID. GitBook REST: GET /spaces/{spaceId}.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId'], 'properties': {'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}}}
gitbook_list_change_requests
List change requests
List change requests for a space. GitBook REST: GET /spaces/{spaceId}/change-requests.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'status': {'type': 'string', 'description': "Filter by change-request status, e.g. 'open', 'merged', 'draft'."}, 'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}}}
gitbook_list_collections
List collections
List all collections in an organization. GitBook REST: GET /orgs/{organizationId}/collections.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['organizationId'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'nested': {'type': 'boolean', 'description': 'Include nested (sub-)collections in the response.'}, 'organizationId': {'type': 'string', 'minLength': 1, 'description': 'The organization id.'}}}
gitbook_list_comments
List comments
List top-level comments posted on a space. GitBook REST: GET /spaces/{spaceId}/comments.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'status': {'type': 'string', 'description': 'Filter by comment status.'}, 'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}}}
gitbook_list_organizations
List organizations
List the organizations the authenticated user belongs to. GitBook REST: GET /orgs.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}}}
gitbook_list_pages
List pages
List all pages in a space with their hierarchy and metadata. GitBook REST: GET /spaces/{spaceId}/content/pages.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId'], 'properties': {'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}, 'computed': {'type': 'boolean', 'description': 'Include computed properties in the response.'}, 'metadata': {'type': 'boolean', 'description': 'Include page metadata in the response.'}}}
gitbook_list_spaces
List spaces
List all spaces in an organization. GitBook REST: GET /orgs/{organizationId}/spaces.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['organizationId'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'organizationId': {'type': 'string', 'minLength': 1, 'description': 'The organization id.'}}}
gitbook_search_organization
Search organization
Search content across an entire organization. GitBook REST: GET /orgs/{organizationId}/search.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['organizationId', 'query'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'query': {'type': 'string', 'minLength': 1, 'description': 'The full-text search query (required).'}, 'organizationId': {'type': 'string', 'minLength': 1, 'description': 'The organization id.'}}}
gitbook_search_space
Search space
Full-text search across all pages in a space. GitBook REST: GET /spaces/{spaceId}/search.
読み取り専用
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId', 'query'], 'properties': {'page': {'type': 'integer', 'maximum': 9007199254740991, 'minimum': 1, 'description': '1-based page number.'}, 'limit': {'type': 'integer', 'maximum': 100, 'minimum': 1, 'description': 'Results per page.'}, 'query': {'type': 'string', 'minLength': 1, 'description': 'The full-text search query (required).'}, 'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}}}
gitbook_update_change_request
Update change request
Update a change request's subject or status. Edits draft metadata only. GitBook REST: PATCH /spaces/{spaceId}/change-requests/{changeRequestId}.
破壊的操作あり
入力スキーマ
{'type': 'object', '$schema': 'https://json-schema.org/draft/2020-12/schema', 'required': ['spaceId', 'changeRequestId'], 'properties': {'status': {'type': 'string', 'description': 'A new status for the change request.'}, 'spaceId': {'type': 'string', 'minLength': 1, 'description': 'The space id.'}, 'subject': {'type': 'string', 'description': 'A new title/subject for the change request.'}, 'changeRequestId': {'type': 'string', 'minLength': 1, 'description': 'The change request id.'}}}
変更
gitbook_update_change_request
2026年10月1日2:50
変更
gitbook_create_change_request
2026年10月1日2:50
変更
gitbook_list_comments
2026年10月1日2:50
変更
gitbook_list_change_requests
2026年10月1日2:50
変更
gitbook_get_collection
2026年10月1日2:50
変更
gitbook_list_collections
2026年10月1日2:50
変更
gitbook_search_organization
2026年10月1日2:50
変更
gitbook_search_space
2026年10月1日2:50
変更
gitbook_get_page
2026年10月1日2:50
変更
gitbook_list_pages
2026年10月1日2:50
変更
gitbook_get_space
2026年10月1日2:50
変更
gitbook_list_spaces
2026年10月1日2:50
変更
gitbook_list_organizations
2026年10月1日2:50
変更
gitbook_get_current_user
2026年10月1日2:50
追加
gitbook_update_change_request
2026年9月17日12:53
追加
gitbook_create_change_request
2026年9月17日12:53
追加
gitbook_list_comments
2026年9月17日12:53
追加
gitbook_list_change_requests
2026年9月17日12:53
追加
gitbook_get_collection
2026年9月17日12:53
追加
gitbook_list_collections
2026年9月17日12:53
追加
gitbook_search_organization
2026年9月17日12:53
追加
gitbook_search_space
2026年9月17日12:53
追加
gitbook_get_page
2026年9月17日12:53
追加
gitbook_list_pages
2026年9月17日12:53
追加
gitbook_get_space
2026年9月17日12:53
追加
gitbook_list_spaces
2026年9月17日12:53
追加
gitbook_list_organizations
2026年9月17日12:53
追加
gitbook_get_current_user
2026年9月17日12:53