Back to Home
d-kimuson icon

modular-mcp

Verified Safe

by d-kimuson

Overview

A proxy server that efficiently manages and loads large tool collections from multiple Model Context Protocol (MCP) servers on-demand for LLMs, reducing context overhead.

Installation

Run Command
npx -y @kimuson/modular-mcp <config-file-path>

Environment Variables

  • HOME
  • XDG_CONFIG_HOME
  • API_KEY
  • MY_API_KEY
  • LOG_DIR
  • API_BASE_URL
  • API_TOKEN
  • CUSTOM_HEADER_VALUE
  • SSE_ENDPOINT
  • SSE_API_KEY

Security Notes

The server uses Zod for robust configuration validation and environment variable interpolation (`${VAR}` syntax only), with graceful fallback for undefined variables. OAuth tokens and client information are stored locally in the user's home directory. The use of `execSync` for locating `npx` and for the `mcp-remote` fallback is controlled. Built-in OAuth support is marked as experimental, but a fallback to `mcp-remote` provides a robust alternative.

Similar Servers

Stats

Interest Score57
Security Score9
Cost ClassMedium
Avg Tokens500
Stars32
Forks1
Last Update2025-11-21

Tags

MCPLLMProxyContext OptimizationTooling