# Context Continue Mcp

> MCP server code for context-mcp

- **Type:** MCP server
- **Install:** `agentstack add mcp-core3-coder-context-continue-mcp`
- **Verified:** Yes — security-reviewed for prompt injection and unsafe behavior
- **Seller:** [core3-coder](https://agentstack.voostack.com/s/core3-coder)
- **Installs:** 0
- **Category:** [Integrations](https://agentstack.voostack.com/c/integrations)
- **Latest version:** 0.1.0
- **License:** Apache-2.0
- **Upstream author:** [core3-coder](https://github.com/core3-coder)
- **Source:** https://github.com/core3-coder/context-continue-mcp

## Install

```sh
agentstack add mcp-core3-coder-context-continue-mcp
```

Requires the [AgentStack CLI](https://agentstack.voostack.com/docs/cli). Works with Claude Code, Cursor, and any MCP-compatible agent.

## About

# Context Continuation MCP Server

[](https://github.com/core3-coder/context-continue-mcp/actions/workflows/ci.yml)
[](https://codecov.io/gh/core3-coder/context-continue-mcp)
[](https://badge.fury.io/js/context-continue-mcp)
[](https://nodejs.org/)
[](https://opensource.org/licenses/MIT)
[](https://github.com/core3-coder/context-continue-mcp/issues)
[](https://github.com/core3-coder/context-continue-mcp/stargazers)

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

```bash
npm install -g context-continue-mcp
```

### Usage with Claude Desktop

1. Add to your Claude Desktop configuration:

```json
{
  "mcpServers": {
    "context-continue": {
      "command": "context-mcp",
      "args": ["--project", "/path/to/your/project"]
    }
  }
}
```

2. Restart Claude Desktop

3. Start using context tools in your conversations:
   - `context_start_session` - Begin tracking a new session
   - `context_track_message` - Track important messages
   - `context_get_status` - Check token usage
   - `context_restore_session` - Generate restoration prompt

## Tools Available

### Session Management
- `context_start_session` - Start tracking a new context session
- `context_end_session` - End current session with summary
- `context_get_status` - Get current session and token usage info

### Context Tracking  
- `context_track_message` - Add message to session tracking
- `context_track_progress` - Update project progress
- `context_add_milestone` - Add project milestone

### Restoration
- `context_restore_session` - Generate context restoration prompt
- `context_get_project_summary` - Get full project overview

## How It Works

1. **Start a Session**: Initialize context tracking for your project
2. **Track Progress**: Important messages and decisions are automatically logged
3. **Monitor Usage**: Get warnings when approaching token limits
4. **Seamless Continuation**: Generate restoration prompts for new sessions

## File Structure

The server creates a `.context` directory in your project:

```
your-project/
├── .context/
│   ├── config.json
│   ├── project_summary.md
│   ├── sessions/
│   │   ├── session_001_2025-05-31.md
│   │   └── session_002_2025-06-01.md
│   ├── progress/
│   │   ├── milestones.md
│   │   └── decisions.md
│   └── artifacts/
└── your-code/
```

## 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

```bash
# Run all tests
npm test

# Run tests with coverage
npm run test:coverage

# Run specific test suites
npm test token-counter
npm test session-tracker
npm test context-manager

# Watch mode for development
npm run test:watch
```

## Development

```bash
git clone https://github.com/core3-coder/context-continue-mcp
cd context-continue-mcp
npm install
npm run build
npm start
```

## License

MIT - see LICENSE file for details

## Source & license

This open-source MCP server is cataloged on AgentStack and links to its original source — we do not rehost the code.

- **Author:** [core3-coder](https://github.com/core3-coder)
- **Source:** [core3-coder/context-continue-mcp](https://github.com/core3-coder/context-continue-mcp)
- **License:** Apache-2.0

Install and usage instructions live in the source repository linked above.

## Pricing

- **Free** — Free

## Security capabilities

Automated source analysis of v0.1.0 — what this tool can access:

- **Network access:** no
- **Filesystem access:** no
- **Shell / process execution:** no
- **Environment & secrets:** no
- **Dynamic code execution:** no

*"Yes" means the capability is present in the source — more access means more to trust, not that it is unsafe.*


## Versions

- **0.1.0** — security scan: passed — Imported from the upstream source.

## Links

- Listing page: https://agentstack.voostack.com/l/mcp-core3-coder-context-continue-mcp
- Seller: https://agentstack.voostack.com/s/core3-coder
- Browse the marketplace: https://agentstack.voostack.com/browse

---
Listed on AgentStack — the marketplace for AI agent skills and MCP servers. Every listing is security-reviewed. Creators keep 70%.
