Modular MCP is a proxy server for managing large tool collections across multiple Model Context Protocol (MCP) servers. It groups tools and loads schemas on-demand, improving efficiency for operations teams using Claude agents.
git clone https://github.com/d-kimuson/modular-mcp.gitModular MCP acts as a Model Context Protocol proxy server designed to handle large tool collections across multiple upstream MCP servers without overwhelming LLM context windows. It groups tools logically and loads detailed tool schemas only when needed, enabling LLM discovery through group descriptions rather than requiring upfront tool calls. The system maintains a clean separation between tool discovery and execution phases, with the LLM interacting through just two registered tools: get-modular-tools for retrieving group-specific schemas and call-modular-tool for execution. This architecture is particularly valuable for operations teams and developers managing complex multi-server MCP setups who need context-efficient tool management.
[{"step":"Identify the MCP server and tool you need. Check the modular-mcp configuration to confirm the server is registered and the tool schema is available.","tip":"Use `list_servers` and `list_tools` commands in modular-mcp to verify availability before executing tasks."},{"step":"Construct your task with the correct tool name and parameters. Use the modular-mcp proxy to send the request, which will handle schema loading and tool execution.","tip":"If the tool requires complex parameters (e.g., nested JSON), validate the schema first using `get_tool_schema` to avoid errors."},{"step":"Execute the task via the modular-mcp proxy. Monitor the response for status, execution time, and any error messages.","tip":"For long-running tasks, check the `execution_time_ms` field to identify performance bottlenecks. Use this data to optimize future requests."},{"step":"Process the result or handle errors. If the tool fails, check the error message for clues (e.g., missing parameters, authentication issues).","tip":"For persistent issues, restart the modular-mcp server or check its logs for schema loading errors."},{"step":"Log the task and result for audit purposes. Use the metadata (e.g., file size, last modified) to track changes over time.","tip":"Integrate modular-mcp with your existing logging system to correlate tool usage with operational metrics."}]
Managing multiple MCP servers with numerous tools without context window bloat
Operations teams automating workflows across distributed tool collections
Organizing third-party MCP tools (Context7, Playwright, etc.) into logical groups
Reducing LLM overhead by loading tool schemas on-demand rather than all at once
No install command available. Check the GitHub repository for manual installation instructions.
git clone https://github.com/d-kimuson/modular-mcpCopy the install command above and run it in your terminal.
Launch Claude Code, Cursor, or your preferred AI coding agent.
Use the prompt template or examples below to test the skill.
Adapt the skill to your specific use case and workflow.
Use the modular-mcp proxy server to interact with [TOOL_NAME] from the [SERVER_NAME] MCP server. Execute the following task: [TASK_DESCRIPTION]. Ensure you reference the correct tool schema and handle any required parameters dynamically. If the tool requires authentication or context, assume it's already configured in the MCP server.
```json
{
"tool_used": "filesystem_read",
"server": "local-fs-server",
"parameters": {
"path": "/projects/2024-q4/reports/sales_summary.md",
"max_size": 1048576
},
"result": {
"content": "# Q4 2024 Sales Report\n\n**Total Revenue**: $2.4M (↑15% YoY)\n**Top Product**: Widget Pro (42% of revenue)\n**Regional Performance**:\n- North America: $1.1M\n- EMEA: $850K\n- APAC: $450K\n\n**Key Risks**: Supply chain delays in APAC\n\nGenerated: 2024-10-15",
"size": 1245,
"last_modified": "2024-10-14T23:59:59Z"
},
"execution_time_ms": 124,
"status": "success"
}
```
The modular-mcp proxy successfully retrieved the sales summary report from the local filesystem server. The tool schema was loaded on-demand, and the file was read within acceptable limits (1MB max size). The response includes metadata like file size and modification date, which can be used for validation. The execution time was minimal, demonstrating the efficiency of the proxy server's schema management.IronCalc is a spreadsheet engine and ecosystem
Get more done every day with Microsoft Teams – powered by AI
Enterprise workflow automation and service management platform
Automate your spreadsheet tasks with AI power
Agentic AI Workflow platform
Connected workspace for docs, wikis, and projects
Take a free 3-minute scan and get personalized AI skill recommendations.
Take free scan