Back to Home
JamesANZ icon

cross-llm-mcp

Verified Safe

by JamesANZ

Overview

This MCP server provides a unified interface for calling and orchestrating multiple Large Language Models (LLMs) from various providers, offering user preferences for model selection, tag-based routing, and a comprehensive prompt logging system.

Installation

Run Command
npx cross-llm-mcp

Environment Variables

  • OPENAI_API_KEY
  • ANTHROPIC_API_KEY
  • DEEPSEEK_API_KEY
  • GEMINI_API_KEY
  • XAI_API_KEY
  • KIMI_API_KEY
  • PERPLEXITY_API_KEY
  • MISTRAL_API_KEY
  • DEFAULT_CHATGPT_MODEL
  • DEFAULT_CLAUDE_MODEL
  • DEFAULT_DEEPSEEK_MODEL
  • DEFAULT_GEMINI_MODEL
  • DEFAULT_GROK_MODEL
  • DEFAULT_KIMI_MODEL
  • DEFAULT_PERPLEXITY_MODEL
  • DEFAULT_MISTRAL_MODEL
  • CROSS_LLM_DEFAULT_MODEL
  • CROSS_LLM_COST_PREFERENCE
  • KIMI_API_BASE_URL
  • MOONSHOT_API_KEY
  • MOONSHOT_API_BASE_URL

Security Notes

The server handles API keys via environment variables, which is a good practice. File system operations for preferences and prompt logs use `path.join` and `mkdirSync({ recursive: true })`, mitigating path traversal risks. JSON parsing is standard, and no direct `eval` or arbitrary code execution vulnerabilities were found. Logging of full prompts/responses to local files means sensitive data could be stored unencrypted on disk, which is a minor risk depending on the host system's security.

Similar Servers

Stats

Interest Score38
Security Score9
Cost ClassHigh
Avg Tokens8800
Stars10
Forks6
Last Update2025-12-06

Tags

LLM orchestrationMulti-LLMAI ToolsCustomizationLogging