MCPX - MCP Gateway

by TheLunarCompany

466 stars
491 downloads
Not rated
GitHub Website

About

MCPX is a production-ready, open-source gateway to manage MCP servers at scale—centralize tool discovery, access controls, call prioritization, and usage tracking to simplify agent workflows.

Details

Author
TheLunarCompany
GitHub stars
466
Downloads
491
Categories
Other

- Zero-code aggregation of multiple MCP servers
- Live API traffic visibility across outbound calls
- AI-aware policy enforcement for agentic traffic
- Advanced traffic shaping with rate limits and retries
- Cost and performance optimization through smart policies

Setting up with Highlight

This MCP is not yet compatible with Highlight’s one-click setup. However, you can still use it with Highlight by following these steps:

  1. Download and install Highlight from highlightai.com/download
  2. Navigate to the plugins tab and select "Add Custom Plugin"
  3. Configure the plugin with the settings below
    Plugin Name MCPX - MCP Gateway
    Command (node, npx, python, etc.)

    Please refer to the README for specific instructions on how to obtain API keys or other required environment variables.

  4. Enable "Start Automatically" if you want the plugin to start when Highlight launches

From the repository

Set up MCPX by following the instructions in the Lunar MCPX directory. It operates as a zero-code aggregator, requiring minimal configuration to connect multiple MCP servers and expose them through a single API endpoint.

Claude Desktop / Cursor

Paste into your MCP client config file to install this server.

{
    "mcpServers": {
        "mcpx - mcp gateway": {
            "mcpx": {
                "command": "npx",
                "args": [
                    "mcp-remote",
                    "http://localhost:9000/sse",
                    "--header",
                    "x-lunar-consumer-tag: developers",
                    "--header",
                    "x-lunar-api-key: abc123"
                ]
            }
        }
    }
}

McpServers

{
    "mcpx": {
        "command": "npx",
        "args": [
            "mcp-remote",
            "http://localhost:9000/sse",
            "--header",
            "x-lunar-consumer-tag: developers",
            "--header",
            "x-lunar-api-key: abc123"
        ]
    }
}

<div align="center">

<a href="https://opensource.org/licenses/MIT">License</a>
<a href="https://docs.lunar.dev/">Documentation</a>
<a href="https://lunar.dev/">Website</a>

</div>

Welcome to Lunar.dev

Lunar.dev is an open-source platform for managing, governing and optimizing third-party API consumption across applications and AI agent workloads at scale.

<div align="center">


</div>

Consumption Management for the AI Era

As AI agents and autonomous workflows increasingly rely on external APIs, there's a growing need for a mediation layer that acts as a central aggregation point between applications, agents, and the services they depend on.

Lunar.dev provides that layer—serving as a unified API Gateway for AI, delivering:

- Live API Traffic Visibility: Get real-time metrics on latency, errors, cost, and token usage across all outbound traffic, including LLM and agent calls.
- AI-Aware Policy Enforcement: Control tool access, throttle agent actions, and govern agentic traffic with fine-grained rules.
- Advanced Traffic Shaping: Apply rate limits, retries, priority queues, and circuit breakers to manage load and ensure reliability.
- Cost & Performance Optimization: Identify waste, smooth traffic peaks, and reduce overuse of costly APIs through smart gateway policies.
- Centralized MCP Aggregation: Streamline operations by consolidating multiple MCP servers into a single gateway, enhancing security, observability, and management.

Choose Your Path

Lunar.dev is composed of two major components:

- Lunar Proxy – our core API gateway and control layer
- Lunar MCPX – a zero-code aggregator for multiple MCP servers with unified API access

Explore the one that fits your needs—or use both for a full-stack solution.

Open Source at the Core

This project was born out of the need for a more robust, production-ready approach to managing third-party APIs. It remains open-source at its core and free for non-production/personal use. For production environments, we offer advanced features through guided onboarding and platform tiers; visit our website or reach out directly for more information

No reviews yet — be the first

Sign in to leave a review

Use Google, GitHub, or an email account so ratings stay tied to real people.

Email sign in

No reviews posted yet.