🚀 Big News:Socket Has Acquired Secure Annex.Learn More →
Socket
Book a DemoSign in
Socket

mcpcute

Package Overview
Dependencies
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

mcpcute

MCP aggregator - aggregate multiple MCPs behind a single interface

latest
Source
npmnpm
Version
0.3.7
Version published
Maintainers
1
Created
Source

mcpcute

npm version

MCP aggregator - aggregate multiple MCPs behind a single interface to reduce context pollution for AI agents.

Instead of exposing 20+ MCP tools directly to your AI agent, mcpcute provides a two-level hierarchy with just 7 tools:

MCP-Level Operations

  • list_mcps - List all available MCP servers with their connection status
  • search_mcps - Search for MCP servers by name
  • get_mcp_details - Get detailed info about an MCP including its tools

Tool-Level Operations

  • list_tools - List all tools for a specific MCP
  • search_tools - Search for tools (optionally scoped to a specific MCP)
  • get_tool_details - Get detailed schema and description for a tool
  • execute_tool - Execute a tool from a chosen MCP (requires both MCP and tool names plus arguments)

Installation

npm install -g mcpcute
# or
bun add -g mcpcute
# or
npx mcpcute

Configuration

Create a mcpcute.config.json file in your working directory (or set MCPCUTE_CONFIG env var to point to your config file):

{
  "mcpServers": {
    "filesystem": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-filesystem", "/tmp"]
    },
    "fetch": {
      "command": "npx",
      "args": ["-y", "@modelcontextprotocol/server-fetch"]
    }
  }
}

Usage

With Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "mcpcute": {
      "command": "npx",
      "args": ["-y", "mcpcute"],
      "env": {
        "MCPCUTE_CONFIG": "/path/to/your/mcpcute.config.json"
      }
    }
  }
}

With Claude Code

Add to your Claude Code MCP settings:

{
  "mcpServers": {
    "mcpcute": {
      "command": "npx",
      "args": ["-y", "mcpcute"],
      "env": {
        "MCPCUTE_CONFIG": "/path/to/your/mcpcute.config.json"
      }
    }
  }
}

Standalone

# With global install
mcpcute

# Or with npx
npx mcpcute

# With custom config path
MCPCUTE_CONFIG=/path/to/config.json npx mcpcute

How it works

  • mcpcute starts instantly - no upfront connections to any MCP servers
  • Use list_mcps or search_mcps to discover available MCPs (no connections needed)
  • Use get_mcp_details or list_tools to explore an MCP's capabilities (connects on-demand)
  • Use search_tools to find tools across all MCPs or scoped to one
  • Use get_tool_details to get the full schema for a tool
  • Use execute_tool (with mcp_name, tool_name, and arguments) to run the tool

This reduces the initial context from potentially hundreds of tool schemas to just 7 simple tools, and startup is instant regardless of how many MCPs you configure.

Cache

mcpcute persists the discovered tool list for each MCP to disk so future runs can answer tool discovery requests without reconnecting to every server. The cache lives in:

  • macOS/Linux: ${XDG_CACHE_HOME:-~/.cache}/mcpcute
  • Windows: %LOCALAPPDATA%/mcpcute/cache

Override the location with MCPCUTE_CACHE_DIR. Cached entries are automatically invalidated whenever the command, arguments, or environment for a server change in mcpcute.config.json.

Workflow Examples

Discovering filesystem tools

1. search_mcps("file") → finds "filesystem" MCP
2. list_tools("filesystem") → shows all filesystem tools
3. get_tool_details("read_file") → see how to use it
4. execute_tool({ mcp_name: "filesystem", tool_name: "read_file", arguments: { path: "/tmp/example.txt" } }) → run it

Exploring all available MCPs

1. list_mcps() → see all configured MCPs
2. get_mcp_details("fetch") → learn about this MCP
3. list_tools("fetch") → see what it can do

Why mcpcute?

  • Instant startup: Lazy loading means no waiting for 20+ MCP servers to connect
  • Two-level hierarchy: Clear separation between MCP discovery and tool discovery
  • Reduced context pollution: Instead of loading 50+ tool schemas into your AI's context, load just 7
  • Dynamic tool discovery: AI agents can search and discover tools as needed
  • Scoped exploration: Explore one MCP at a time instead of being overwhelmed
  • Unified interface: One consistent API for all your MCP tools
  • Easy configuration: Simple JSON config to aggregate multiple MCP servers

License

MIT

Keywords

mcp

FAQs

Package last updated on 19 Jan 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts