Azure MCP Server
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@Azure MCP ServerWhat's the sales summary for customer 1?"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
Azure MCP Server
A complete sample showing how a Microsoft Foundry agent can call customer-data tools through a remote MCP server hosted in Azure Functions.
The same four MCP tools work with either backend:
USE_API=false: MCP tools query the included SQLite sample database directly.USE_API=true: MCP tools call a sample or production DB API over HTTP.
This makes the sample API replaceable later without changing the agent or MCP tool definitions.
Included components
MCP Streamable HTTP endpoint at
/mcpFour registered read-only tools:
get_customer,search_customers,list_orders, andget_sales_summarySample DB API under
/apiSQLite schema and deterministic sample data
Separate SQLite and HTTP API backend adapters
X-API-Keyprotection for MCP and DB API trafficAzure Functions Python v2 entry point
Parameterized Azure Function and Microsoft Foundry provisioning scripts
Foundry prompt-agent creation code with an authenticated MCP connection and tool allowlist
Automated database, API, registry, authentication, and MCP protocol tests
Standalone smoke-test script, so Postman and Node.js are not required
See docs/ARCHITECTURE.md for the component flow and docs/AZURE_DEPLOYMENT.md for deployment and agent connection steps.
Related MCP server: MCP API Tool Demo
Automated Azure plumbing
After signing into Azure, the included pipeline can create or reuse all required resources, deploy the MCP Function App, create the Foundry project and model deployment, register the MCP API-key connection, create the agent, and run the final agent test.
python -m pip install -r requirements-azure.txt
Copy-Item azure\config.psd1.example azure\config.psd1
# Edit azure\config.psd1 with globally unique resource names.
$env:MCP_API_KEY="<strong-random-MCP-secret>"
$env:DB_API_KEY="<strong-random-DB-API-secret>"
.\scripts\run_azure_pipeline.ps1 -ValidateOnly
.\scripts\run_azure_pipeline.ps1The actual run creates billable Azure resources. Review the configuration and validation output first. Secrets are never stored in the configuration file or repository.
Quick start on Windows
python -m venv .venv
.\.venv\Scripts\Activate.ps1
python -m pip install -r requirements-dev.txt
python -m pytest -vStart the server in direct SQLite mode:
$env:MCP_API_KEY="temporary-test-key"
$env:USE_API="false"
python run.pyIn a second PowerShell window, verify MCP discovery and a real tool call:
python scripts\smoke_test.py --url http://127.0.0.1:8000/mcp --api-key temporary-test-keyExpected tool names:
get_customer, search_customers, list_orders, get_sales_summaryFull sample-API mode
This mode exercises the future production architecture locally:
$env:USE_API="true"
$env:DB_API_BASE_URL="http://127.0.0.1:8000"
$env:DB_API_KEY="temporary-db-api-key"
$env:MCP_API_KEY="temporary-test-key"
python run.pyThe request path is:
MCP client -> /mcp -> APIBackend -> /api -> SQLite -> MCP responseSample API contract
Method | Endpoint | Purpose |
|
| Service health |
|
| Get one customer |
|
| Search customers |
|
| List/filter orders |
|
| Customer sales summary |
To use a real DB API later, implement these response shapes, set USE_API=true, and change DB_API_BASE_URL and DB_API_KEY. No MCP or agent changes are required.
Sample records
Customer 1: Aarav Sharma, India, Gold
Customer 2: Emma Wilson, UK, Silver
Customer 3: Kenji Sato, Japan, Gold
Five orders across the three customers
The SQLite database is created and seeded automatically. It is sample data only and is not intended as persistent Azure storage.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.
No tool schema history has been recorded yet.
This server cannot be installed
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
MCP server for querying and analyzing data from ad platforms, analytics tools, and spreadsheets
UN FAOSTAT global food & agriculture statistics over a local SQLite mirror, via MCP.
USAspending MCP — Federal spending data from USAspending.gov API
Search multi-merchant supply, checkout, and track orders via MCP.
Related MCP Servers
- AlicenseNot gradedqualityCmaintenanceExposes sqlite3 database functionality as MCP tools, enabling SQL query execution, schema management, and CRUD operations.1MIT
- FlicenseNot gradedqualityBmaintenanceDemo MCP server that exposes order and customer data as read-only tools for AI assistants, simulating a business API or internal data source.-
- AlicenseNot gradedqualityBmaintenanceA natural-language data analyst MCP server that lets users query SQLite sales datasets via MCP tools (list_tables, aggregate, time_series, run_sql) with read-only SQL safety guards, returning results through a FastAPI dashboard.MIT
- FlicenseNot gradedqualityCmaintenanceRead-only MCP server for internal Amazon business data, exposing 19 tools to query sales, inventory, and financial metrics.-
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/digvijayyadav93/azure-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server