MCP ExplorerExplorer

Remote Mcp Chat

@AnyContext-aion 10 months ago
5 MIT
FreeCommunity
AI Systems
Simple LLM-based chat with connection to remote MCP servers

Overview

What is Remote Mcp Chat

remote-mcp-chat is a simple chat application that utilizes a large language model (LLM) to facilitate communication with remote MCP servers.

Use cases

Use cases include providing real-time assistance in customer service, enabling interactive educational tools, and creating engaging chatbots for various applications.

How to use

To use remote-mcp-chat, set up your environment by creating a .env file with your OpenAI API key and MCP server URL, create and activate a virtual environment, install dependencies, and run the chat client using the command ‘uv run client.py’.

Key features

Key features include seamless integration with remote MCP servers, support for LLM-based chat interactions, and a straightforward setup process.

Where to use

remote-mcp-chat can be used in various fields such as customer support, automated chatbots, and interactive learning environments.

Content

Remote MCP Chat

Architecture

alt text

How it works

alt text

Prerequisites

  • Python >3.10
  • uv
  • OpenAI API key
  • Remote MCP server

Setup environment

  1. Create .env file: cp .env.example .env
  2. Add your OpenAI API key and MCP server url to the .env file.
  3. Create virtual environment: uv venv
  4. Activate virtual environment (windows): .venv\Scripts\activate
  5. Install dependencies: uv pip install -r pyproject.toml
  6. Run chat client: uv run client.py

Tools

No tools

Comments

Recommend MCP Servers

View All MCP Servers