cross-llm-mcp
Verified Safeby 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
npx cross-llm-mcpEnvironment 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
klavis
Creates an AI agent that uses Klavis Strata to interact with Gmail and YouTube through MCP, demonstrating how to summarize a YouTube video and email the summary.
mcpo
Exposes Model Context Protocol (MCP) tools as OpenAPI-compatible HTTP servers for integration with LLM agents and other applications.
mcp-context-forge
A comprehensive Model Context Protocol (MCP) gateway and proxy that unifies REST, MCP, and A2A services, providing features like federation, virtual servers, rate-limiting, security, and an optional admin UI for managing web content and file conversions to markdown.
mcphub
A hub for managing, orchestrating, and providing a unified API for various Model Context Protocol (MCP) servers and their tools, including user management, OAuth services, and discovery of external servers.