About MCP Server Demo
MCP Server Demo is a repository demonstrating basic MCP server integration, including example resources and a GitHub MCP server connection. It also includes a GPT-based weather app that combines OpenWeatherMap data with analysis and recommendations.
Key features
- 01Basic MCP server setup
- 02Example MCP resources
- 03GitHub MCP server integration
- 04GPT weather analysis and recommendations
Use cases
- 01Explore basic MCP server integration
- 02List and manage example resources
- 03Try a GitHub MCP server connection
- 04Review weather forecasts with AI analysis
MCP support
Demonstrates MCP server setup and resource listing and management, and includes an integration with GitHub MCP server.
Configuration
Local server config is the same for every client. Copy it into your client’s MCP config file.
We haven’t collected a package or remote endpoint for this server. Follow the instructions in the project README.
Tools
Local servers expose tools only once running on your machine, and the maintainer has not provided a tool list.
Details
From the project READMEMCP Server Demo
This repository demonstrates the integration of MCP (Model Context Protocol) server functionality.
Features
- Basic MCP server setup
- Example implementations of MCP resources
- Integration with GitHub MCP server
- Weather prediction app using GPT
Setup
- Clone the repository
- Install dependencies:
pip install -r requirements.txt - Configure environment variables:
- Copy
.env.exampleto.env - Add your OpenAI API key
- Add your OpenWeatherMap API key
- Copy
- Run the demo
Usage
The demo showcases how to:
- List available MCP resources
- Create and manage MCP resources
- Integrate with GitHub MCP server
- Use GPT for weather prediction
Weather Prediction App
The weather prediction app combines OpenWeatherMap API with GPT to provide detailed weather analysis. It:
- Shows current weather conditions
- Displays hourly weather forecast
- Provides AI-powered weather analysis and recommendations
Contributing
- Fork the repository
- Create your feature branch
- Commit your changes
- Push to the branch
- Create a Pull Request
License
MIT License
Comments
New to MCP?
From what the protocol is to installing your first server, these answers cover most first questions.
An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.