MCP Server - FastAPI on Azure App Service
@learntocloud
About MCP Server - FastAPI on Azure App Service
No overview available yet
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"mcp-server-learntocloud": {
"command": "python",
"args": [
"manage_api_keys.py",
"list"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is MCP Server - FastAPI on Azure App Service?
A Python implementation of the MCP (Model Context Protocol) server using FastAPI, deployed to Azure App Service. It provides multiplication, temperature conversion, and weather tools, requiring API key authentication.
How to use MCP Server - FastAPI on Azure App Service?
Register for an API key via the public /register endpoint, then include the key in the Authorization: Bearer sk_... header when calling tools at /mcp-server/mcp/. For local development, set the MCP_AUTH_TOKEN environment variable to bypass Azure Storage authentication.
Key features of MCP Server - FastAPI on Azure App Service
- Multiplication, Celsius/Fahrenheit conversion, and US weather alerts/forecast tools
- Public API key registration with rate limiting (5 keys per email per 24 hours)
- Admin script (
manage_api_keys.py) to list, activate, deactivate, and create keys - Deployment to Azure App Service via Azure Developer CLI (
azd up) - Local development with fallback
MCP_AUTH_TOKENauthentication - Rate limiting: 1000 API requests per hour per key
Use cases of MCP Server - FastAPI on Azure App Service
- Integrating MCP-compatible AI agents with arithmetic and weather functions
- CTF (Capture The Flag) solutions requiring quick setup of an MCP server
- Automating infrastructure scripts (Terraform) that call MCP tools
- Server administrators monitoring key usage and managing registrations
- Local development and testing with MCP Inspector
FAQ from MCP Server - FastAPI on Azure App Service
How do I get an API key?
Send a POST request to the /register endpoint with your email, project name, and optional GitHub repo. The response includes an API key; save it securely.
What are the rate limits?
Registration: 5 API keys per email per 24 hours. API usage: 1000 requests per hour per key. Exceeding these returns a "Rate limit exceeded" error.
Why am I getting "Invalid authentication token"?
The API key may be incorrect, deactivated, or expired (if expiration is enabled). Verify the key and check the Authorization header format: Bearer sk_....
How can I manage API keys as an administrator?
Use the manage_api_keys.py script to list, view, activate, deactivate, create, or delete keys. It also provides registration statistics.
What authentication modes are supported?
Production: Azure Managed Identity with API keys stored in Azure Table Storage. Development (fallback): MCP_AUTH_TOKEN environment variable, accepting any key starting with sk_.
More Developer Tools MCP servers
Stakpak Agent CLI
stakpakShip your code, on autopilot. An open source agent that lives on your machines 24/7 and keeps your apps running. π¦
Huoshan Test
volcenginesentry-mcp
getsentryAn MCP server for interacting with Sentry via LLMs.
Golf
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
Burp Suite MCP Server Extension
PortSwiggerMCP Server for Burp
Comments