Works with git version control through file-based storage of context tracking data in human-readable markdown files, facilitating project history management across development sessions.
Stores session data and project information in human-readable markdown files, enabling easy review and version control of context data.
Context Continuation MCP Server
An MCP (Model Context Protocol) server that provides intelligent context management for AI development sessions. Never lose context when hitting token limits again!
Features
- Automatic Context Tracking: Monitor token usage and conversation flow
- Intelligent Session Breaks: Get notified before hitting context limits
- Seamless Restoration: Generate context restoration prompts for new sessions
- Project Management: Track milestones, decisions, and progress across sessions
- File-Based Storage: Human-readable markdown files that work with git
Quick Start
Installation
Usage with Claude Desktop
- Add to your Claude Desktop configuration:
- Restart Claude Desktop
- Start using context tools in your conversations:
context_start_session
- Begin tracking a new sessioncontext_track_message
- Track important messagescontext_get_status
- Check token usagecontext_restore_session
- Generate restoration prompt
Tools Available
Session Management
context_start_session
- Start tracking a new context sessioncontext_end_session
- End current session with summarycontext_get_status
- Get current session and token usage info
Context Tracking
context_track_message
- Add message to session trackingcontext_track_progress
- Update project progresscontext_add_milestone
- Add project milestone
Restoration
context_restore_session
- Generate context restoration promptcontext_get_project_summary
- Get full project overview
How It Works
- Start a Session: Initialize context tracking for your project
- Track Progress: Important messages and decisions are automatically logged
- Monitor Usage: Get warnings when approaching token limits
- Seamless Continuation: Generate restoration prompts for new sessions
File Structure
The server creates a .context
directory in your project:
Quality Assurance
This project maintains high code quality through:
- 🧪 Comprehensive Testing: 43+ unit tests with 95%+ coverage
- 🔄 Continuous Integration: Automated testing on Node.js 18.x, 20.x, 21.x
- 🌍 Cross-Platform: Tested on Ubuntu, Windows, and macOS
- 📊 Code Coverage: Real-time coverage tracking with Codecov
- 🏗️ Build Verification: Automated build and CLI functionality testing
- 📦 Package Validation: Pre-publish testing and compatibility checks
Running Tests
Development
License
MIT - see LICENSE file for details
This server cannot be installed
local-only server
The server can only run on the client's local machine because it depends on local resources.
Provides intelligent context management for AI development sessions, allowing users to track token usage, manage conversation context, and seamlessly restore context when reaching token limits.
Related MCP Servers
- AsecurityAlicenseAqualityAn enhanced Model Context Protocol server that enables AI assistants to interact with ClickUp workspaces, supporting task relationships, comments, checklists, and workspace management through natural language.Last updated -40343TypeScriptMIT License
- -securityFlicense-qualityManages AI conversation context and personal knowledge bases through the Model Context Protocol (MCP), providing tools for user data, conversation content, and knowledge management.Last updated -1TypeScript
- -securityFlicense-qualityA Model Context Protocol server that provides persistent task management capabilities for AI assistants, allowing them to create, update, and track tasks beyond their usual context limitations.Last updated -1TypeScript
- AsecurityAlicenseAqualityProvides a structured documentation system for context preservation in AI assistant environments, helping users create and manage memory banks for their projects.Last updated -310PythonMIT License