MCP.so
登录

MCP ChatBot

@muralianand12345

基本信息

分类

AI 与智能体

许可证

MIT license

传输方式

stdio

作者

muralianand12345

关于 MCP ChatBot

Simple MCP Client-Server example

MCP ChatBot 配置

暂无标准配置

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

代码仓库

MCP ChatBot 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 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

常见问题

1

What are the runtime requirements?

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

2

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.

3

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.

4

Where does the weather data come from?

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

5

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 服务器