mcp-consultant
Provides integration with OpenAI's API, enabling AI agents to use OpenAI models (like gpt-5.2) for reasoning and code generation tasks.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@mcp-consultantExplain the difference between GPT-5.2 and Gemini 3 Pro"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
mcp-consultant
Simplified fork of PAL MCP Server for uctoteka project. Supports only Gemini and OpenAI providers with predefined model configurations.
Features
Gemini CLI integration:
gemini-3-pro-preview(default),gemini-3-flash-preview(fast)OpenAI/Codex integration:
gpt-5.2withxhighthinking modeRemoved providers: Azure OpenAI, XAI, DIAL, OpenRouter, Custom API
Fixed model mode: No "auto" mode - models are explicitly configured
MCP protocol: Full Model Context Protocol support for Claude Code
Related MCP server: geminicli-mcp
Installation
cd /home/pavel/vyvoj_sw/mcp-consultant
pip install --break-system-packages -e .Configuration
CLI Clients
Located in conf/cli_clients/:
Gemini (gemini.json):
{
"name": "gemini",
"command": "gemini",
"roles": {
"default": {"role_args": ["--model", "gemini-3-pro-preview"]},
"flash": {"role_args": ["--model", "gemini-3-flash-preview"]}
}
}Codex (codex.json):
{
"name": "codex",
"command": "codex",
"additional_args": ["exec", "--json", "--model", "gpt-5.2"],
"roles": {
"default": {"role_args": ["--config", "model_reasoning_effort=\"xhigh\""]}
}
}Environment Variables
# Required for actual API calls (optional for listmodels/version)
export GEMINI_API_KEY="your_key_here"
export OPENAI_API_KEY="your_openai_key_here"Usage
Standalone
mcp-consultantVia Claude Code
The server is registered in uctoteka-clink-consult plugin at:
/home/pavel/vyvoj_sw/uctoteka_app/claude-marketplace/uctoteka-clink-consult/mcp/pal.mcp.jsonConfiguration:
{
"mcpServers": {
"pal": {
"command": "/home/pavel/.local/bin/mcp-consultant",
"env": {
"CLI_CLIENTS_CONFIG_PATH": "${CLAUDE_PLUGIN_ROOT}/cli_clients",
"DEFAULT_MODEL": "gemini-3-pro-preview"
}
}
}
}Available Tools
clink- Bridge to external AI CLIs (Gemini, Codex)listmodels- List available models per providerversion- Show server version and configuration
Model Comparison
Model | Thinking | Latence | Use case |
| high | ~47s | Complex analysis |
| - | ~13s | Quick queries |
| xhigh | ~31s | Max reasoning, code + web |
Development
Project structure:
mcp-consultant/
├── clink/ # CLI integration (agents, parsers, registry)
├── providers/ # Model providers (Gemini, OpenAI)
├── tools/ # MCP tools (clink, listmodels, version)
├── conf/ # Configuration files
├── systemprompts/ # System prompts for CLIs
├── server.py # Main MCP server
├── config.py # Configuration constants
└── pyproject.toml # Package definitionOriginal project: PAL MCP Server
Fork changes:
Removed Azure OpenAI, XAI, DIAL, OpenRouter, Custom providers
Fixed DEFAULT_MODEL to
gemini-3-pro-previewDisabled auto mode (IS_AUTO_MODE = False)
Server starts without API keys (for listmodels/version)
Simplified to 2 CLI clients: gemini, codex
Version
1.0.0 - Initial fork for uctoteka
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Focused MCP server for OpenAI image/audio generation (v2.0.0). Wraps endpoints via HAPI CLI.
An MCP server that provides an API to LLMs to manage their JumpCloud resources.
MCP server unifying ERPs, CRMs, APIs and knowledge base for Claude, ChatGPT and Gemini.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceAn MCP server that wraps the Gemini CLI to provide tools for executing prompts, managing chat sessions, and accessing CLI extensions. It supports both local stdio and remote SSE transports for flexible integration with MCP clients.1-
- AlicenseAqualityBmaintenanceA stateless MCP server that wraps the headless Gemini CLI, providing tools to send prompts to Google's Gemini models and receive text responses. It supports both simple prompts and prompts with contextual information.2MIT
- FlicenseAqualityDmaintenanceWraps the Gemini CLI as an MCP server, enabling AI tools to perform Gemini queries, interactive sessions, and extension management via a unified tool.11-
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools to interact with the LiteLLM proxy API, enabling LLM completions, embeddings, image generation, and admin operations.7 npmMIT