context-mode

GitHub

Context window optimization for AI coding agents. Sandboxes tool output (98% reduction), persists session memory, and enforces routing across 17 platforms via MCP + hooks.

RAW Config

Claude Desktop Configuration

Add to ~/Library/Application Support/Claude/claude_desktop_config.json

{
  "mcpServers": {
    "context-mode": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-context-mode"
      ]
    }
  }
}