mcp-server-weather-example
0
This project enables deployment of an MCP server to deliver real-time weather information using the U.S. National Weather Service API. It supports real-time communication via SSE and integrates seamlessly with Visual Studio Code and GitHub Copilot Chat, offering secure API key access and deployment through Azure Container Apps.
Overview
- Project: Deploy a cloud-based Model Context Protocol (MCP) server for real-time weather data.
- Features: Utilizes U.S. National Weather Service API, FastAPI, and Server-Sent Events (SSE) for real-time communication.
- Security: API key authentication via secure headers.
- Deployment: Guides on deploying to Azure Container Apps including building with Docker, setting environment variables, and obtaining public URLs.
- Integration: Connects with Visual Studio Code via the MCP extension and supports GitHub Copilot Chat for querying weather data.
Key Steps
- Clone the repository and understand its structure.
- Configure API key authentication.
- Build and deploy using the Azure CLI.
- Connect and utilize within Visual Studio Code.
- Test integration with GitHub Copilot Chat.