Stop re-explaining yourself to Agents. Give it the right context, right when needed.
io.github.aditya201551/context-book-mcp — MCP Server
This Model Context Protocol (MCP) server provides a way to supply “the right context, right when needed,” avoiding repeated explanations to agents. It is described with topics spanning agentic AI, context management, and context engineering, and is categorized as an MCP server for AI tool integration.
🛠️ Key Features
Context management for agentic AI
Focus on context engineering and “right context” delivery
Built as an MCP server (server name: io.github.aditya201551/context-book-mcp)
MIT license noted in the repository excerpt
🚀 Use Cases
Supplying necessary context to agents during interactions
Reducing repeated re-explanations in agent workflows
Managing memory/context for LLM-based systems
⚡ Developer Benefits
Fits MCP-based tool and context pipelines
Supports context-management and context-engineering needs
Emphasizes correct timing of context provisioning
⚠️ Limitations
No tool list, toolCount, or concrete MCP endpoints are provided in the available source excerpt.
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.
How It Works
flowchart LR
AI["🤖 AI Clients\nClaude · Cursor · Windsurf"]
Browser["🌐 Browser Dashboard"]
MCP["🔌 MCP Server :8081\n8 Bearer-authenticated tools"]
API["⚙️ REST API :8080\nOAuth 2.0 · Books · Pages · Search"]
DB["🗄️ PostgreSQL\npgvector · pg_trgm"]
VOYAGE["🧠 Voyage AI\nvoyage-4 (1024-dim)"]
AI -- "MCP · Bearer Token" --> MCP
Browser -- "Session · HTTP JSON" --> API
MCP --- DB
API --- DB
API -- "OAuth 2.0 PKCE" --> AI
DB --- VOYAGE
Two Go binaries share a PostgreSQL database:
API server (cmd/api) — the control plane: user login, OAuth 2.0, dashboard, book/page CRUD
MCP server (cmd/mcp) — the data plane: 8 MCP tools for AI agents, protected by Bearer tokens
MCP Tools
All 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