Skip to main content
Glama

Azure Container Apps Weather MCP Server

by riosraul

Azure Container Apps remote MCP server example

This MCP server uses SSE transport and is authenticated with an API key.

Running locally

Prerequisites:

  • Python 3.11 or later
  • uv

Run the server locally:

uv venv uv sync # linux/macOS export API_KEYS=<AN_API_KEY> # windows set API_KEYS=<AN_API_KEY> uv run fastapi dev main.py

VS Code MCP configuration (mcp.json):

{ "inputs": [ { "type": "promptString", "id": "weather-api-key", "description": "Weather API Key", "password": true } ], "servers": { "weather-sse": { "type": "sse", "url": "http://localhost:8000/sse", "headers": { "x-api-key": "${input:weather-api-key}" } } } }

Deploy to Azure Container Apps

az containerapp up -g <RESOURCE_GROUP_NAME> -n weather-mcp --environment mcp -l westus --env-vars API_KEYS=<AN_API_KEY> --source .

If the deployment is successful, the Azure CLI returns the URL of the app. You can use this URL to connect to the server from Visual Studio Code.

If the deployment fails, try again after updating the CLI and the Azure Container Apps extension:

az upgrade az extension add -n containerapp --upgrade
-
security - not tested
F
license - not found
-
quality - not tested

hybrid server

The server is able to function both locally and remotely, depending on the configuration or use case.

A server-sent events (SSE) MCP server that runs on Azure Container Apps with API key authentication, likely providing weather-related functionality based on the configuration.

  1. Running locally
    1. Deploy to Azure Container Apps

      Related MCP Servers

      • -
        security
        F
        license
        -
        quality
        This SSE-based MCP server allows users to connect and interact with National Weather Service APIs to retrieve weather alerts and forecasts.
        Last updated -
        293
        Python
      • -
        security
        A
        license
        -
        quality
        A Server-Sent Events implementation using FastAPI framework that integrates Model Context Protocol (MCP), allowing AI models to access external tools and data sources like weather information.
        Last updated -
        47
        Python
        MIT License
      • -
        security
        F
        license
        -
        quality
        A remote MCP server implementation for Cloudflare that uses server-sent events (SSE) to enable Model Control Protocol communication.
        Last updated -
        1
        TypeScript
        • Linux
      • -
        security
        F
        license
        -
        quality
        A server for Model Context Protocol (MCP) that uses Server-Sent Events (SSE) for streaming communication, enabling tools like the HackerNews API to be accessed through a secure HTTP+SSE transport.
        Last updated -
        23
        TypeScript

      View all related MCP servers

      MCP directory API

      We provide all the information about MCP servers via our MCP API.

      curl -X GET 'https://glama.ai/api/mcp/v1/servers/riosraul/curso-mcp'

      If you have feedback or need assistance with the MCP directory API, please join our Discord server