MCP-ChatBot
@muralianand12345
MCP-ChatBot について
Simple MCP Client-Server example
基本情報
設定
ツール
ツールは検出されませんでした
ツールは 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 Agent
lastmile-aiBuild effective agents using Model Context Protocol and simple workflow patterns
MCP Manager for Claude Desktop
zueaisimple web ui to manage mcp (model context protocol) servers in the claude app
MCP-LLM Bridge
patruffBridge between Ollama and MCP servers, enabling local LLMs to use Model Context Protocol tools
Just Prompt - A lightweight MCP server for LLM providers
dislerjust-prompt is an MCP server that provides a unified interface to top LLM providers (OpenAI, Anthropic, Google Gemini, Groq, DeepSeek, and Ollama)
Hass-MCP
voskaControl and query Home Assistant from Claude and other LLMs — a Model Context Protocol (MCP) server.
コメント