Stop re-explaining yourself to Agents. Give it the right context, right when it needs it.
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
Inspect callable tools, capabilities, and parameters exposed to AI agents by Context Book.
book_create_or_updateCreate a Book or update its metadata
book_listPaginated list of Book metadata
book_getRetrieve all pages of a Book
page_insertPush an atomic page into a Book; embeds immediately
page_updateReplace a page's content; re-embeds
page_deleteRemove a page (indices not re-numbered)
Stop re-explaining yourself to Agents. Give it the right context, right when needed.
LLMs are stateless β each conversation starts from scratch. ContextBook gives your AI tools a persistent, searchable knowledge library to draw the right context when they need it. No bloatware, no pre-loaded junk. Just the right information, at the right time.
Two Go binaries share a PostgreSQL database:
cmd/api) β the control plane: user login, OAuth 2.0, dashboard, book/page CRUDcmd/mcp) β the data plane: 8 MCP tools for AI agents, protected by Bearer tokensAll tools require a valid Bearer token and are scoped to the authenticated user.
| Tool | Description |
|---|---|
book_create_or_update | Create a Book or update its metadata |
book_list | Paginated list of Book metadata |
book_get | Retrieve all pages of a Book |
page_insert | Push an atomic page into a Book; embeds immediately |
page_update | Replace a page's content; re-embeds |
page_delete | Remove a page (indices not re-numbered) |
page_search | Semantic search across all Books |
readme | Returns the usage guide (call once per session) |
Migrations run automatically on API server startup.
For Cursor (.cursor/mcp.json):
For any MCP-compatible client, point the server URL to http://localhost:8081/mcp.
git checkout -b feature/my-feature)cd backend && go build ./cmd/api ./cmd/mcp)cd frontend && npm run build)MIT β see the LICENSE file for details.
Factual signals from GitHub, npm, and our automated checks β not a rating.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/context-book)<a href="https://allmcps.com/mcp/context-book"><img src="https://allmcps.com/api/badge/context-book?style=directory" alt="Context Book on AllMCPs" /></a>