MCP Chat Adapter
@aiamblichus
About MCP Chat Adapter
MCP server for using OpenAI compatible chat endpoints
Basic information
Config
No standard config provided
This server doesn't expose a parseable MCP config block in its README. See the repository for install instructions.
RepositoryTools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Chat Adapter?
MCP Chat Adapter is an MCP (Model Context Protocol) server that provides a clean interface for LLMs to use chat completion capabilities through the MCP protocol. It acts as a bridge between an LLM client and any OpenAI‑compatible API, and is designed specifically for chat models (not text completions).
How to use MCP Chat Adapter?
Install via npm and configure environment variables (OPENAI_API_KEY, OPENAI_API_BASE, CONVERSATION_DIR) in your MCP client’s mcp.json file. The server exposes tools for creating conversations, chatting, listing, getting, and deleting conversations. Conversations are stored locally in the directory specified by CONVERSATION_DIR.
Key features of MCP Chat Adapter
- Built with FastMCP for a robust, clean implementation.
- Provides tools for conversation management and chat completion.
- Supports conversation persistence with local file storage.
- Compatible with OpenAI and any OpenAI‑compatible API.
- Configurable model, system prompt, and generation parameters.
- Proper error handling and timeouts.
Use cases of MCP Chat Adapter
- Allow an LLM like Claude to spin off and maintain multiple background conversations with other models.
- Continue an existing conversation across different contexts by specifying its
conversation_id. - Manually edit or review conversation history by modifying files in the
CONVERSATION_DIR. - Integrate with any tool that speaks MCP to provide chat completion capabilities.
FAQ from MCP Chat Adapter
What dependencies or runtime does it require?
Node.js (via npx) and an API key for an OpenAI‑compatible service. The server is published on npm and runs with one command.
Where are conversations stored?
Conversations are stored as local files in the directory set by the CONVERSATION_DIR environment variable (default ./convos). The server must be restarted to see manual edits.
Does it support text completions?
No. The server is focused on chat models only and does not support text completions.
Which APIs can I use?
Any API that is compatible with OpenAI’s chat completion endpoint. For example, OpenRouter is explicitly mentioned in the README’s configuration.
What are the storage limits?
The MAX_CONVERSATIONS environment variable (default 1000) sets the maximum number of conversations stored. Old conversations are not automatically evicted beyond this limit.
More AI & Agents MCP servers
Sequential Thinking Multi-Agent System (MAS)
FradSerAn advanced sequential thinking process using a Multi-Agent System (MAS) built with the Agno framework and served via MCP.
Open Multi-Agent Canvas
CopilotKitThe open-source multi-agent chat interface that lets you manage multiple agents in one dynamic conversation and add MCP servers for deep research
LinkedIn MCP Server
stickerdanielOpen-source MCP server for LinkedIn. Give Claude and any MCP-compatible AI agent access to profiles, companies, jobs, and messages.
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
MCP Client for Ollama (ollmcp)
joniglHarness the power of local LLMs with this TUI MCP Client for Ollama. Featuring all core MCP primitives (tools, prompts, resources), agent mode, multi-server, model switching, streaming responses, human-in-the-loop, thinking mode, model params config, system prompts, and saved pre
Comments