Back to Home
babasida246 icon

ai-mcp-gateway

Verified Safe

by babasida246

Overview

An intelligent AI Model orchestration gateway for AI-powered project scaffolding, code analysis, interactive chat, and multi-agent collaboration, functioning as a CLI tool or a HTTP API server.

Installation

Run Command
docker compose -f docker-compose.dev.yml up -d ai-mcp-gateway

Environment Variables

  • MCP_ENDPOINT
  • MCP_API_KEY
  • MODE
  • API_PORT
  • API_HOST
  • OPENROUTER_API_KEY
  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • OPENROUTER_FALLBACK_MODELS
  • OPENROUTER_REPLACE_OPENAI
  • OPENROUTER_REPLACE_CLAUDE
  • REDIS_HOST
  • REDIS_PORT
  • REDIS_PASSWORD
  • REDIS_DB
  • LOG_LEVEL
  • DEFAULT_LAYER
  • ENABLE_CROSS_CHECK
  • ENABLE_AUTO_ESCALATE
  • MAX_ESCALATION_LAYER
  • ENABLE_COST_TRACKING
  • COST_ALERT_THRESHOLD
  • LAYER_L0_ENABLED
  • LAYER_L1_ENABLED
  • LAYER_L2_ENABLED
  • LAYER_L3_ENABLED
  • CHAT_MODELS
  • CODE_MODELS
  • ANALYZE_MODELS
  • CREATE_PROJECT_MODELS
  • DATABASE_URL
  • DB_HOST
  • DB_PORT
  • DB_USER
  • DB_PASSWORD
  • DB_NAME
  • ADMIN_USERNAME
  • ADMIN_PASSWORD
  • ADMIN_SESSION_EXPIRY
  • APP_URL
  • OSS_MODEL_ENABLED
  • OSS_MODEL_ENDPOINT
  • OSS_MODEL_NAME
  • TERMINAL_ENCRYPTION_KEY
  • API_CORS_ORIGIN

Security Notes

The server employs robust security practices including parameterized SQL queries, JWT-based authentication, and environment variable management for API keys. It also includes a policy enforcer for prompt/output scanning. Potential inherent risks associated with the GPTPlusClient (relying on browser session tokens) and WebTerminal (remote execution capabilities) are noted, but these features are implemented using standard libraries and with explicit warnings about terms of service compliance for GPTPlus. Overall, the implementation adheres to good security standards.

Similar Servers

Stats

Interest Score0
Security Score8
Cost ClassMedium
Avg Tokens2000
Stars0
Forks0
Last Update2025-12-05

Tags

AIDevelopmentCLIGatewayCode AnalysisProject ScaffoldingMulti-AgentLLM OrchestrationTDDFact-CheckingWeb Terminal