Skip to content
MCP server

slimmcp-proxy

Meta-MCP proxy that cuts tool-schema context by exposing three discovery tools

Runs locally

slimmcp-proxy is an open-source MCP server for developer tools. It runs locally on your machine and is started by your AI client.

Pricing
Open source
Platforms
CLI, API, Self-hosted
Runs
Locally
Version
1.0.5
Listing updated

Similar MCP servers

Install

Add with the CLI

Run in a terminal

claude mcp add slimmcp-proxy -- npx -y slimmcp-proxy

Add --scope user to use it in every project, or --scope project to share it in .mcp.json.

Or share it with your project

Add to .mcp.json

{
  "mcpServers": {
    "slimmcp-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "slimmcp-proxy"
      ]
    }
  }
}

Claude Code setup guide

Add to claude_desktop_config.json

{
  "mcpServers": {
    "slimmcp-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "slimmcp-proxy"
      ]
    }
  }
}

Settings → Developer → Edit Config, then quit and reopen Claude Desktop.

Claude Desktop setup guide

Install in CursorOpens Cursor, which asks you to confirm. Or add it by hand:

Add to ~/.cursor/mcp.json

{
  "mcpServers": {
    "slimmcp-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "slimmcp-proxy"
      ]
    }
  }
}

Use .cursor/mcp.json in a project to share it with the project.

Cursor setup guide

Install in VS CodeOpens VS Code, which asks you to confirm. Or add it by hand:

Add to ~/.copilot/mcp-config.json

{
  "mcpServers": {
    "slimmcp-proxy": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "slimmcp-proxy"
      ]
    }
  }
}

Or put the same entry in .mcp.json at your workspace root to share it.

VS Code setup guide

Add with the CLI

Run in a terminal

codex mcp add slimmcp-proxy -- npx -y slimmcp-proxy

Or add to config.toml

Add to ~/.codex/config.toml

[mcp_servers.slimmcp-proxy]
command = "npx"
args = ["-y", "slimmcp-proxy"]

Codex setup guide

Add to your client's MCP settings (most use this shape)

{
  "mcpServers": {
    "slimmcp-proxy": {
      "command": "npx",
      "args": [
        "-y",
        "slimmcp-proxy"
      ]
    }
  }
}
  • Gemini CLI and Antigravity

    Gemini CLI

    Add to ~/.gemini/settings.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Or run: gemini mcp add -s user slimmcp-proxy npx -- -y slimmcp-proxy

    Antigravity

    Add to ~/.gemini/config/mcp_config.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Use .agents/mcp_config.json to add it to one workspace only.

    Gemini CLI and Antigravity setup guide

  • Devin Desktop (formerly Windsurf)

    Add to ~/.config/devin/mcp_config.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    On Windows the file is %APPDATA%\devin\mcp_config.json. Use .devin/mcp_config.json to share it with a project.

    Devin Desktop setup guide

  • Cline

    Add to cline_mcp_settings.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Open it from the MCP Servers icon → Configure → Configure MCP Servers.

    Cline setup guide

  • Zed

    Add to Zed settings.json

    {
      "context_servers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Open it with zed: open settings file. Merge context_servers into the settings you already have.

    Zed setup guide

  • JetBrains AI Assistant and Junie

    AI Assistant

    Add to Settings → Tools → AI Assistant → Model Context Protocol (MCP) → Add

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Junie

    Add to ~/.junie/mcp/mcp.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Use .junie/mcp/mcp.json to share it with a project.

    JetBrains AI Assistant and Junie setup guide

  • Kiro

    Add to ~/.kiro/settings/mcp.json

    {
      "mcpServers": {
        "slimmcp-proxy": {
          "command": "npx",
          "args": [
            "-y",
            "slimmcp-proxy"
          ]
        }
      }
    }

    Use .kiro/settings/mcp.json to add it to one workspace only.

    Kiro setup guide

Using several servers? Build one config file with the MCP config generator.

About slimmcp-proxy

Connecting an AI client to many MCP servers loads every upstream tool schema into the prompt up front. slimmcp-proxy sits between the client and those servers and presents only three meta-tools: one for BM25 keyword search across tools, one for inspecting a single tool's schema on demand, and one for invoking it. The project's own benchmark against 60 tools from three stdio servers reports a 97.86% drop in initial tools/list payload size.

Requests pass through a redactor that masks common credential formats and sensitive JSON keys before results reach the model, plus a local policy file with allow and deny glob rules, deny-overrides precedence, and per-tool call budgets. Local stdio upstreams get a minimal environment allowlist so host CI secrets are not inherited. Remote Streamable-HTTP and SSE upstreams are supported, and call metrics are stored in node:sqlite.

It suits developers who run several MCP servers in Claude Desktop, Claude Code, Cursor or Cline and want to save context tokens, or teams that want local guardrails on which tools an agent may call. Node.js 22.13 or later is required.

Tools this server provides (3)

Taken from the project documentation; the running server may differ.

From the tool list in its README, going by the names, 1 of 3 tools reads data; 2 names don't say.

From the server's own tool labels and tool names; not verified by us.

discover_tools
Searches upstream tools with BM25 by query, optional server and limit.
inspect_tool_schemaName suggests: reads
Returns the schema for one upstream tool on a given server.
invoke_tool
Calls an upstream tool with arguments, applying redaction and policy checks.

What it does

Progressive tool discovery
Three meta-tools let a client search, inspect and invoke upstream tools without loading all schemas at startup.
BM25 tool search
A built-in BM25 index ranks upstream tools against a natural-language query, optionally filtered by server.
Secret redaction
Masks common API tokens, JWTs, bearer headers, PEM keys and sensitive JSON keys, failing closed at deep nesting.
Local policy enforcement
Glob allow and deny rules, deny-overrides precedence and per-tool call budgets are defined in a policy file.
Isolated stdio environments
Child processes receive only an allowlisted set of environment variables plus explicitly configured ones.
Usage metrics
Bytes and tokens saved and proxy latency are recorded in a local SQLite store and viewable via a stats command.

Good for

  • Reduce the token cost of loading many MCP servers into one coding assistant
  • Let an agent discover the right tool among dozens without reading every schema
  • Restrict which upstream tools an agent can call with allow and deny rules
  • Keep API keys and tokens from appearing in tool output sent to a model
  • Measure how much context a multi-server MCP setup saves

Pricing

Open source

Free and MIT licensed; runs locally.

slimmcp-proxy FAQ

How do I run slimmcp-proxy?

Use npx -y slimmcp-proxy serve with a config file listing your upstream servers, or build it from the GitHub repository with pnpm.

Which Node.js version is required?

Node.js 22.13.0 or later, because it uses the built-in node:sqlite module without native addons.

Which upstream transports are supported?

Local stdio servers and remote servers using Streamable-HTTP or SSE.

Is slimmcp-proxy free to use?

It is released under the MIT license and is installed and run locally.

How do I add slimmcp-proxy to Claude Code?

Run this command in your terminal: claude mcp add slimmcp-proxy -- npx -y slimmcp-proxy

What are the best alternatives to slimmcp-proxy?

The closest alternatives to slimmcp-proxy are MCPProxy, Context Proxy, slimproof, MCP Slim Guard and mcp-anything.

Where this comes from

  • Description: written from the project's README and its MCP Registry entry.
  • Install steps: from the official MCP Registry entry.

How AIPoweredBot checks servers