Status: [UNTESTED] Endpoints found: http://localhost:8080/chat Source: https://github.com/rajtsi/OmniGateProxy # OmniGate AI-Proxy Bridge OmniGate is a hybrid infrastructure project that bridges low-level network routing with modern AI agent capabilities. It consists of a high-performance custom Layer 4/Layer 7 reverse proxy written in C++, controlled dynamically by AI IDEs (like Cursor and Claude Desktop) through a Node.js Model Context Protocol (MCP) microservice. By utilizing dynamic Zod schema validation, OmniGate translates backend C++ telemetry and routing functions into executable tools for AI agents, allowing LLMs to monitor traffic, track errors, and actively manage network security in real-time. ## Architecture The system is split into two core services: * **The Core Engine (C++):** Manages concurrent network routing via custom thread-pooling. It handles real-time Requests Per Second (RPS) monitoring, detailed error tracking, and executes infrastructure commands. * **The MCP Bridge (Node.js):** Acts as the translation layer between the C++ proxy and the AI client. It queries the proxy via REST API for its capabilities and dynamically exposes them to the AI using the Model Context Protocol. ## Key Features * **Custom Thread-Pooling:** Efficient concurrent request handling built from scratch in C++. * **Real-Time Telemetry:** Tracks RPS, error rates, and connection states dynamically. * **Dual MCP Transports:** * **Local stdio:** For seamless integration with local AI IDEs running on the same machine. * **Remote SSE Pipeline:** A split-route Server-Sent Events architecture allowing remote AI agents to connect securely. * **API Key Authentication:** Express.js middleware securing the remote SSE endpoints against unauthorized JSON-RPC commands. * **Dynamic Tool Generation:** Zod-validated schemas ensure the AI executes commands (like IP blocking) safely and strictly within defined parameters. ## Available AI Tools Once connected, the AI client has access to the following infrastructure tools: * **get_metrics:** Fetches real-time Re