multi_mcp
Verified Safeby religa
Overview
Multi-model AI orchestration server for automated code review and LLM-powered analysis, integrating with Claude Code CLI.
Installation
uv run python src/server.pyEnvironment Variables
- OPENAI_API_KEY
- ANTHROPIC_API_KEY
- GEMINI_API_KEY
- OPENROUTER_API_KEY
- AZURE_API_KEY
- AZURE_API_BASE
- AZURE_API_VERSION
- AWS_ACCESS_KEY_ID
- AWS_SECRET_ACCESS_KEY
- AWS_REGION_NAME
- DEFAULT_MODEL
- DEFAULT_MODEL_LIST
- LOG_LEVEL
- MAX_RETRIES
- MODEL_TIMEOUT_SECONDS
- MAX_FILES_PER_REVIEW
- MAX_FILE_SIZE_KB
- MAX_CODEREVIEW_RESPONSE_SIZE
- ARTIFACTS_DIR
Security Notes
The project demonstrates good security practices in its core codebase, including Pydantic-based input validation, secure path resolution (`Path.resolve().relative_to()`), and checks for file size/type before embedding for LLMs. The prompts explicitly guide the AI towards security-focused analysis (OWASP Top 10, adversarial mindset). The primary risks are inherent to external LLM interactions (hallucinations, misuse of generated code) and the configuration of CLI models. While the `_execute_cli_model` uses `subprocess.Popen` for CLI models, `cli_command`, `cli_args`, and `cli_env` are configured by the server administrator in `config/models.yaml`, not directly from user input. This shifts potential command injection risks to configuration management rather than code vulnerability, assuming the `models.yaml` is trusted and secure. The system is designed to *detect* security issues in target code, showing a strong security awareness.
Similar Servers
claude-flow
Orchestrates AI agents (Claude) for development workflows, including code generation, testing, analysis, research, and project migration, with MLOps capabilities.
claude-code-mcp
Provides an MCP server to allow LLMs to directly invoke Claude Code CLI for complex coding, file system, and Git operations, bypassing interactive permission prompts.
consult-llm-mcp
Facilitates Claude Code to consult powerful external AI models for complex code analysis, debugging, and review tasks.
athena-protocol
This server acts as an AI tech lead, providing expert validation, impact analysis, and strategic guidance to AI coding agents before code changes are made.