Unichat MCP Server

Send requests to OpenAI, Anthropic, and OpenAI-compatible providers using MCP protocol via tool or predefined prompts. For OpenAI-compatible

Remote serverstreamable-httpPython

What is the Unichat MCP server?

Unichat mcp server connects Unichat to AI assistants that speak the Model Context Protocol. Send requests to OpenAI, Anthropic, and OpenAI-compatible providers using MCP protocol via tool or predefined prompts. For OpenAI-compatible providers such as MistralAI, xAI, Google AI, DeepSeek, Alibaba, or Inception, set UNICHAT_BASE_URL to the provider's compatible API endpoint. Vendor API key.

What Unichat does

Send requests to OpenAI, Anthropic, and OpenAI-compatible providers using MCP protocol via tool or predefined prompts. For OpenAI-compatible providers such as MistralAI, xAI, Google AI, DeepSeek, Alibaba, or Inception, set UNICHAT_BASE_URL to the provider's compatible API endpoint. Vendor API key required

Tools it exposes

Once connected, the assistant can call these 4 tools directly:

  • unichat — Send a request to unichat
  • Tools — The server implements one tool: - unichat: Send a request to unichat - Takes "messages" as required string arguments - Returns a response
  • Prompts — The Prompts tool exposed by this server
  • Debugging — Since MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP

Installing the unichat mcp server

The server is distributed via npm as @smithery/cli, so most clients can run it without a manual build step. Add it to your MCP client's configuration and restart the client to pick it up — the copy-paste configs for Claude Desktop, Claude Code and Cursor are on this page.

Configuration

Before the server will start you need to supply 7 environment variables: UNICHAT_MODEL, UNICHAT_API_KEY, UNICHAT_BASE_URL, YOUR_UNICHAT_API_KEY, YOUR_OPENAI_API_KEY, YOUR_PROVIDER_API_KEY, YOUR_PYPI_API_TOKEN. Keep credentials in your client's env block or a secrets manager rather than committing them.

Where it fits

AI-service servers chain other models into your assistant, turning a single chat into a small production pipeline. Unichat sits in that group, and the shape of its toolset — unichat, Tools, Prompts among others — tells you what it is really for. Worth comparing against the other ai services servers in this directory before you commit to one, since several overlap in scope but differ sharply in setup cost and permissions.

Practical notes

  • This is a hosted server — you point your client at an endpoint rather than running a local process, so there is nothing to keep updated on your machine.
  • It will not start until its required credentials are present, so set those before wondering why the tools never appear.
  • Maintained by amidabuddha, written in Python.
  • MCP clients ask for confirmation before each tool call by default. Keep that on while you learn what the unichat mcp server actually does with your data.
  • Every entry in this directory is reviewed by hand before it goes live, and details are checked against the project's own documentation.

Available tools

ToolWhat it does
unichatSend a request to unichat
ToolsThe server implements one tool: - unichat: Send a request to unichat - Takes "messages" as required string arguments - Returns a response
PromptsThe Prompts tool exposed by this server.
DebuggingSince MCP servers run over stdio, debugging can be challenging. For the best debugging experience, we strongly recommend using the [MCP Inspector](https://github.com/modelcontextprotocol/inspector).

How to install the Unichat MCP server

"mcpServers": {
  "unichat-mcp-server": {
    "command": "uv",
    "args": [
      "--directory",
      "{{your source code local directory}}/unichat-mcp-server",
      "run",
      "unichat-mcp-server"
    ],
    "env": {
      "UNICHAT_MODEL": "SELECTED_UNICHAT_MODEL",
      "UNICHAT_API_KEY": "YOUR_UNICHAT_API_KEY"
    }
  }
}

Configuration as documented by the project. Restart the client after saving.

Configuration

VariableDescriptionRequired
UNICHAT_MODELConfiguration value read at startup.Optional
UNICHAT_API_KEYCredential the server authenticates with.Yes
UNICHAT_BASE_URLEndpoint or connection string the server talks to.Yes
YOUR_UNICHAT_API_KEYCredential the server authenticates with.Yes
YOUR_OPENAI_API_KEYCredential the server authenticates with.Yes
YOUR_PROVIDER_API_KEYCredential the server authenticates with.Yes
YOUR_PYPI_API_TOKENCredential the server authenticates with.Yes

Example prompts to try

  • Use Unichat to unichat.
  • Use Unichat to Tools.
  • Use Unichat to Prompts.

Frequently asked questions

It connects Unichat to MCP-compatible AI assistants such as Claude and Cursor, exposing 4 tools (unichat, Tools, Prompts, and more) that the assistant can call on your behalf. Instead of copying data back and forth by hand, the assistant works with Unichat directly.