MCP Server - FastAPI on Azure App Service
@madebygps
MCP Server - FastAPI on Azure App Service について
FastAPI MCP server on Azure App Service
基本情報
設定
以下の設定を使って、このサーバーを MCP 対応クライアントに追加してください。
{
"mcpServers": {
"remote-mcp-webapp-python": {
"command": "uv",
"args": [
"venv"
]
}
}
}ツール
ツールは検出されませんでした
ツールは README から自動的に抽出されます。メンテナーは ## Tools という見出しの下に記載することで、このタブに反映できます。
概要
What is MCP Server - FastAPI on Azure App Service?
MCP Server - FastAPI on Azure App Service is a Python implementation of the Model Context Protocol (MCP) server built with FastAPI. It provides multiplication, temperature conversion, and US weather alert/forecast tools, and is designed for deployment to Azure App Service.
How to use MCP Server - FastAPI on Azure App Service?
Run locally: create a virtual environment (uv venv), activate it, install dependencies (uv pip install -r requirements.txt), then start with uvicorn main:app --reload. Deploy to Azure using azd up from the project root. The MCP endpoint is at /mcp-server/mcp using streamable-http transport; no authentication is currently required.
Key features of MCP Server - FastAPI on Azure App Service
- Multiplication tool: multiply two numbers
- Temperature converter tools: Celsius to Fahrenheit and Fahrenheit to Celsius
- Weather tools: US alerts by state and forecasts by coordinates
- Deploys to Azure App Service via Azure Developer CLI
- Streamable-http MCP transport on a FastAPI backend
Use cases of MCP Server - FastAPI on Azure App Service
- Integrate an MCP client to perform arithmetic operations
- Enable temperature unit conversions in AI assistant workflows
- Provide real-time US weather alerts and forecasts to language models
- Host a production-ready MCP server on Azure with minimal configuration
FAQ from MCP Server - FastAPI on Azure App Service
What tools are available in MCP Server - FastAPI on Azure App Service?
The server exposes five tools: multiply, celsius_to_fahrenheit, fahrenheit_to_celsius, get_alerts, and get_forecast.
How do I run MCP Server - FastAPI on Azure App Service locally?
You need Python 3.11+, uv, and optionally Node.js for the MCP Inspector. Create a virtual environment, install dependencies from requirements.txt, and run uvicorn main:app --reload.
How do I deploy MCP Server - FastAPI on Azure App Service?
Ensure you have the Azure CLI (az) and Azure Developer CLI (azd) installed and authenticated. Run azd up from the project root to create resources and deploy.
How do I connect to the MCP server after deployment?
Use streamable-http transport with the URL https://<your-app>.azurewebsites.net/mcp-server/mcp. No authentication is currently needed.
Are there security considerations for MCP Server - FastAPI on Azure App Service?
Yes. The current implementation has no authentication (public endpoints), CORS is wide open, and production deployments should implement API key or OAuth2 authentication and validate all user inputs.
「開発者ツール」の他のコンテンツ
test
harlancA simple,high performance and secure live media server in pure Rust (RTMP[cluster]/RTSP/WebRTC[whip/whep]/HTTP-FLV/HLS).🦀
mcp-excalidraw
yctimlinMCP server and Claude Code skill for Excalidraw — programmatic canvas toolkit to create, edit, and export diagrams via AI agents with real-time canvas sync.
JetBrains MCP Proxy Server
JetBrainsA model context protocol server to work with JetBrains IDEs: IntelliJ, PyCharm, WebStorm, etc. Also, works with Android Studio
Huoshan Test
volcengineGolf
golf-mcpProduction-Ready MCP Server Framework • Build, deploy & scale secure AI agent infrastructure • Includes Auth, Observability, Debugger, Telemetry & Runtime • Run real-world MCPs powering AI Agents
コメント