[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"project-71941":3},{"id":4,"name":5,"fullName":6,"owner":7,"repo":5,"description":8,"homepage":9,"htmlUrl":10,"language":11,"languages":10,"totalLinesOfCode":10,"stars":12,"forks":13,"watchers":14,"openIssues":15,"contributorsCount":16,"subscribersCount":16,"size":16,"stars1d":17,"stars7d":18,"stars30d":19,"stars90d":16,"forks30d":16,"starsTrendScore":20,"compositeScore":21,"rankGlobal":10,"rankLanguage":10,"license":22,"archived":23,"fork":23,"defaultBranch":24,"hasWiki":23,"hasPages":23,"topics":25,"createdAt":10,"pushedAt":10,"updatedAt":26,"readmeContent":27,"aiSummary":28,"trendingCount":16,"starSnapshotCount":16,"syncStatus":29,"lastSyncTime":30,"discoverSource":31},71941,"pal-mcp-server","BeehiveInnovations\u002Fpal-mcp-server","BeehiveInnovations","The power of Claude Code \u002F GeminiCLI \u002F CodexCLI + [Gemini \u002F OpenAI \u002F OpenRouter \u002F Azure \u002F Grok \u002F Ollama \u002F Custom Model \u002F All Of The Above] working as one.","",null,"Python",11589,1012,62,70,0,1,18,57,3,44.02,"Other",false,"main",[],"2026-06-12 02:02:56","# PAL MCP: Many Workflows. One Context.\n\n\u003Cdiv align=\"center\">\n\n  \u003Cem>Your AI's PAL – a Provider Abstraction Layer\u003C\u002Fem>\u003Cbr \u002F>\n  \u003Csub>\u003Ca href=\"docs\u002Fname-change.md\">Formerly known as Zen MCP\u003C\u002Fa>\u003C\u002Fsub>\n\n  [PAL in action](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F0d26061e-5f21-4ab1-b7d0-f883ddc2c3da)\n\n👉 **[Watch more examples](#-watch-tools-in-action)**\n\n### Your CLI + Multiple Models = Your AI Dev Team\n\n**Use the 🤖 CLI you love:**  \n[Claude Code](https:\u002F\u002Fwww.anthropic.com\u002Fclaude-code) · [Gemini CLI](https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-cli) · [Codex CLI](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex) · [Qwen Code CLI](https:\u002F\u002Fqwenlm.github.io\u002Fqwen-code-docs\u002F) · [Cursor](https:\u002F\u002Fcursor.com) · _and more_\n\n**With multiple models within a single prompt:**  \nGemini · OpenAI · Anthropic · Grok · Azure · Ollama · OpenRouter · DIAL · On-Device Model\n\n\u003C\u002Fdiv>\n\n---\n\n## 🆕 Now with CLI-to-CLI Bridge\n\nThe new **[`clink`](docs\u002Ftools\u002Fclink.md)** (CLI + Link) tool connects external AI CLIs directly into your workflow:\n\n- **Connect external CLIs** like [Gemini CLI](https:\u002F\u002Fgithub.com\u002Fgoogle-gemini\u002Fgemini-cli), [Codex CLI](https:\u002F\u002Fgithub.com\u002Fopenai\u002Fcodex), and [Claude Code](https:\u002F\u002Fwww.anthropic.com\u002Fclaude-code) directly into your workflow\n- **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.\n- **Context Isolation** - Run separate investigations without polluting your primary workspace\n- **Role Specialization** - Spawn `planner`, `codereviewer`, or custom role agents with specialized system prompts\n- **Full CLI Capabilities** - Web search, file inspection, MCP tool access, latest documentation lookups\n- **Seamless Continuity** - Sub-CLIs participate as first-class members with full conversation context between tools\n\n```bash\n# Codex spawns Codex subagent for isolated code review in fresh context\nclink with codex codereviewer to audit auth module for security issues\n# Subagent reviews in isolation, returns final report without cluttering your context as codex reads each file and walks the directory structure\n\n# Consensus from different AI models → Implementation handoff with full context preservation between tools\nUse consensus with gpt-5 and gemini-pro to decide: dark mode or offline support next\nContinue with clink gemini - implement the recommended feature\n# Gemini receives full debate context and starts coding immediately\n```\n\n👉 **[Learn more about clink](docs\u002Ftools\u002Fclink.md)**\n\n---\n\n## Why PAL MCP?\n\n**Why rely on one AI model when you can orchestrate them all?**\n\nA Model Context Protocol server that supercharges tools like [Claude Code](https:\u002F\u002Fwww.anthropic.com\u002Fclaude-code), [Codex CLI](https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli), and IDE clients such\nas [Cursor](https:\u002F\u002Fcursor.com) or the [Claude Dev VS Code extension](https:\u002F\u002Fmarketplace.visualstudio.com\u002Fitems?itemName=Anthropic.claude-vscode). **PAL MCP connects your favorite AI tool\nto multiple AI models** for enhanced code analysis, problem-solving, and collaborative development.\n\n### True AI Collaboration with Conversation Continuity\n\nPAL 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.\n\nYour 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.\n\n> **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.\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Reasons to Use PAL MCP\u003C\u002Fb>\u003C\u002Fsummary>\n\nA typical workflow with Claude Code as an example:\n\n1. **Multi-Model Orchestration** - Claude coordinates with Gemini Pro, O3, GPT-5, and 50+ other models to get the best analysis for each task\n\n2. **Context Revival Magic** - Even after Claude's context resets, continue conversations seamlessly by having other models \"remind\" Claude of the discussion\n\n3. **Guided Workflows** - Enforces systematic investigation phases that prevent rushed analysis and ensure thorough code examination\n\n4. **Extended Context Windows** - Break Claude's limits by delegating to Gemini (1M tokens) or O3 (200K tokens) for massive codebases\n\n5. **True Conversation Continuity** - Full context flows across tools and models - Gemini remembers what O3 said 10 steps ago\n\n6. **Model-Specific Strengths** - Extended thinking with Gemini Pro, blazing speed with Flash, strong reasoning with O3, privacy with local Ollama\n\n7. **Professional Code Reviews** - Multi-pass analysis with severity levels, actionable feedback, and consensus from multiple AI experts\n\n8. **Smart Debugging Assistant** - Systematic root cause analysis with hypothesis tracking and confidence levels\n\n9. **Automatic Model Selection** - Claude intelligently picks the right model for each subtask (or you can specify)\n\n10. **Vision Capabilities** - Analyze screenshots, diagrams, and visual content with vision-enabled models\n\n11. **Local Model Support** - Run Llama, Mistral, or other models locally for complete privacy and zero API costs\n\n12. **Bypass MCP Token Limits** - Automatically works around MCP's 25K limit for large prompts and responses\n\n**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!\n\n#### Example: Multi-Model Code Review Workflow\n\n1. `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 codereview`\n2. This triggers a [`codereview`](docs\u002Ftools\u002Fcodereview.md) workflow where Claude walks the code, looking for all kinds of issues\n3. After multiple passes, collects relevant code and makes note of issues along the way\n4. Maintains a `confidence` level between `exploring`, `low`, `medium`, `high` and `certain` to track how confidently it's been able to find and identify issues\n5. Generates a detailed list of critical -> low issues\n6. Shares the relevant files, findings, etc with **Gemini Pro** to perform a deep dive for a second [`codereview`](docs\u002Ftools\u002Fcodereview.md)\n7. Comes back with a response and next does the same with o3, adding to the prompt if a new discovery comes to light\n8. 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\n9. It then uses the [`planner`](docs\u002Ftools\u002Fplanner.md) workflow to break the work down into simpler steps if a major refactor is required\n10. Claude then performs the actual work of fixing highlighted issues\n11. When done, Claude returns to Gemini Pro for a [`precommit`](docs\u002Ftools\u002Fprecommit.md) review\n\nAll within a single conversation thread! Gemini Pro in step 11 _knows_ what was recommended by O3 in step 7! Taking that context\nand review into consideration to aid with its final pre-commit review.\n\n**Think of it as Claude Code _for_ Claude Code.** This MCP isn't magic. It's just **super-glue**.\n\n> **Remember:** Claude stays in full control — but **YOU** call the shots.\n> PAL is designed to have Claude engage other models only when needed — and to follow through with meaningful back-and-forth.\n> **You're** the one who crafts the powerful prompt that makes Claude bring in Gemini, Flash, O3 — or fly solo.\n> You're the guide. The prompter. The puppeteer.\n> #### You are the AI - **Actually Intelligent**.\n\u003C\u002Fdetails>\n\n#### Recommended AI Stack\n\n\u003Cdetails>\n\u003Csummary>For Claude Code Users\u003C\u002Fsummary>\n\nFor best results when using [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode):  \n\n- **Sonnet 4.5** - All agentic work and orchestration\n- **Gemini 3.0 Pro** OR **GPT-5.2 \u002F Pro** - Deep thinking, additional code reviews, debugging and validations, pre-commit analysis\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>For Codex Users\u003C\u002Fsummary>\n\nFor best results when using [Codex CLI](https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli):  \n\n- **GPT-5.2 Codex Medium** - All agentic work and orchestration\n- **Gemini 3.0 Pro** OR **GPT-5.2-Pro** - Deep thinking, additional code reviews, debugging and validations, pre-commit analysis\n\u003C\u002Fdetails>\n\n## Quick Start (5 minutes)\n\n**Prerequisites:** Python 3.10+, Git, [uv installed](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fgetting-started\u002Finstallation\u002F)\n\n**1. Get API Keys** (choose one or more):\n- **[OpenRouter](https:\u002F\u002Fopenrouter.ai\u002F)** - Access multiple models with one API\n- **[Gemini](https:\u002F\u002Fmakersuite.google.com\u002Fapp\u002Fapikey)** - Google's latest models\n- **[OpenAI](https:\u002F\u002Fplatform.openai.com\u002Fapi-keys)** - O3, GPT-5 series\n- **[Azure OpenAI](https:\u002F\u002Flearn.microsoft.com\u002Fazure\u002Fai-services\u002Fopenai\u002F)** - Enterprise deployments of GPT-4o, GPT-4.1, GPT-5 family\n- **[X.AI](https:\u002F\u002Fconsole.x.ai\u002F)** - Grok models\n- **[DIAL](https:\u002F\u002Fdialx.ai\u002F)** - Vendor-agnostic model access\n- **[Ollama](https:\u002F\u002Follama.ai\u002F)** - Local models (free)\n\n**2. Install** (choose one):\n\n**Option A: Clone and Automatic Setup** (recommended)\n```bash\ngit clone https:\u002F\u002Fgithub.com\u002FBeehiveInnovations\u002Fpal-mcp-server.git\ncd pal-mcp-server\n\n# Handles everything: setup, config, API keys from system environment. \n# Auto-configures Claude Desktop, Claude Code, Gemini CLI, Codex CLI, Qwen CLI\n# Enable \u002F disable additional settings in .env\n.\u002Frun-server.sh  \n```\n\n**Option B: Instant Setup with [uvx](https:\u002F\u002Fdocs.astral.sh\u002Fuv\u002Fgetting-started\u002Finstallation\u002F)**\n```json\n\u002F\u002F Add to ~\u002F.claude\u002Fsettings.json or .mcp.json\n\u002F\u002F Don't forget to add your API keys under env\n{\n  \"mcpServers\": {\n    \"pal\": {\n      \"command\": \"bash\",\n      \"args\": [\"-c\", \"for p in $(which uvx 2>\u002Fdev\u002Fnull) $HOME\u002F.local\u002Fbin\u002Fuvx \u002Fopt\u002Fhomebrew\u002Fbin\u002Fuvx \u002Fusr\u002Flocal\u002Fbin\u002Fuvx uvx; do [ -x \\\"$p\\\" ] && exec \\\"$p\\\" --from git+https:\u002F\u002Fgithub.com\u002FBeehiveInnovations\u002Fpal-mcp-server.git pal-mcp-server; done; echo 'uvx not found' >&2; exit 1\"],\n      \"env\": {\n        \"PATH\": \"\u002Fusr\u002Flocal\u002Fbin:\u002Fusr\u002Fbin:\u002Fbin:\u002Fopt\u002Fhomebrew\u002Fbin:~\u002F.local\u002Fbin\",\n        \"GEMINI_API_KEY\": \"your-key-here\",\n        \"DISABLED_TOOLS\": \"analyze,refactor,testgen,secaudit,docgen,tracer\",\n        \"DEFAULT_MODEL\": \"auto\"\n      }\n    }\n  }\n}\n```\n\n**3. Start Using!**\n```\n\"Use pal to analyze this code for security issues with gemini pro\"\n\"Debug this error with o3 and then get flash to suggest optimizations\"\n\"Plan the migration strategy with pal, get consensus from multiple models\"\n\"clink with cli_name=\\\"gemini\\\" role=\\\"planner\\\" to draft a phased rollout plan\"\n```\n\n👉 **[Complete Setup Guide](docs\u002Fgetting-started.md)** with detailed installation, configuration for Gemini \u002F Codex \u002F Qwen, and troubleshooting\n👉 **[Cursor & VS Code Setup](docs\u002Fgetting-started.md#ide-clients)** for IDE integration instructions\n📺 **[Watch tools in action](#-watch-tools-in-action)** to see real-world examples\n\n## Provider Configuration\n\nPAL activates any provider that has credentials in your `.env`. See `.env.example` for deeper customization.\n\n## Core Tools\n\n> **Note:** Each tool comes with its own multi-step workflow, parameters, and descriptions that consume valuable context window space even when not in use. To optimize performance, some tools are disabled by default. See [Tool Configuration](#tool-configuration) below to enable them.\n\n**Collaboration & Planning** *(Enabled by default)*\n- **[`clink`](docs\u002Ftools\u002Fclink.md)** - Bridge requests to external AI CLIs (Gemini planner, codereviewer, etc.)\n- **[`chat`](docs\u002Ftools\u002Fchat.md)** - Brainstorm ideas, get second opinions, validate approaches. With capable models (GPT-5.2 Pro, Gemini 3.0 Pro), generates complete code \u002F implementation\n- **[`thinkdeep`](docs\u002Ftools\u002Fthinkdeep.md)** - Extended reasoning, edge case analysis, alternative perspectives\n- **[`planner`](docs\u002Ftools\u002Fplanner.md)** - Break down complex projects into structured, actionable plans\n- **[`consensus`](docs\u002Ftools\u002Fconsensus.md)** - Get expert opinions from multiple AI models with stance steering\n\n**Code Analysis & Quality**\n- **[`debug`](docs\u002Ftools\u002Fdebug.md)** - Systematic investigation and root cause analysis\n- **[`precommit`](docs\u002Ftools\u002Fprecommit.md)** - Validate changes before committing, prevent regressions\n- **[`codereview`](docs\u002Ftools\u002Fcodereview.md)** - Professional reviews with severity levels and actionable feedback\n- **[`analyze`](docs\u002Ftools\u002Fanalyze.md)** *(disabled by default - [enable](#tool-configuration))* - Understand architecture, patterns, dependencies across entire codebases\n\n**Development Tools** *(Disabled by default - [enable](#tool-configuration))*\n- **[`refactor`](docs\u002Ftools\u002Frefactor.md)** - Intelligent code refactoring with decomposition focus\n- **[`testgen`](docs\u002Ftools\u002Ftestgen.md)** - Comprehensive test generation with edge cases\n- **[`secaudit`](docs\u002Ftools\u002Fsecaudit.md)** - Security audits with OWASP Top 10 analysis\n- **[`docgen`](docs\u002Ftools\u002Fdocgen.md)** - Generate documentation with complexity analysis\n\n**Utilities**\n- **[`apilookup`](docs\u002Ftools\u002Fapilookup.md)** - Forces current-year API\u002FSDK documentation lookups in a sub-process (saves tokens within the current context window), prevents outdated training data responses\n- **[`challenge`](docs\u002Ftools\u002Fchallenge.md)** - Prevent \"You're absolutely right!\" responses with critical analysis\n- **[`tracer`](docs\u002Ftools\u002Ftracer.md)** *(disabled by default - [enable](#tool-configuration))* - Static analysis prompts for call-flow mapping\n\n\u003Cdetails>\n\u003Csummary>\u003Cb id=\"tool-configuration\">👉 Tool Configuration\u003C\u002Fb>\u003C\u002Fsummary>\n\n### Default Configuration\n\nTo optimize context window usage, only essential tools are enabled by default:\n\n**Enabled by default:**\n- `chat`, `thinkdeep`, `planner`, `consensus` - Core collaboration tools\n- `codereview`, `precommit`, `debug` - Essential code quality tools\n- `apilookup` - Rapid API\u002FSDK information lookup\n- `challenge` - Critical thinking utility\n\n**Disabled by default:**\n- `analyze`, `refactor`, `testgen`, `secaudit`, `docgen`, `tracer`\n\n### Enabling Additional Tools\n\nTo enable additional tools, remove them from the `DISABLED_TOOLS` list:\n\n**Option 1: Edit your .env file**\n```bash\n# Default configuration (from .env.example)\nDISABLED_TOOLS=analyze,refactor,testgen,secaudit,docgen,tracer\n\n# To enable specific tools, remove them from the list\n# Example: Enable analyze tool\nDISABLED_TOOLS=refactor,testgen,secaudit,docgen,tracer\n\n# To enable ALL tools\nDISABLED_TOOLS=\n```\n\n**Option 2: Configure in MCP settings**\n```json\n\u002F\u002F In ~\u002F.claude\u002Fsettings.json or .mcp.json\n{\n  \"mcpServers\": {\n    \"pal\": {\n      \"env\": {\n        \u002F\u002F Tool configuration\n        \"DISABLED_TOOLS\": \"refactor,testgen,secaudit,docgen,tracer\",\n        \"DEFAULT_MODEL\": \"pro\",\n        \"DEFAULT_THINKING_MODE_THINKDEEP\": \"high\",\n        \n        \u002F\u002F API configuration\n        \"GEMINI_API_KEY\": \"your-gemini-key\",\n        \"OPENAI_API_KEY\": \"your-openai-key\",\n        \"OPENROUTER_API_KEY\": \"your-openrouter-key\",\n        \n        \u002F\u002F Logging and performance\n        \"LOG_LEVEL\": \"INFO\",\n        \"CONVERSATION_TIMEOUT_HOURS\": \"6\",\n        \"MAX_CONVERSATION_TURNS\": \"50\"\n      }\n    }\n  }\n}\n```\n\n**Option 3: Enable all tools**\n```json\n\u002F\u002F Remove or empty the DISABLED_TOOLS to enable everything\n{\n  \"mcpServers\": {\n    \"pal\": {\n      \"env\": {\n        \"DISABLED_TOOLS\": \"\"\n      }\n    }\n  }\n}\n```\n\n**Note:**\n- Essential tools (`version`, `listmodels`) cannot be disabled\n- After changing tool configuration, restart your Claude session for changes to take effect\n- Each tool adds to context window usage, so only enable what you need\n\n\u003C\u002Fdetails>\n\n## 📺 Watch Tools In Action\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Chat Tool\u003C\u002Fb> - Collaborative decision making and multi-turn conversations\u003C\u002Fsummary>\n\n**Picking Redis vs Memcached:**\n\n[Chat Redis or Memcached_web.webm](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F41076cfe-dd49-4dfc-82f5-d7461b34705d)\n\n**Multi-turn conversation with continuation:**\n\n[Chat With Gemini_web.webm](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F37bd57ca-e8a6-42f7-b5fb-11de271e95db)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Consensus Tool\u003C\u002Fb> - Multi-model debate and decision making\u003C\u002Fsummary>\n\n**Multi-model consensus debate:**\n\n[PAL Consensus Debate](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F76a23dd5-887a-4382-9cf0-642f5cf6219e)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>PreCommit Tool\u003C\u002Fb> - Comprehensive change validation\u003C\u002Fsummary>\n\n**Pre-commit validation workflow:**\n\n\u003Cdiv align=\"center\">\n  \u003Cimg src=\"https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F584adfa6-d252-49b4-b5b0-0cd6e97fb2c6\" width=\"950\">\n\u003C\u002Fdiv>\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>API Lookup Tool\u003C\u002Fb> - Current vs outdated API documentation\u003C\u002Fsummary>\n\n**Without PAL - outdated APIs:**\n\n[API without PAL](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F01a79dc9-ad16-4264-9ce1-76a56c3580ee)\n\n**With PAL - current APIs:**\n\n[API with PAL](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F5c847326-4b66-41f7-8f30-f380453dce22)\n\n\u003C\u002Fdetails>\n\n\u003Cdetails>\n\u003Csummary>\u003Cb>Challenge Tool\u003C\u002Fb> - Critical thinking vs reflexive agreement\u003C\u002Fsummary>\n\n**Without PAL:**\n\n![without_pal@2x](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F64f3c9fb-7ca9-4876-b687-25e847edfd87)\n\n**With PAL:**\n\n![with_pal@2x](https:\u002F\u002Fgithub.com\u002Fuser-attachments\u002Fassets\u002F9d72f444-ba53-4ab1-83e5-250062c6ee70)\n\n\u003C\u002Fdetails>\n\n## Key Features\n\n**AI Orchestration**\n- **Auto model selection** - Claude picks the right AI for each task\n- **Multi-model workflows** - Chain different models in single conversations\n- **Conversation continuity** - Context preserved across tools and models\n- **[Context revival](docs\u002Fcontext-revival.md)** - Continue conversations even after context resets\n\n**Model Support**\n- **Multiple providers** - Gemini, OpenAI, Azure, X.AI, OpenRouter, DIAL, Ollama\n- **Latest models** - GPT-5, Gemini 3.0 Pro, O3, Grok-4, local Llama\n- **[Thinking modes](docs\u002Fadvanced-usage.md#thinking-modes)** - Control reasoning depth vs cost\n- **Vision support** - Analyze images, diagrams, screenshots\n\n**Developer Experience**\n- **Guided workflows** - Systematic investigation prevents rushed analysis\n- **Smart file handling** - Auto-expand directories, manage token limits\n- **Web search integration** - Access current documentation and best practices\n- **[Large prompt support](docs\u002Fadvanced-usage.md#working-with-large-prompts)** - Bypass MCP's 25K token limit\n\n## Example Workflows\n\n**Multi-model Code Review:**\n```\n\"Perform a codereview using gemini pro and o3, then use planner to create a fix strategy\"\n```\n→ Claude reviews code systematically → Consults Gemini Pro → Gets O3's perspective → Creates unified action plan\n\n**Collaborative Debugging:**\n```\n\"Debug this race condition with max thinking mode, then validate the fix with precommit\"\n```\n→ Deep investigation → Expert analysis → Solution implementation → Pre-commit validation\n\n**Architecture Planning:**\n```\n\"Plan our microservices migration, get consensus from pro and o3 on the approach\"\n```\n→ Structured planning → Multiple expert opinions → Consensus building → Implementation roadmap\n\n👉 **[Advanced Usage Guide](docs\u002Fadvanced-usage.md)** for complex workflows, model configuration, and power-user features\n\n## Quick Links\n\n**📖 Documentation**\n- [Docs Overview](docs\u002Findex.md) - High-level map of major guides\n- [Getting Started](docs\u002Fgetting-started.md) - Complete setup guide\n- [Tools Reference](docs\u002Ftools\u002F) - All tools with examples\n- [Advanced Usage](docs\u002Fadvanced-usage.md) - Power user features\n- [Configuration](docs\u002Fconfiguration.md) - Environment variables, restrictions\n- [Adding Providers](docs\u002Fadding_providers.md) - Provider-specific setup (OpenAI, Azure, custom gateways)\n- [Model Ranking Guide](docs\u002Fmodel_ranking.md) - How intelligence scores drive auto-mode suggestions\n\n**🔧 Setup & Support**\n- [WSL Setup](docs\u002Fwsl-setup.md) - Windows users\n- [Troubleshooting](docs\u002Ftroubleshooting.md) - Common issues\n- [Contributing](docs\u002Fcontributions.md) - Code standards, PR process\n\n## License\n\nApache 2.0 License - see [LICENSE](LICENSE) file for details.\n\n## Acknowledgments\n\nBuilt with the power of **Multi-Model AI** collaboration 🤝\n- **A**ctual **I**ntelligence by real Humans\n- [MCP (Model Context Protocol)](https:\u002F\u002Fmodelcontextprotocol.com)\n- [Codex CLI](https:\u002F\u002Fdevelopers.openai.com\u002Fcodex\u002Fcli)\n- [Claude Code](https:\u002F\u002Fclaude.ai\u002Fcode)\n- [Gemini](https:\u002F\u002Fai.google.dev\u002F)\n- [OpenAI](https:\u002F\u002Fopenai.com\u002F)\n- [Azure OpenAI](https:\u002F\u002Flearn.microsoft.com\u002Fazure\u002Fai-services\u002Fopenai\u002F)\n\n### Star History\n\n[![Star History Chart](https:\u002F\u002Fapi.star-history.com\u002Fsvg?repos=BeehiveInnovations\u002Fpal-mcp-server&type=Date)](https:\u002F\u002Fwww.star-history.com\u002F#BeehiveInnovations\u002Fpal-mcp-server&Date)\n","PAL MCP 项目是一个提供者抽象层，旨在将多个AI模型和CLI工具整合到一个统一的工作流中。其核心功能包括通过单一提示使用多种AI模型（如Gemini、OpenAI、Anthropic等），以及引入了clink工具来桥接外部AI CLI，实现子代理的创建与管理，从而在不污染主会话上下文的情况下执行特定任务。此外，它支持角色特化、全CLI能力访问及无缝连续性，使得不同AI模型间能够保持完整的对话上下文。该项目适用于需要同时利用多种AI服务进行开发、代码审查或复杂问题解决的场景，特别适合于希望提高工作效率并简化多模型集成流程的技术团队和个人开发者。",2,"2026-06-11 03:39:34","high_star"]