Welcome to Lunar Docs
Lunar.dev is the complete AI Gateway platform that lets enterprises secure, govern, and observe every interaction between AI agents, APIs, and data sources. Whether you are connecting LLMs, orchestrating agent workflows, or managing custom MCP servers, Lunar.dev helps you do it safely and at scale.
Why Lunar.dev?β
AI infrastructure is no longer just about connecting to models, it is about controlling the entire agentic ecosystem and Lunar.dev provides that unified control plane for your AI entire stack.
- Observe: Gain real-time visibility into every model, API, and tool invocation.
- Enforce: Apply policies, role-based access, rate limits, and cost controls.
- Secure: Prevent prompt injection, data leakage, and untrusted agent behavior.
Lunar.dev powers both AI traffic governance and MCP tool governance under one roof.
The MCP Gateway (MCPX)β
The MCPX Gateway governs the tool invocation layer for AI agents using the Model Context Protocol (MCP).
It acts as a single endpoint aggregating multiple MCP servers, with full security and audit controls.
- Register multiple MCP servers under one governed endpoint
- Enforce authentication and scoped permissions per user or agent
- Forward secrets securely and record full audit trails
- Integrate with AI Gateway for end-to-end traffic visibility
The AI Gatewayβ
The AI Gateway centralizes control of all LLM and API traffic in your organization.
It gives you visibility, policy enforcement, and identity-aware routing with minimal latency overhead.
- Production-ready for enterprise workloads
- Cost and latency-aware routing across model providers
- Inline request inspection and data redaction
- Full observability and policy-based enforcement
π Read the AI Gateway Docs Β»
One Platform, Two Gatewaysβ
Together, Lunarβs AI Gateway and MCP Gateway form a complete governance stack for AI applications:
- The AI Gateway manages model and API traffic
- The MCP Gateway manages tool and agent interactions
- Unified policies, identity, and observability across both layers
Deploy them independently or together on Kubernetes, with your organizationβs IdP and monitoring stack.