Mcp-chat is an open-source MCP client for testing and evaluating MCP servers and agents, offering both CLI and web interfaces to interact with models, customize prompts, and save chat histories.
mcp-chat is an open-source, generic MCP (Model Context Protocol) client designed for testing and evaluating MCP servers and agents. It supports interactive CLI and web-based chat interfaces for interacting with language models.
To get started, you need an Anthropic API key. The client can be run via CLI, connecting to an MCP server like the filesystem server.
Configuration can be specified via a claude_desktop_config.json
file.
The --web
flag enables a web UI for creating chats and configuring MCP servers dynamically. Chats are saved to ~/.mcpchats/chats
.
Key features include CLI interactive mode, web interface, compatibility with various MCP servers, model selection, custom system prompts, chat history saving, and tool call output viewing.
The -p
flag allows running prompts directly from the CLI. The -m
flag allows choosing a model. The --system
flag allows customizing the system prompt.
Developers can test local builds of Python or Node.js MCP servers.
The repository includes instructions for installing dependencies, running the CLI, building, testing, and publishing.
Releases are managed via GitHub releases, automatically updating the package version and publishing to npm.
Flux159/mcp-chat
March 18, 2025
March 28, 2025
TypeScript