open-bridge
Verified Safeby htooayelwinict
Overview
A lightweight MCP server enabling AI coding assistants to interact with the OpenRouter API for various coding tasks.
Installation
uvx openrouter-mcp-bridgeEnvironment Variables
- OPENROUTER_API_KEY
Security Notes
The code avoids direct use of 'eval' or 'exec'. API keys are loaded from environment variables, which is a secure practice. It uses 'httpx' for async network calls, a standard and reliable library. The 'directory' parameter is only used for validation with 'os.path.isdir' and for metadata, not for command execution, mitigating path traversal risks. JSON extraction uses regex and 'json.loads' with error handling, preventing code injection through malformed JSON. The stateless nature further reduces potential attack surfaces.
Similar Servers
codex-mcp-go
Wraps the OpenAI Codex CLI as an MCP tool, enabling AI clients like KiloCode, Roo Code, and Claude Code to utilize Codex for high-precision coding tasks, debugging, and code reviews within an agentic workflow.
openrouter-deep-research-mcp
This server orchestrates multi-agent AI research workflows by decomposing complex queries, executing parallel sub-queries using an ensemble of LLMs, and synthesizing findings into comprehensive reports, often leveraging real-time web data, internal knowledge bases, and advanced caching.
mcp-server-python-template
This server acts as a template for building Model Context Protocol (MCP) servers in Python, specifically demonstrating how to expose weather-related tools (get_alerts, get_forecast) by integrating with an external API (National Weather Service) to provide context and actions for AI models.
openapi-mcp-server
Converts OpenAPI specifications into Model Context Protocol (MCP) tools, enabling AI assistants to interact with APIs.