Agent♥︎Age
Catalog

io.github.lennney/mcp-slim-guard

Official

by lennney · TypeScript

76% fewer MCP tokens in our standard benchmark. Same upstream call. Exact recovery.

MCP Slim Guard (io.github.lennney/mcp-slim-guard)

MCP Slim Guard is a Model Context Protocol (MCP) server component focused on reducing MCP token usage. It reports 76% fewer MCP tokens in a standard benchmark while using the same upstream call, and it supports exact recovery of oversized results.

🛠️ Key Features

  • 76% fewer MCP tokens in a standard benchmark
  • Same upstream call
  • Exact recovery for an oversized result
  • Keeps input schemas intact
  • Validates calls before invoking the upstream
  • Recovers an oversized result without repeating the upstream invocation
  • Role based: “deliberate way” for a host to reach authorized upstream tools

🚀 Use Cases

  • Authorized access from a host to upstream MCP tools
  • Preventing invalid tool calls via pre-upstream validation
  • Handling oversized upstream results with exact recovery

⚡ Developer Benefits

  • Token-optimization via context/compression approach
  • Schema integrity maintained
  • Recovery avoids repeated upstream calls

⚠️ Limitations

  • The provided excerpt does not describe supported modes or configuration details beyond the presence of a “Choose a mode” section.

Topics

ai-agentcompressioncontext-compressionmcpmcp-compressionmodel-context-protocolnodejspayload-compressionschema-compressiontoken-optimizationtool-discoverytypescript

Related servers

More in Security