pal-mcp-server
The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.
- 11.8k estrellas
- 1k forks
- 151 issues abiertos
- Lenguaje: Python
- Licencia: NOASSERTION
- actualizado
Instalación
local · uvx (python)claude mcp add pal -- uvx 2{
"mcpServers": {
"pal": {
"command": "uvx",
"args": ["2"]
}
}
}{
"mcpServers": {
"pal": {
"command": "uvx",
"args": ["2"]
}
}
}- Run the command above in your terminal (Claude Code), or paste the JSON config into claude_desktop_config.json (Claude Desktop).
- Replace any <placeholder> values with your API keys or paths.
- Restart Claude. The MCP server and its tools appear automatically.
Nota editorial
PAL MCP is a Model Context Protocol server that acts as a provider abstraction layer, connecting AI coding tools like Claude Code, Codex CLI, Gemini CLI, and Cursor to over 50 external model providers simultaneously, including Gemini, OpenAI, Grok, Azure, Ollama, and OpenRouter. Once installed, it exposes a suite of tools covering multi-model code review, debugging, consensus building, and long-context delegation, with the ability to route tasks to whichever model best fits the job. A standout feature is the `clink` tool, which lets one CLI spawn isolated subagent instances of other CLIs for tasks like security audits or planning, keeping the main session's context window clean by returning only final results. Conversation threading preserves full context across model hops, so a Gemini response from ten steps back remains accessible to a later GPT call. The server also works around MCP's 25,000-token limit automatically and supports local Ollama models for offline, private workflows. Developers working on large codebases who want multi-model analysis without manually switching between tools are the primary audience.
Resumen de MCP Servers
PAL MCP: Many Workflows. One Context.
Your AI's PAL – a Provider Abstraction Layer Formerly known as Zen MCP
Your CLI + Multiple Models = Your AI Dev Team
Use the 🤖 CLI you love:
Claude Code · Gemini CLI · Codex CLI · Qwen Code CLI · Cursor · and more
With multiple models within a single prompt:
Gemini · OpenAI · Anthropic · Grok · Azure · Ollama · OpenRouter · DIAL · On-Device Model
🆕 Now with CLI-to-CLI Bridge
The new clink (CLI + Link) tool connects external AI CLIs directly into your workflow:
Connect external CLIs like Gemini CLI, Codex CLI, and Claude Code directly into your workflow
CLI Subagents - Launch isolated CLI instances from within your current CLI! Claude Code can spawn Codex subagents, Codex can spawn Gemini CLI subagents, etc. Offload heavy tasks (code reviews, bug hunting) to fresh contexts while your main session's context window remains unpolluted. Each subagent returns only final results.
Context Isolation - Run separate investigations without polluting your primary workspace
Role Specialization - Spawn
planner,codereviewer, or custom role agents with specialized system promptsFull CLI Capabilities - Web search, file inspection, MCP tool access, latest documentation lookups
Seamless Continuity - Sub-CLIs participate as first-class members with full conversation context between tools
# Codex spawns Codex subagent for isolated code review in fresh context
clink with codex codereviewer to audit auth module for security issues
# Subagent reviews in isolation, returns final report without cluttering your context as codex reads each file and walks the directory structure
# Consensus from different AI models → Implementation handoff with full context preservation between tools
Use consensus with gpt-5 and gemini-pro to decide: dark mode or offline support next
Continue with clink gemini - implement the recommended feature
# Gemini receives full debate context and starts coding immediatelyWhy PAL MCP?
Why rely on one AI model when you can orchestrate them all?
A Model Context Protocol server that supercharges tools like Claude Code, Codex CLI, and IDE clients such as Cursor or the Claude Dev VS Code extension. PAL MCP connects your favorite AI tool to multiple AI models for enhanced code analysis, problem-solving, and collaborative development.
True AI Collaboration with Conversation Continuity
PAL supports conversation threading so your CLI can discuss ideas with multiple AI models, exchange reasoning, get second opinions, and even run collaborative debates between models to help you reach deeper insights and better solutions.
Your CLI always stays in control but gets perspectives from the best AI for each subtask. Context carries forward seamlessly across tools and models, enabling complex workflows like: code reviews with multiple models → automated planning → implementation → pre-commit validation.
You're in control. Your CLI of choice orchestrates the AI team, but you decide the workflow. Craft powerful prompts that bring in Gemini Pro, GPT 5, Flash, or local offline models exactly when needed.
Reasons to Use PAL MCP
A typical workflow with Claude Code as an example:
Multi-Model Orchestration - Claude coordinates with Gemini Pro, O3, GPT-5, and 50+ other models to get the best analysis for each task
Context Revival Magic - Even after Claude's context resets, continue conversations seamlessly by having other models "remind" Claude of the discussion
Guided Workflows - Enforces systematic investigation phases that prevent rushed analysis and ensure thorough code examination
Extended Context Windows - Break Claude's limits by delegating to Gemini (1M tokens) or O3 (200K tokens) for massive codebases
True Conversation Continuity - Full context flows across tools and models - Gemini remembers what O3 said 10 steps ago
Model-Specific Strengths - Extended thinking with Gemini Pro, blazing speed with Flash, strong reasoning with O3, privacy with local Ollama
Professional Code Reviews - Multi-pass analysis with severity levels, actionable feedback, and consensus from multiple AI experts
Smart Debugging Assistant - Systematic root cause analysis with hypothesis tracking and confidence levels
Automatic Model Selection - Claude intelligently picks the right model for each subtask (or you can specify)
Vision Capabilities - Analyze screenshots, diagrams, and visual content with vision-enabled models
Local Model Support - Run Llama, Mistral, or other models locally for complete privacy and zero API costs
Bypass MCP Token Limits - Automatically works around MCP's 25K limit for large prompts and responses
The Killer Feature: When Claude's context resets, just ask to "continue with O3" - the other model's response magically revives Claude's understanding without re-ingesting documents!
Example: Multi-Model Code Review Workflow
Perform a codereview using gemini pro and o3 and use planner to generate a detailed plan, implement the fixes and do a final precommit check by continuing from the previous codereviewThis triggers a
codereviewworkflow where Claude walks the code, looking for all kinds of issuesAfter multiple passes, collects relevant code and makes note of issues along the way
Maintains a
confidencelevel betweenexploring,low,medium,highandcertainto track how confidently it's been able to find and identify issuesGenerates a detailed list of critical -> low issues
Shares the relevant files, findings, etc with Gemini Pro to perform a deep dive for a second
codereviewComes back with a response and next does the same with o3, adding to the prompt if a new discovery comes to light
When done, Claude takes in all the feedback and combines a single list of all critical -> low issues, including good patterns in your code. The final list includes new findings or revisions in case Claude misunderstood or missed something crucial and one of the other models pointed this out
It then uses the
plannerworkflow to break the work down into simpler steps if a major refactor is requiredClaude then performs the actual work of fixing highlighted issues
When done, Claude returns to Gemini Pro for a
precommitreview
All within a single conversation thread! Gemini Pro in step 11 knows what was recommended by O3 in step 7! Taking that context and review into consideration to aid with its final pre-commit review.
Think of it as Claude Code for Claude Code. This MCP isn't magic. It's just super-glue.
Remember: Claude stays in full control — but YOU call the shots. PAL is designed to have Claude engage other models only when needed — and to follow through with meaningful back-and-forth. You're the one who crafts the powerful prompt that makes Claude bring in Gemini, Flash, O3 — or fly solo. You're the guide. The prompter. The puppeteer.
You are the AI - Actually Intelligent.
Recommended AI Stack
For Claude Code Users
For best results when using Claude Code:
Sonnet 4.5 - All agentic work and orchestration
Gemini 3.0 Pro OR GPT-5.2 / Pro - Deep thinking, additional code reviews, debugging and validations, pre-commit analysis
For Codex Users
For best results when using Codex CLI:
GPT-5.2 Codex Medium - All agentic work and orchestration
Gemini 3.0 Pro OR GPT-5.2-Pro - Deep thinking, additional code reviews, debugging and validations, pre-commit analysis
Quick Start (5 minutes)
Prerequisites: Python 3.10+, Git, uv installed
1. Get API Keys (choose one or more):
OpenRouter - Access multiple models with one API
Gemini - Google's latest models
OpenAI - O3, GPT-5 series
Azure OpenAI - Enterprise deployments of GPT-4o, GPT-4.1, GPT-5 family
X.AI - Grok models
DIAL - Vendor-agnostic model access
Ollama - Local models (free)
2. Install (choose one):
Option A: Clone and Automatic Setup (recommended)
git clone https://github.com/BeehiveInnovations/pal-mcp-server.git
cd pal-mcp-server
# Handles everything: setup, config, API keys from system environment.
# Auto-configures Claude Desktop, Claude Code, Gemini CLI, Codex CLI, Qwen CLI
# Enable / disable additional settings in .env
./run-server.sh Lo que la gente pregunta sobre pal-mcp-server
¿Qué es BeehiveInnovations/pal-mcp-server?
BeehiveInnovations/pal-mcp-server es mcp servers para el ecosistema de Claude AI. The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one. Tiene 11.8k estrellas en GitHub y su última actualización registrada es del 2025-12-15.
¿Cómo se instala pal-mcp-server?
Puedes instalar pal-mcp-server clonando el repositorio (https://github.com/BeehiveInnovations/pal-mcp-server) o siguiendo las instrucciones del README en GitHub. ClaudeWave también te ofrece bloques de instalación rápida en esta misma página.
¿Es seguro usar BeehiveInnovations/pal-mcp-server?
Nuestro agente de seguridad ha analizado BeehiveInnovations/pal-mcp-server y le ha asignado un Trust Score de 67/100 (tier: OK). Revisa el desglose completo de comprobaciones superadas y flags en esta página.
¿Quién mantiene BeehiveInnovations/pal-mcp-server?
BeehiveInnovations/pal-mcp-server es mantenido por BeehiveInnovations. La última actividad registrada en GitHub es del 2025-12-15, con 151 issues abiertos.
¿Hay alternativas a pal-mcp-server?
Sí. En ClaudeWave puedes explorar mcp servers similares en /categories/mcp, ordenados por popularidad o actividad reciente.
¿Mantienes este repo? Muestra su Trust Score en tu README
La insignia muestra el Trust Score y el veredicto actuales de este repositorio y enlaza a esta página. Sigue los datos del catálogo: nadie puede comprar ni editar la puntuación que enseña.
[](https://claudewave.com/en/repo/beehiveinnovations-pal-mcp-server)<a href="https://claudewave.com/en/repo/beehiveinnovations-pal-mcp-server"><img src="https://claudewave.com/api/badge/beehiveinnovations-pal-mcp-server" alt="ClaudeWave Trust Score for BeehiveInnovations/pal-mcp-server" width="320" height="64"></a>