Source
ππππ»π½πΌ πΊπ¦ | Context Bonsai [MCP]Context Bonsai MCP π³ β a new state management and ...
627 Views/Reach
2026-04-25 14:14
Message β3612
Context Bonsai [MCP]Context Bonsai MCP π³ β a new state management and context compression tool built specifically for Claude Code and Claude Desktop.Instead of dragging along an endless chat history, Context Bonsai offers 6 native MCP tools and a full Enterprise Survival Suite:π Dynamic State Graph: Unified source of truth in state.json with Atomic Writes and automated .bak recovery. Data-loss protection is built-in.βοΈ Semantic Pruning: Automatically groups fixes by topics (Logic, UI, Auth, etc.), retaining the most relevant logs to save tokens.π Evergreen Knowledge: Set 'is_critical: true' for complex deep-fixes to mark them as "Evergreen" (never pruned from active memory).πΊ Deep Archive: Overflowing critical logs are safely moved to bonsai_archive.md, preserving 100% of project history without bloating context.π‘ Anti-Hallucination Guard: Enforce strict architectural laws via `manage_strict_rules` to break endless AI hallucination loops.π― Dynamic Blinders (`set_focus_mode`): Dynamically hides the underlying project context to force the LLM to focus purely on a specific semantic topic (e.g. Auth), radically saving tokens.π§© AST Signature Maps: Uses the official TypeScript compiler (`preview_file_signatures`) to safely preview massive files. It perfectly extracts public Class members and JSDoc blocks while enforcing token-guardrails, granting instant file comprehension at 1% of the typical token cost.π Git Context: Natively detects and attaches active git branches and commit hashes to every single log entry for pure offline bug tracing.Links: [GIT] / [NPM]