Pal

v1.0.0Coding Agentsstable

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

palmcpai-integration
Share:
11,553
Stars
0
Downloads
0
Weekly
0/5

What is Pal?

Pal is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to power of claude code / geminicli / codexcli + [gemini / openai / openrouter / azure / grok / ollama / custom model / all of the above] working as one.

The power of Claude Code / GeminiCLI / CodexCLI + [Gemini / OpenAI / OpenRouter / Azure / Grok / Ollama / Custom Model / All Of The Above] working as one.

This server falls under the Coding Agents category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • The power of Claude Code / GeminiCLI / CodexCLI + [Gemini /

Use Cases

Unify Claude Code, GeminiCLI, or CodexCLI with multiple AI models.
Switch between Gemini, OpenAI, OpenRouter, Azure, Grok, or Ollama seamlessly.
LicenseNOASSERTION
Languagepython
Versionv1.0.0
UpdatedMay 20, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

Manual Installation

npx pal

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Pal

PAL unifies Claude Code, GeminiCLI, and CodexCLI with multiple AI models (Gemini, OpenAI, OpenRouter, Azure, Grok, Ollama, or custom) in one integrated system. Switch seamlessly between different LLM providers and models for flexible multi-model AI development.

Prerequisites

  • Node.js 18+ installed
  • An MCP client such as Claude Desktop or Cursor
  • API keys for the LLM providers you plan to use (OpenAI, Gemini, etc.)
  • At least one AI coding tool installed (Claude Code, Cursor, or Codex)
1

Clone PAL repository

Get the PAL multi-model AI integration server.

git clone https://github.com/BeehiveInnovations/pal-mcp-server
cd pal-mcp-server
npm install
2

Configure provider credentials

Set up API keys for all AI providers you want to use (OpenAI, Gemini, OpenRouter, Azure, Grok, Ollama, etc.).

export OPENAI_API_KEY=sk-your-key
export GOOGLE_API_KEY=your-gemini-key
export OPENROUTER_API_KEY=your-openrouter-key
3

Build the PAL server

Compile the multi-model AI integration server.

npm run build
4

Configure MCP client

Add PAL to your Claude Desktop or Cursor configuration.

5

Restart your MCP client

Close and reopen Claude Desktop to activate PAL integration.

6

Test model switching

Ask Claude to use different AI models through PAL to verify multi-provider setup works.

Pal Examples

MCP client configuration

Configure PAL for multi-model AI integration.

{
  "mcpServers": {
    "pal": {
      "command": "node",
      "args": ["/path/to/pal-mcp-server/dist/index.js"],
      "env": {
        "OPENAI_API_KEY": "sk-your-openai-key",
        "GOOGLE_API_KEY": "your-gemini-key",
        "OPENROUTER_API_KEY": "your-openrouter-key"
      }
    }
  }
}

Prompts to try

Use these prompts to leverage multiple AI models through PAL.

"Use Gemini 2.0 to analyze this code with extended context"
"Compare solutions from Claude 3.5 and GPT-4 for this problem"
"Run this task on Grok using the xAI endpoint"
"Switch to a local Ollama model for this privacy-sensitive task"

Troubleshooting Pal

API keys not recognized

Verify all environment variable names are correct (OPENAI_API_KEY, GOOGLE_API_KEY, etc.). Ensure keys are valid and active in their respective platforms. Restart the MCP server after updating credentials.

Cannot switch between models

Verify all provider APIs are accessible. Check that your API keys have the necessary permissions. Test each provider independently first before attempting to switch.

PAL server fails to build

Run npm install again to resolve dependencies. Check Node.js version with node --version (must be 18+). Clear npm cache with npm cache clean --force if issues persist.

Frequently Asked Questions about Pal

What is Pal?

Pal is a Model Context Protocol (MCP) server that power of claude code / geminicli / codexcli + [gemini / openai / openrouter / azure / grok / ollama / custom model / all of the above] working as one. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Pal?

Follow the installation instructions on the Pal GitHub repository. Clone the repo, install dependencies, and add the server config to your AI client.

Which AI clients work with Pal?

Pal works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Pal free to use?

Yes, Pal is open source and available under the NOASSERTION license. You can use it freely in both personal and commercial projects.

Browse More Coding Agents MCP Servers

Explore all coding agents servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "pal": { "command": "npx", "args": ["-y", "pal"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Pal?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides