A simple chat client that connects to an MCP (Model Control Protocol) server, allowing you to interact with LLMs and use MCP tools.
Vibe coded using cursor.
I believe we should have completely generic agents and completely generic UIs.
People should not need to write new code to write new agents. This UI is an experiment in building this generic MCP client.

- Real-time chat interface with Claude 3 Sonnet
- Tool support (echo and repeat tools)
- WebSocket-based communication
- Modern, responsive UI
- Connection status monitoring
- Error handling and user feedback
- Multi-server support with automatic tool discovery
- Support for custom MCP servers
- Python 3.8 or higher
- Anthropic API key
- Clone the repository:
git clone https://github.com/rom1504/generic-mcp-client-chat.git
cd generic-mcp-client-chat- Create and activate a virtual environment (optional but recommended):
python -m venv .venv
source .venv/bin/activate # On Windows: .venv\Scripts\activate- Install dependencies:
pip install -r requirements.txt- Create a
.envfile in the project root:
ANTHROPIC_API_KEY=your_api_key_here