This is a bare-bones Python based MCP server made for hosting in Azure App Service.
- pull this repo down
uv venv.venv\Scripts\activatepip install -r requirements.txt- run
uvicorn server:app --host 0.0.0.0 --port 8000 - run
npx @modelcontextprotocol/inspectorto launch the MCP inspector and connect over Streamable HTTP tohttp://localhost:8000/mcp
- Create an Azure App Service on Linux targeting Python 3.12
- Set the startup command to
uvicorn server:app --host 0.0.0.0 --port 8000 --proxy-headers --forwarded-allow-ips=* - set an environment variable
SCM_DO_BUILD_DURING_DEPLOYMENTtotrue - turn on Always On
- deploy this code using: az webapp up --name app-name --resource-group resource-group-name
- run the MCP inspector and connect to
https://simple-web-mcp.azurewebsites.net/mcp/