MCP.so
登录

Azure Container Apps remote MCP server example

@KRVaghani

基本信息

分类

云与基础设施

传输方式

stdio

作者

KRVaghani

关于 Azure Container Apps remote MCP server example

暂无概览

Azure Container Apps remote MCP server example 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "Azure-MCP-Server": {
      "command": "uv",
      "args": [
        "venv"
      ]
    }
  }
}

Azure Container Apps remote MCP server example 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is Azure Container Apps remote MCP server example?

An MCP server built with FastAPI that provides weather-related tools (alerts and forecasts) via SSE transport, authenticated with an API key. Designed for deployment on Azure Container Apps and integration with MCP-compatible clients like Visual Studio Code.

How to use Azure Container Apps remote MCP server example?

Clone the repo, set up a Python virtual environment with uv, export an API_KEYS environment variable, run uv run fastapi dev main.py, then connect via the included sample client or configure VS Code’s mcp.json with SSE URL and API key header.

Key features of Azure Container Apps remote MCP server example

  • SSE transport for MCP communication
  • API‑key authentication via x‑api‑key header
  • Weather tools: get_alerts and get_forecast
  • Ready‑to‑use sample Python client
  • One‑command deployment to Azure Container Apps

Use cases of Azure Container Apps remote MCP server example

  • Fetch weather alerts for a US state from an MCP client
  • Retrieve weather forecasts by latitude/longitude
  • Integrate the server as a remote tool in VS Code’s MCP workflow
  • Deploy as a scalable, managed container app on Azure
  • Test and prototype MCP‑based weather services locally

常见问题

1

What does this server do?

It exposes two weather‑related tools (`get_alerts` and `get_forecast`) over a secure SSE endpoint, authenticated with an API key, for use by any MCP‑compatible client.

2

What are the prerequisites to run it locally?

Python 3.11 or later and [uv](https://docs.astral.sh/uv/getting-started/installation/) are required.

3

How is authentication handled?

The server requires an `x‑api‑key` header on SSE requests; the key is set via the `API_KEYS` environment variable.

4

Can it be deployed to Azure?

Yes, run `az containerapp up` with the provided command to deploy to Azure Container Apps; the public URL is returned on success.

5

What transport does it use?

Server‑Sent Events (SSE) via the `/sse` endpoint, with session‑based messages routed through `/messages`.

评论

云与基础设施 分类下的更多 MCP 服务器