Mcpcute
MCP aggregator - aggregate multiple MCPs behind a single interface
Ask AI about Mcpcute
Powered by Claude Β· Grounded in docs
I know everything about Mcpcute. Ask me about installation, configuration, usage, or troubleshooting.
0/500
Reviews
Documentation
mcpcute
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_mcpsorsearch_mcpsto discover available MCPs (no connections needed) - Use
get_mcp_detailsorlist_toolsto explore an MCP's capabilities (connects on-demand) - Use
search_toolsto find tools across all MCPs or scoped to one - Use
get_tool_detailsto get the full schema for a tool - Use
execute_tool(withmcp_name,tool_name, andarguments) 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
