Skip to content
appsgit

MCP Slim Guard

MCP Slim Guard is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 76% fewer MCP tokens in our standard benchmark. It has 186 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-slim-guard.

github.com/lennney/mcp-slim-guard (opens in a new tab)

Install MCP Slim Guard

Generated from the server's MCP registry entry. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "mcp-slim-guard": {
      "command": "npx",
      "args": [
        "-y",
        "mcp-slim-guard"
      ]
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

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

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "mcp-slim-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-slim-guard"
      ]
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "servers": {
    "mcp-slim-guard": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mcp-slim-guard"
      ]
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

About MCP Slim Guard

MCP Slim Guard gives a host one deliberate way to reach authorized upstream tools. It keeps input schemas intact, validates calls before the upstream is invoked, and can recover an oversized result exactly without repeating that invocation.

  • ai-agent
  • compression
  • context-compression
  • mcp
  • mcp-compression
  • model-context-protocol
  • nodejs
  • payload-compression
  • schema-compression
  • token-optimization

FAQ

MCP Slim Guard FAQ

Still curious? Email info@appsgit.com.

What is MCP Slim Guard?

MCP Slim Guard is an MCP server that adds tools to AI assistants such as Claude Desktop, Claude Code and Cursor. 76% fewer MCP tokens in our standard benchmark. It has 186 GitHub stars, is released under the MIT license and runs locally with npx -y mcp-slim-guard. The source code is at github.com/lennney/mcp-slim-guard.

How do I install the MCP Slim Guard MCP server?

Add the command npx -y mcp-slim-guard to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is MCP Slim Guard free?

The server is open source under the MIT license, so running it is free. It does not declare any required API key.

Is MCP Slim Guard actively maintained?

The most recent commit was on Aug 14, 2026. The latest release is v0.1.0, published Jul 31, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.