GitBook MCP by usefulapi for LangChain
io.usefulapi/gitbook
Read spaces, collections, pages and content; search docs and manage GitBook organization spaces.
client:LangChain
transport:streamable-http
tools:14
Install GitBook MCP by usefulapi in LangChain
pip install langchain-mcp-adapters
from langchain_mcp_adapters.client import MultiServerMCPClient
client = MultiServerMCPClient({
"gitbook": {
"transport": "streamable_http",
"url": "https://gitbook.usefulapi.io/mcp",
}
})
tools = await client.get_tools()
get_tools() returns the server's tools as LangChain tools, ready for an agent. LangChain docs
What LangChain can do once it is connected
- gitbook_get_current_user
- gitbook_list_organizations
- gitbook_list_spaces
- gitbook_get_space
- gitbook_list_pages
- gitbook_get_page
- gitbook_search_space
- gitbook_search_organization
- gitbook_list_collections
- gitbook_get_collection
- gitbook_list_change_requests
- gitbook_list_comments
- gitbook_create_change_request
- gitbook_update_change_request