MCP Server - FastAPI on Azure App Service
@learntocloud
About MCP Server - FastAPI on Azure App Service
No overview available yet
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_.
Frequently asked questions
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_`.
Basic information
More Developer Tools MCP servers
FastAPI-MCP
tadata-orgExpose your FastAPI endpoints as Model Context Protocol (MCP) tools, with Auth!

Reelier
Maxime HouleAgents make claims. Reelier writes receipts β record an agent's tool-call workflow once, replay it deterministically at 0 tokens, and diff runs to catch drift.

BetterBugs
BetterBugsThe BetterBugs MCP (Model Context Protocol) enables you to load BetterBugs bug reports (via report links) directly to your preferred AI Agents and developer environments with MCP Client capabilities (such as Cursor, VS C
Huoshan Test
volcenginemcp-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.
Comments