MCP.so
登录

MCP-ChatBot

@muralianand12345

关于 MCP-ChatBot

Simple MCP Client-Server example

基本信息

分类

AI 与智能体

许可证

MIT license

运行时

python

传输方式

stdio

发布者

muralianand12345

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP-ChatBot?

MCP-ChatBot is a containerized chatbot application that uses the Modular Capability Protocol (MCP) to enable LLM interactions with external services. It integrates a weather service backend and a Streamlit frontend, allowing users to query weather information through natural language.

How to use MCP-ChatBot?

Clone the repository, copy .env.example to .env, add your WeatherAPI and OpenAI API keys, then run docker-compose up --build to launch. Access the Streamlit UI at http://localhost:8501 and type natural language queries about weather (e.g., "What's the weather in New York?").

Key features of MCP-ChatBot

  • Containerized architecture with separate server and client containers
  • Real-time weather data via WeatherAPI integration
  • Clean Streamlit user interface for chatbot interaction
  • Extensible design ready for additional MCP servers
  • Powered by OpenAI’s GPT-4o for natural language understanding

Use cases of MCP-ChatBot

  • Ask about current weather in any city using natural language
  • Check temperature or conditions for travel planning
  • Demonstrate MCP protocol with a working example

FAQ from MCP-ChatBot

What are the runtime requirements?

Docker and Docker Compose are required. You need API keys from WeatherAPI and OpenAI.

How do I add a new MCP server?

Create a new server file in the servers directory, add the service to docker-compose.yml, and update client.py to include the new server in the agent configuration.

What should I do if the connection fails?

Ensure all services are up and running. The client has a retry mechanism; if it still fails, restart the application.

Where does the weather data come from?

The weather data is retrieved from the WeatherAPI service using your own API key.

Does the chatbot support any transport besides HTTP/SSE?

The README only shows HTTP/SSE transport via MCPServerHTTP(url=...). No other transports are mentioned.

评论

AI 与智能体 分类下的更多 MCP 服务器