The Unichat MCP Server acts as a gateway to various AI models via the MCP protocol, enabling both general chat and specialized coding tasks.
Key capabilities:
- Chat with multiple AI vendors: Send requests to OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, and Inception using the
unichat
tool with system messages (context) and user messages (queries) - Code-specific tools: Review code, generate documentation, explain code functionality, and rework code using dedicated prompts
- Integration options: Configure with Claude Desktop for seamless interaction
- Deployment flexibility: Install via Smithery or build and publish manually
Unichat MCP Server in Python
Also available in TypeScript
Send requests to OpenAI, MistralAI, Anthropic, xAI, Google AI, DeepSeek, Alibaba, Inception using MCP protocol via tool or predefined prompts. Vendor API key required
Tools
The server implements one tool:
unichat
: Send a request to unichat- Takes "messages" as required string arguments
- Returns a response
Prompts
code_review
- Review code for best practices, potential issues, and improvements
- Arguments:
code
(string, required): The code to review"
document_code
- Generate documentation for code including docstrings and comments
- Arguments:
code
(string, required): The code to comment"
explain_code
- Explain how a piece of code works in detail
- Arguments:
code
(string, required): The code to explain"
code_rework
- Apply requested changes to the provided code
- Arguments:
changes
(string, optional): The changes to apply"code
(string, required): The code to rework"
Quickstart
Install
Claude Desktop
On MacOS: ~/Library/Application\ Support/Claude/claude_desktop_config.json
On Windows: %APPDATA%/Claude/claude_desktop_config.json
Supported Models:
A list of currently supported models to be used as
"SELECTED_UNICHAT_MODEL"
may be found here. Please make sure to add the relevant vendor API key as"YOUR_UNICHAT_API_KEY"
Example:
Development/Unpublished Servers Configuration
Published Servers Configuration
Installing via Smithery
To install Unichat for Claude Desktop automatically via Smithery:
Development
Building and Publishing
To prepare the package for distribution:
- Remove older builds:
- Sync dependencies and update lockfile:
- Build package distributions:
This will create source and wheel distributions in the dist/
directory.
- Publish to PyPI:
Debugging
Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the MCP Inspector.
You can launch the MCP Inspector via npm
with this command:
Upon launching, the Inspector will display a URL that you can access in your browser to begin debugging.
remote-capable server
The server can be hosted and run remotely because it primarily relies on remote services or has no dependency on the local environment.
Tools
Send requests to OpenAI, MistralAI, Anthropic, xAI, or Google AI using MCP protocol via tool or predefined prompts. Vendor API key required
Related MCP Servers
- -securityAlicense-qualitySend requests to OpenAI, MistralAI, Anthropic, xAI, or Google AI using MCP protocol via tool or predefined prompts. Vendor API key required. Both STDIO and SSE transport mechanisms are supported via arguments.Last updated -1111TypeScriptMIT License
- -securityFlicense-qualityAn auto-generated MCP server that enables interaction with the OpenAI API, allowing users to access OpenAI's models and capabilities through the Multi-Agent Conversation Protocol.Last updated -Python
- AsecurityAlicenseAqualityAn MCP server that enables AI applications to access 20+ model providers (including OpenAI, Anthropic, Google) through a unified interface for text and image generation.Last updated -210PythonMIT License
- -securityFlicense-qualityA service that converts OpenAPI specifications into MCP tools, enabling AI assistants to interact with your API endpoints through natural language.Last updated -Python
Appeared in Searches
- A platform for hosting and joining online video meetings
- Analysis of Key Points in China's 2025 No. 1 Central Document and Its Relation to New Energy and Rural Revitalization
- Services for Ordering Groceries via Amazon Prime or Instacart
- Creating a server to order medicine from Apollo Clinic using prescription uploads
- An MCP that can programmatically interact with any online API