mcp-rubber-duck
Verified Safeby nesquikm
Overview
An MCP server acting as a bridge to query and orchestrate multiple OpenAI-compatible LLMs for rubber duck debugging and multi-agent operations.
Installation
npx mcp-rubber-duckEnvironment Variables
- OPENAI_API_KEY
- GEMINI_API_KEY
- GROQ_API_KEY
- TOGETHER_API_KEY
- PERPLEXITY_API_KEY
- ANYSCALE_API_KEY
- AZURE_OPENAI_API_KEY
- AZURE_OPENAI_ENDPOINT
- OLLAMA_BASE_URL
- CUSTOM_{NAME}_API_KEY
- CUSTOM_{NAME}_BASE_URL
- DEFAULT_PROVIDER
- DEFAULT_TEMPERATURE
- LOG_LEVEL
- MCP_SERVER
- MCP_BRIDGE_ENABLED
- MCP_APPROVAL_MODE
- MCP_APPROVAL_TIMEOUT
- MCP_TRUSTED_TOOLS
- MCP_TRUSTED_TOOLS_{SERVER_NAME}
- MCP_SERVER_{NAME}_TYPE
- MCP_SERVER_{NAME}_URL
- MCP_SERVER_{NAME}_COMMAND
- MCP_SERVER_{NAME}_ARGS
- MCP_SERVER_{NAME}_API_KEY
Security Notes
The server employs robust security measures, including extensive use of environment variables for secrets, a `SafeLogger` to redact sensitive data, and `JSON.parse` for LLM outputs which safely handles malformed JSON without code execution. The `FunctionBridge` facilitates calls to external MCP servers, including `stdio` commands which are configured by the operator, not dynamically generated from user input. Argument validation using `Ajv` and an `ApprovalService` (configurable for 'always', 'trusted', or 'never' modes, with session-based memory) provide strong defenses against malicious tool calls, requiring human intervention for untrusted actions. The overall architecture is designed with security in mind for its intended use case, with the primary remaining risk lying in potential misconfiguration of `stdio` commands by the operator.
Similar Servers
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers.
mcp-context-forge
Retrieves web content and files from URLs, then converts them into high-quality Markdown format, supporting various content types and conversion engines.
bifrost
High-performance AI gateway unifying multiple LLM providers, offering real-time monitoring, configuration management, and extensibility through plugins.
mcp-omnisearch
A Model Context Protocol (MCP) server that provides unified access to multiple search providers, AI tools, and content processing/enhancement features through a single interface.