Skip to content
Skillpedia
● Free and open sourceπŸ’» LocalπŸ”“ No API keyAI, memory and agents

MCP Slim Guard

Lets your AI agent reach other MCP tools through one guarded entry point that checks calls and keeps big results recoverable.

180 stars on GitHubby lennneyLicense MITUpdated 3 months ago

How to install

This MCP is local: it runs on your computer.

It works in apps installed on your PC (Claude Desktop, Claude Code, Cursor, VS Code…). Choose your app:

Paste in the terminal:

claude mcp add slim-guard -- npx -y mcp-slim-guard

Ready! Now test it

Restart the app and paste one of these requests in the chat:

Find the tool that lists my issues and call it through the guard.
Read the rest of the earlier large result using its result reference.

What it is

MCP Slim Guard sits between your AI app and other MCP servers. It allows only the tools you authorize, checks each call against the tool's original schema before it reaches the upstream server and can store oversized results so they are read back exactly. It is an alpha release.

What it can do

  • find_tool: look up authorized tools and their full schemas
  • call_tool: call an authorized upstream tool
  • read_result: read back an oversized result in pieces, without calling again
  • Modes: Native, Compact and Extreme
  • Allow and deny lists, SSRF checks and rate limits
  • Audit log

When to use

  • β€ΊWhen you connect many MCP tools and want to keep the tool list small for the agent
  • β€ΊWhen you want to block certain tools, such as delete tools, from your agent
  • β€ΊWhen tool results are very long and you want them delivered in recoverable pieces

What you need

Node.js. The current version is a source candidate that is not published to npm yet, so you build it from a reviewed checkout with npm ci and npm run build.

Skills that pair well

⭐ Skillpedia MCP Β· freeYour agent finds the right skill on its ownInstall our MCP and your agent searches 15,000+ skills whenever it needs one.Install for free β†’

Frequently asked questions

Is it ready for production?

The readme says it is an alpha. Review your allow and deny patterns before using it with privileged tools.

Is it on npm?

Not yet. Version 0.1.1-alpha.2 is a source candidate.

Which modes exist?

Native shows original tool names, Compact shows find_tool, call_tool and read_result, and Extreme adds smaller first results for large responses.

Which hosts does it support?

The readme gives setup for Codex (Native by default) and Claude Code (Compact by default).

Does it check my arguments?

Yes. Calls are validated against the original schema before the upstream is contacted.

Is it free?

The readme names no fee.

If it does not work

  • β€ΊRun mcp-slim-guard validate to check your configuration file.
  • β€ΊRun mcp-slim-guard verify --host codex to test the runtime without calling a business tool.
  • β€ΊVersion 1 configuration is not supported. Recreate it with mcp-slim-guard init.

5 new skills a week. 1 minute to read.