pal-mcp-server MCP工具 是 AI Skill Hub 本期精选MCP工具之一。在 GitHub 上收获超过 11.5k 颗 Star,综合评分 8.2 分,整体质量较高。我们强烈推荐将其纳入你的 AI 工具库,帮助提升工作效率。
pal-mcp-server MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
pal-mcp-server MCP工具 是一款遵循 MCP(Model Context Protocol)标准协议的 AI 工具扩展。通过 MCP 协议,它可以让 Claude、Cursor 等主流 AI 客户端直接访问和操作外部工具、数据源和服务,实现 AI 能力的无缝扩展。无论是文件操作、数据库查询还是 API 调用,都可以通过自然语言在 AI 对话中直接触发,极大提升生产效率。
# 方式一:通过 Claude Code CLI 一键安装
claude skill install https://github.com/BeehiveInnovations/pal-mcp-server
# 方式二:手动配置 claude_desktop_config.json
{
"mcpServers": {
"pal-mcp-server-mcp--": {
"command": "npx",
"args": ["-y", "pal-mcp-server"]
}
}
}
# 配置文件位置
# macOS: ~/Library/Application Support/Claude/claude_desktop_config.json
# Windows: %APPDATA%/Claude/claude_desktop_config.json
# 安装后在 Claude 对话中直接使用 # 示例: 用户: 请帮我用 pal-mcp-server MCP工具 执行以下任务... Claude: [自动调用 pal-mcp-server MCP工具 MCP 工具处理请求] # 查看可用工具列表 # 在 Claude 中输入:"列出所有可用的 MCP 工具"
// claude_desktop_config.json 配置示例
{
"mcpServers": {
"pal-mcp-server_mcp__": {
"command": "npx",
"args": ["-y", "pal-mcp-server"],
"env": {
// "API_KEY": "your-api-key-here"
}
}
}
}
// 保存后重启 Claude Desktop 生效
AI Orchestration - Auto model selection - Claude picks the right AI for each task - Multi-model workflows - Chain different models in single conversations - Conversation continuity - Context preserved across tools and models - Context revival - Continue conversations even after context resets
Model Support - Multiple providers - Gemini, OpenAI, Azure, X.AI, OpenRouter, DIAL, Ollama - Latest models - GPT-5, Gemini 3.0 Pro, O3, Grok-4, local Llama - Thinking modes - Control reasoning depth vs cost - Vision support - Analyze images, diagrams, screenshots
Developer Experience - Guided workflows - Systematic investigation prevents rushed analysis - Smart file handling - Auto-expand directories, manage token limits - Web search integration - Access current documentation and best practices - Large prompt support - Bypass MCP's 25K token limit
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) ```bash git clone https://github.com/BeehiveInnovations/pal-mcp-server.git cd pal-mcp-server
DISABLED_TOOLS=analyze,refactor,testgen,secaudit,docgen,tracer
DISABLED_TOOLS=refactor,testgen,secaudit,docgen,tracer
Multi-model Code Review:
"Perform a codereview using gemini pro and o3, then use planner to create a fix strategy" → Claude reviews code systematically → Consults Gemini Pro → Gets O3's perspective → Creates unified action plan
Collaborative Debugging:
"Debug this race condition with max thinking mode, then validate the fix with precommit" → Deep investigation → Expert analysis → Solution implementation → Pre-commit validation
Architecture Planning:
"Plan our microservices migration, get consensus from pro and o3 on the approach" → Structured planning → Multiple expert opinions → Consensus building → Implementation roadmap
👉 Advanced Usage Guide for complex workflows, model configuration, and power-user features
./run-server.sh
**Option B: Instant Setup with [uvx](https://docs.astral.sh/uv/getting-started/installation/)**json // Add to ~/.claude/settings.json or .mcp.json // Don't forget to add your API keys under env { "mcpServers": { "pal": { "command": "bash", "args": ["-c", "for p in $(which uvx 2>/dev/null) $HOME/.local/bin/uvx /opt/homebrew/bin/uvx /usr/local/bin/uvx uvx; do [ -x \"$p\" ] && exec \"$p\" --from git+https://github.com/BeehiveInnovations/pal-mcp-server.git pal-mcp-server; done; echo 'uvx not found' >&2; exit 1"], "env": { "PATH": "/usr/local/bin:/usr/bin:/bin:/opt/homebrew/bin:~/.local/bin", "GEMINI_API_KEY": "your-key-here", "DISABLED_TOOLS": "analyze,refactor,testgen,secaudit,docgen,tracer", "DEFAULT_MODEL": "auto" } } } }
**3. Start Using!** "Use pal to analyze this code for security issues with gemini pro" "Debug this error with o3 and then get flash to suggest optimizations" "Plan the migration strategy with pal, get consensus from multiple models" "clink with cli_name=\"gemini\" role=\"planner\" to draft a phased rollout plan" ```
👉 Complete Setup Guide with detailed installation, configuration for Gemini / Codex / Qwen, and troubleshooting 👉 Cursor & VS Code Setup for IDE integration instructions 📺 Watch tools in action to see real-world examples
PAL activates any provider that has credentials in your .env. See .env.example for deeper customization.
To optimize context window usage, only essential tools are enabled by default:
Enabled by default: - chat, thinkdeep, planner, consensus - Core collaboration tools - codereview, precommit, debug - Essential code quality tools - apilookup - Rapid API/SDK information lookup - challenge - Critical thinking utility
Disabled by default: - analyze, refactor, testgen, secaudit, docgen, tracer
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
</div>
---
The new clink (CLI + Link) tool connects external AI CLIs directly into your workflow:
planner, codereviewer, or custom role agents with specialized system prompts```bash
<em>Your AI's PAL – a Provider Abstraction Layer</em><br /> <sub><a href="docs/name-change.md">Formerly known as Zen MCP</a></sub>
pal-mcp-server 提供强大的 AI Orchestration(AI 编排)能力。它支持 Auto model selection,由 Claude 自动为不同任务选择最合适的模型,并允许在单次对话中通过 Multi-model workflows 串联不同的模型。通过 Context revival 技术,即使在上下文重置后也能保持对话的连续性。此外,它支持 Gemini 和 OpenAI 等多种 Provider,为开发者提供灵活的模型调用体验。
项目安装过程高度自动化,能够自动处理环境设置、配置以及从系统环境变量中读取 API keys。推荐使用 uv 工具进行快速部署。对于高级用户,可以通过运行 `./run-server.sh` 脚本或使用 `uvx` 命令实现即时安装,确保开发环境的快速搭建与隔离。
本项目提供 5 分钟快速上手指南。首先,您需要准备好 OpenRouter、Gemini 或 OpenAI 等平台的 API Keys。通过配置 `.env` 文件,您可以灵活控制工具的启用状态。例如,通过修改 `DISABLED_TOOLS` 参数,可以决定是否禁用 analyze、refactor 或 testgen 等特定功能,实现高度定制化的开发工作流。
配置管理非常灵活。您可以直接在 `.env` 文件中进行细粒度设置,或通过修改 `~/.claude/settings.json` 或 `.mcp.json` 来配置 MCP 服务器。系统会自动识别并激活 `.env` 中包含凭据的 Provider。对于 Claude Desktop、Claude Code 及 Gemini CLI 等工具,项目提供了自动化的配置支持。
pal-mcp-server 将您的 CLI 工具与多种模型深度结合,打造专属的 AI 开发团队。它完美兼容 Claude Code、Gemini CLI、Codex CLI、Qwen Code CLI 以及 Cursor 等主流工具。特别推出的 `clink` (CLI + Link) 工具,实现了 CLI-to-CLI Bridge,能够将外部 AI CLI 直接接入您的工作流,实现跨工具的无缝协作。
PAL (Provider Abstraction Layer) 是一个强大的 Provider 抽象层,旨在实现“多工作流,单一上下文”的目标。它不仅能连接不同的 AI 模型,还能通过创新的工作流设计,让开发者在处理复杂任务时,能够在一个统一的上下文环境中调度不同的 AI 能力,极大地提升了 AI 辅助编程的效率。
高质量MCP工具实现,多模型集成能力强,社区活跃度高,生产环保可用性强。
该工具使用 NOASSERTION 协议,商用场景请仔细阅读协议条款,必要时咨询法律意见。
AI Skill Hub 为第三方内容聚合平台,本页面信息基于公开数据整理,不对工具功能和质量作任何法律背书。
建议在沙箱或测试环境中充分验证后,再部署至生产环境,并做好必要的安全评估。
📄 NOASSERTION — 请查阅原始协议条款了解具体使用限制。
经综合评估,pal-mcp-server MCP工具 在MCP工具赛道中表现稳健,质量优秀。如果你已有明确的使用需求,可以直接上手体验;如果还在评估阶段,建议对比同类工具后再做决策。
| 原始名称 | pal-mcp-server |
| 原始描述 | 开源MCP工具:The power of Claude Code / GeminiCLI / CodexCLI + Gemini / OpenAI / OpenRouter /。⭐11.5k · Python |
| Topics | MCP多模型集成AI工具链代码执行开源 |
| GitHub | https://github.com/BeehiveInnovations/pal-mcp-server |
| License | NOASSERTION |
| 语言 | Python |
收录时间:2026-05-14 · 更新时间:2026-05-16 · License:NOASSERTION · AI Skill Hub 不对第三方内容的准确性作法律背书。
选择 Agent 类型,复制安装指令后粘贴到对应客户端