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.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
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
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for OpenAI API (chat completions, image generation, embeddings) via AceDataCloud
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.
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-
- AlicenseAqualityCmaintenanceA 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
- AlicenseAqualityDmaintenanceWraps the Gemini CLI as an MCP server, enabling AI tools to perform Gemini queries, interactive sessions, and extension management via a unified tool.411MIT
- AlicenseNot gradedqualityDmaintenanceMCP server that provides tools to interact with the LiteLLM proxy API, enabling LLM completions, embeddings, image generation, and admin operations.70 npmMIT