An MCP server gateway that minimizes context usage via progressive Lua-driven discovery π
Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β or use 1-click editor setup below.
We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β we're steadily working through the catalog.
π‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.
My Cool Proxy is a Model Context Protocol (MCP) server gateway that tries to solve a lot of perceived problems with MCP as it exists today. In no particular order, those are that:
gh CLI to interact with GitHub, but it can then use the gh CLI to perform mutating or destructive operations, as well. With the GitHub MCP Server, you can instead scope things down to read-only tools trivially. MCP allows you to tightly control what tools agents have access to. To assist with this, My Cool Proxy allows you to further filter the tools exposed to agents.Install it globally to use it as a CLI tool:
Or run it directly via npx:
The gateway auto-creates a default config on first run. Just run it once to generate the config file:
Then edit the config to add your MCP servers.
Example config structure:
Or, copy the example config for a more complete starting point.
Add it to your MCP client config in e.g. Claude Desktop:
Ask your agent to perform a task that your configured MCP servers can help with, and watch it run!
This proxy acts as a gateway between agents and multiple MCP (Model Context Protocol) servers. Instead of connecting to each MCP server individually, agents connect to this single proxy and gain access to all configured servers through a unified interface.
Agents start with minimal knowledge about what servers or tools are available. They build context progressively:
list-servers - The agent's context now includes names and descriptions of all available MCP servers (e.g., "github", "slack", "database")list-server-tools(server_name) - The agent's context expands to include all tool names and descriptions for that specific servertool-details(server_name, tool_name) - The agent's context now has complete parameter schemas, return types (if available), and usage examples for a specific toolexecute(lua_script) - With full context, the agent can write Lua scripts that call the discovered toolsRather than loading all tools and tool descriptions into the context upfront, this defers loading tools until the agent determines those tools are needed.
Tool Chaining with Lua: Once an agent knows what tools exist, they can compose complex multi-step workflows in a single execute() call, saving the context overhead of any intermediate tool results. The Lua runtime provides access to all discovered servers as globals, with tools callable as async functions.
Sequential tool chaining:
Conditional logic:
Iteration with loops:
Gateway Skills are My Cool Proxy's implementation of Agent Skills - reusable context documents that agents can load as MCP Resources. When enabled, agents can:
_gateway.list_resources() Lua builtin; look for gw-skill:// URIs)_gateway.read_resource() Lua builtin_gateway.invoke_skill_script() Lua builtinWhile many agents implement their own skill systems already, these systems are highly fragmented, and it is difficult to reuse the same skills across multiple separate agent applications. While some systems such as skills.sh solve this by copying skills between applications explicitly, My Cool Proxy solves this by centralizing all skills into its own skill management system and exposing them over MCP. To distinguish these from existing skill systems, My Cool Proxy refers to these as "Gateway Skills."
Gateway Skills are disabled by default as they may conflict with existing skill systems built into your agent. See the Configuration Guide for setup options.
For a deeper design discussion about why Gateway Skills are implemented this way, refer to this section in the design docs.
My Cool Proxy includes an optional web dashboard for monitoring gateway activity. When enabled, it runs on a separate port and provides:
Enable it by adding a dashboard section to your config:
Then visit http://localhost:3100 in your browser. See the Configuration Guide for details.
See the Configuration Guide for the full config reference.
No reviews yet β be the first to share how this listing worked for you.
Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.
[](https://allmcps.com/mcp/my-cool-proxy)<a href="https://allmcps.com/mcp/my-cool-proxy"><img src="https://allmcps.com/api/badge/my-cool-proxy?style=directory" alt="My Cool Proxy on AllMCPs" /></a>