MCP Server — ameshkov/mcp-compress-router

Compress all connected MCP servers into a single router MCP to save tokens

Remote serverstreamable-http

What is the MCP Server?

Compress all connected MCP servers into a single router MCP to save tokens

Configuration

  • Node.js 24 or later — the router runs on Node.js and is launched via npx, so no separate install step is needed. - A coding agent that supports stdio MCP servers — this covers virtually every modern coding agent (opencode, Claude Code, Codex, GitHub Copilot, Cursor, etc.). The router exposes itself as a single stdio MCP server, so any agent that can spawn a local MCP process works.

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the MCP Server

{
  "mcpServers": {
    "router-1": {
      "command": "npx",
      "args": ["-y", "mcp-compress-router"],
      "env": {
        "GITHUB_PERSONAL_TOKEN": "your-value",
        "MY_CLIENT_ID": "your-value",
        "MY_CLIENT_SECRET": "your-value",
        "GITHUB_OAUTH_CLIENT_ID": "your-value",
        "GITHUB_OAUTH_CLIENT_SECRET": "your-value",
        "FIGMA_PERSONAL_ACCESS_TOKEN": "your-value",
        "FIGMA_CLIENT_ID": "your-value",
        "FIGMA_CLIENT_SECRET": "your-value"
      }
    }
  }
}

Add to claude_desktop_config.json, then restart Claude Desktop.

Configuration

  • Node.js 24 or later — the router runs on Node.js and is launched via npx, so no separate install step is needed. - A coding agent that supports stdio MCP servers — this covers virtually every modern coding agent (opencode, Claude Code, Codex, GitHub Copilot, Cursor, etc.). The router exposes itself as a single stdio MCP server, so any agent that can spawn a local MCP process works.
VariableDescriptionRequired
GITHUB_PERSONAL_TOKENCredential the server authenticates with.Yes
MY_CLIENT_IDConfiguration value read at startup.Optional
MY_CLIENT_SECRETCredential the server authenticates with.Yes
GITHUB_OAUTH_CLIENT_IDConfiguration value read at startup.Optional
GITHUB_OAUTH_CLIENT_SECRETCredential the server authenticates with.Yes
FIGMA_PERSONAL_ACCESS_TOKENCredential the server authenticates with.Yes
FIGMA_CLIENT_IDConfiguration value read at startup.Optional
FIGMA_CLIENT_SECRETCredential the server authenticates with.Yes

Example prompts to try

  • “Use MCP to OAuth.”

Frequently asked questions

Compress all connected MCP servers into a single router MCP to save tokens Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.