mcp-server-demo

Manobhiramlol/mcp-server-demo

3.1

If you are the rightful owner of mcp-server-demo and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

This repository demonstrates the integration of MCP (Model Context Protocol) server functionality.

MCP 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

  1. Clone the repository
  2. Install dependencies:
    pip install -r requirements.txt
    
  3. Configure environment variables:
    • Copy .env.example to .env
    • Add your OpenAI API key
    • Add your OpenWeatherMap API key
  4. 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

  1. Fork the repository
  2. Create your feature branch
  3. Commit your changes
  4. Push to the branch
  5. Create a Pull Request

License

MIT License