VC

vvkmnn/claude-praetorian-mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

11 stars 1 forks 质量 69 趋势 8MIT

⚜️ An MCP server for context compaction and recycling in Claude Code

概览

An Model Context Protocol (MCP) server for aggressive context compaction in Claude Code. Save 90%+ tokens by compacting web research, task outputs, and conversations into structured snapshots. Inspired by this talk by Dexter Horthy from HumanLayer, and his team's work on ACE: Advanced Context Engineering for Coding Agents, 12-Factor Agents & the TOON (Token-Oriented Object Notation) Format. There is -- no external databases or services, only flat files. However, if npx resolves the wrong package, you can force resolution with: Optionally, install the skill to teach Claude when to proactively use praetorian: This makes Claude automatically compact after research, subagent tasks, and before context resets. The MCP works without the skill, but the skill improves discoverability. For full automation with hooks, install from the claude-emporium marketplace: (targeted, fires only at high-value moments):

README

以下为原文 README 节选,完整内容请查看原文。

claude-praetorian-mcp

An Model Context Protocol (MCP) server for aggressive context compaction in Claude Code. Save 90%+ tokens by compacting web research, task outputs, and conversations into structured snapshots.


Inspired by this talk by Dexter Horthy from HumanLayer, and his team’s work on ACE: Advanced Context Engineering for Coding Agents, 12-Factor Agents & the TOON (Token-Oriented Object Notation) Format.

install

Requirements:

在 GitHub 查看完整 README

安装

npx claude-praetorian-mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "claude-praetorian-mcp": { "command": "npx", "args": ["claude-praetorian-mcp"], "env": {} } } }