
Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure] / Grok / Ollama / Custom Model / All Of The Above] 的强大功能合而为一。
概览
你的 AI 的 PAL——一个提供者抽象层,前称 Zen MCP 克劳德代码 ·双子座CLI ·Codex CLI ·Qwen代码 CLI ·光标 ·以及更多内容 双子座 ·开放人工智能 ·拟人型 ·格罗克 ·Azure ·奥拉玛 ·开放路由器 ·拨号 ·设备端模型 新的(CLI + Link)工具将外部 AI CLI 直接连接到您的工作流程中: - 比如 Gemini CLI、Codex CLI 和 Claude Code 直接进入你的工作流程 - - 从当前 CLI 内启动隔离的 CLI 实例!Claude Code 可以生成 Codex 子代理,Codex 也能生成 Gemini CLI 子代理,等等。在主会话的上下文窗口保持无污染的情况下,将繁重任务(代码审查、漏洞搜索)卸载到新的上下文中。每个子代理只返回最终结果。
概述(AI 翻译)
你的人工智能的PAL——提供者抽象层 前称禅MCP
PAL的实际操作
👉 多看一些例子
你的CLI+多模型=你的AI开发团队
使用你喜欢的🤖 CLI: Claude代码 ·Gemini CLI ·Codex CLI ·Qwen 代码 CLI ·光标 ·and more
同一提示中出现多个模型: 双子座 ·开放人工智能 ·拟人型 ·格罗克 ·Azure ·奥拉玛 ·开放路由器 ·拨号 ·设备端模型
🆕 现在使用CLI到CLI桥接
新的 clink(CLI + 链接)工具将外部 AI CLI 直接连接到您的工作流程中:
- **将外部CLI如Gemini CLI、Codex CLI和Claude Code直接连接到您的工作流程中
- CLI 子代理 - 从当前 CLI 内部启动隔离的 CLI 实例!Claude Code 可以生成 Codex 子代理,Codex 可以生成 Gemini CLI 子代理等。在主会话的上下文窗口保持无污染的情况下,将繁重任务(代码审查、漏洞搜寻)卸载到新的上下文中。每个子代理只返回最终结果。
- 上下文隔离 - 运行独立调查而不污染主工作区
- 角色专精 - 生成
planner、codereviewer]或带有专用系统提示的自定义角色代理
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
PAL MCP: Many Workflows. One Context.
🆕 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 prompts - Full 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 immediately
Why 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
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
// 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"
}
}
}
}