tool-guardian
Fronts stdio MCP servers with three router tools (list_capabilities, describe_tool, call_tool) so schemas load on demand instead of riding every request; shapes every tool result through a deterministic output ladder that archives the original first (retrieve_spill reads it back); prices tool groups in tokens and can hide built-in groups per agent. Bridges to a standard-library Python router, so Python 3.9+ is required.
用三个路由工具(list_capabilities、describe_tool、call_tool)代理 stdio MCP 服务器,schema 按需加载,不再随每次请求发送;所有工具结果经过确定性输出阶梯压缩,有损处理前先归档原文(retrieve_spill 可读回);按 token 为工具分组标价,并可按 agent 隐藏内置分组。桥接到纯标准库的 Python 路由器,需要 Python 3.9+。
How to install
dsh plugin add dsh-tool-guardian npx -y dsh-tool-guardian About
An MCP server that sits in front of your other MCP servers and exposes **three generic tools** instead of dozens of specific ones — discovering the rest **on demand** — so tool definitions stop eating your context window before the model reads a word. Companion to Context Guardian: **Context Guardian compacts the conversation before the window fills; Tool Guardian keeps the tools from filling it in the first place.** Two halves of the same problem. | | Without Tool Guardian | With it | |---|---|---| | 7 MCP servers on a 32K model | **28,689 tokens** of schemas on every request (87.6 % of the w…
Recommendation signals
Meta
- License
- MIT
- Language
- Python
- GitHub stars
- 0
- mo. downloads
- 247
- Last push
- 2026-09-21
- Created
- 2026-08-29
Links
Basic safety check
- Findings
- None
- Sources
- curated:awesome-dsh-plugin.com, curated:awesome-dsh-plugin/awesome-dsh-plugin
- Topics
- ai-tool, coding-assistant, context-management, context-window, context-windows, deepseek-harness, deepseek-plugin, dsh-plugin, litellm, llm, local-llm, mcp, ollama, openai-api
Related plugins
openclaw
openclaw/openclaw
The AI that really does things. Any OS. Any Platform. The lobster way. 🦞
mobile-mcp
mobile-next/mobile-mcp
Model Context Protocol Server for Mobile Automation and Scraping (iOS, Android, Emulators, Simulators and Real Devices)