
A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

An Azure Functions-based server that implements the Model Context Protocol using the .NET 8.0 isolated worker model.
MCP server implemented as an Azure Function is cataloged as an MCP server attributed to katarinasvedman. An Azure Functions-based server that implements the Model Context Protocol using the .NET 8.0 isolated worker model. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for MCP server implemented as an Azure Function are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Yes, authentication can be enabled via the MCP_AUTH_ENABLED setting, which is recommended for production.
Allowed operations are configured through MCP_ALLOWED_OPERATIONS, and include getBusinessData, triggerLogicApp, callInternalApi, list_operations, and get_openapi_spec.
README.md · 89498965e6bd · 采集于 2026-11-13 11:46:47 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
A Model Context Protocol (MCP) server implementation using Azure Functions with the .NET 8.0 isolated worker model.
This project implements a Model Context Protocol (MCP) server as an Azure Function, enabling interaction with language models that support the MCP standard. The implementation uses the Azure Functions v4 isolated worker model which offers better performance, scalability, and compatibility with .NET 8.
Implements MCP protocol operations:
list_operations: Standard MCP operation to list all available operationsget_openapi_spec: Standard MCP operation to provide API documentationgetBusinessData: Custom operation to retrieve business metrics and datatriggerLogicApp: Custom operation to trigger Azure Logic AppscallInternalApi: Custom operation to proxy requests to internal APIsBuilt on Azure Functions v4 with isolated worker process
Uses .NET 8.0 for improved performance and features
Structured error handling and logging
JSON serialization with System.Text.Json
Infrastructure as Code (IaC) using Bicep templates
Clone the repository
Configure local.settings.json
The local.settings.json file contains the necessary configuration for running the function locally. Make sure it includes:
{
"IsEncrypted": false,
"Values": {
"AzureWebJobsStorage": "UseDevelopmentStorage=true",
"FUNCTIONS_WORKER_RUNTIME": "dotnet-isolated",
"DOTNET_ISOLATE_TIMEOUT_SECONDS": "60",
"LOGIC_APP_ENDPOINT": "https://prod-12.eastus.logic.azure.com:443/workflows/your-logic-app-id",
"INTERNAL_API_BASE_URL": "https://api.internal.company.com",
"INTERNAL_API_KEY": "your-api-key-here",
"MCP_AUTH_ENABLED": "false",
"MCP_ALLOWED_OPERATIONS": "getBusinessData,triggerLogicApp,callInternalApi,list_operations,get_openapi_spec"
}
}
Install dependencies
dotnet restore
Start the function
func start
The function will be available at http://localhost:7071/api/MCPFunction
Stop the function
Press Ctrl+C in the terminal where the function is running, or
find the PID using netstat -ano | findstr :7071 | findstr LISTENING
and then kill it with taskkill /F /PID <PID>
The project includes test JSON files to help validate the MCP server functionality:
Test list_operations
Use the test-list-operations.json file to test the standard MCP operation that lists all available operations:
curl -X POST http://localhost:7071/api/MCPFunction -H "Content-Type: application/json" -d @test-list-operations.json
Test getBusinessData
Use the test-business-data.json file to test retrieving business data:
curl -X POST http://localhost:7071/api/MCPFunction -H "Content-Type: application/json" -d @test-business-data.json
Test other operations
You can create additional test files for other operations following the MCP protocol format:
{
"requestId": "unique-request-id",
"messageType": "invoke",
"invokeRequest": {
"operation": "operationName",
"parameters": {
"param1": "value1",
"param2": "value2"
}
}
}
When testing functions deployed to Azure, you need to include the function key in your requests:
Using function key in curl request
curl -X POST https://your-function-app.azurewebsites.net/api/MCPFunction \
-H "Content-Type: application/json" \
-H "x-functions-key: YOUR_FUNCTION_KEY" \
-d @test-list-operations.json
Alternative: Using function key as query parameter
curl -X POST "https://your-function-app.azurewebsites.net/api/MCPFunction?code=YOUR_FUNCTION_KEY" \
-H "Content-Type: application/json" \
-d @test-list-operations.json
Testing with Postman
x-functions-key header with your function keyContent-Type header to application/jsonThis project includes Bicep templates for Infrastructure as Code deployment, following Azure best practices.
Navigate to the infrastructure directory
cd infra
Deploy to a specific Azure region (e.g., Sweden Central)
# Create resource group (if it doesn't exist)
az group create --name rg-mcp-function --location swedencentral
# Validate the deployment with what-if operation (recommended practice)
az deployment group what-if --name mcp-server-deployment --resource-group rg-mcp-function --template-file main.bicep --parameters main.parameters.json
# Deploy the infrastructure
az deployment group create --name mcp-server-deployment --resource-group rg-mcp-function --template-file main.bicep --parameters main.parameters.json
Deploy function code to the created Function App
# Build the project for release
dotnet publish -c Release
# Deploy to Azure Function App (replace FUNCTION_APP_NAME with your deployed function app name)
func azure functionapp publish FUNCTION_APP_NAME --dotnet-isolated
Retrieve function key for testing
# List function keys
az functionapp function keys list --name FUNCTION_APP_NAME --resource-group rg-mcp-function --function-name MCPFunction
The Bicep template (main.bicep) includes:
Key parameters that can be customized:
location: Azure region for deployment (default: swedencentral)environmentName: Name prefix for resourcesappServicePlanSku: SKU for the App Service Plan (Y1, B1, S1)mcpAuthEnabled: Whether to enable MCP authenticationmcpAllowedOperations: Comma-separated list of allowed operationsCreate a Function App in Azure
az login
az group create --name mcp-server-rg --location eastus
az storage account create --name mcpserverfunc --location eastus --resource-group mcp-server-rg --sku Standard_LRS
az functionapp create --resource-group mcp-server-rg --consumption-plan-location eastus --runtime dotnet-isolated --functions-version 4 --name mcp-server-function --storage-account mcpserverfunc --os-type Windows
Set Function App settings
az functionapp config appsettings set --name mcp-server-function --resource-group mcp-server-rg --settings "LOGIC_APP_ENDPOINT=https://prod-12.eastus.logic.azure.com:443/workflows/your-logic-app-id" "INTERNAL_API_BASE_URL=https://api.internal.company.com" "MCP_AUTH_ENABLED=true" "MCP_ALLOWED_OPERATIONS=getBusinessData,triggerLogicApp,callInternalApi,list_operations,get_openapi_spec"
For sensitive settings like API keys, use Azure Key Vault:
az keyvault create --name mcpserver-kv --resource-group mcp-server-rg --location eastus
az keyvault secret set --vault-name mcpserver-kv --name "InternalApiKey" --value "your-api-key-here"
az functionapp identity assign --name mcp-server-function --resource-group mcp-server-rg
# Grant the function access to Key Vault
$principalId=$(az functionapp identity show --name mcp-server-function --resource-group mcp-server-rg --query principalId --output tsv)
az keyvault set-policy --name mcpserver-kv --object-id $principalId --secret-permissions get list
# Add Key Vault reference to Function App settings
az functionapp config appsettings set --name mcp-server-function --resource-group mcp-server-rg --settings "INTERNAL_API_KEY=@Microsoft.KeyVault(SecretUri=https://mcpserver-kv.vault.azure.net/secrets/InternalApiKey/)"
Publish the Function
func azure functionapp publish mcp-server-function
Create a CI/CD pipeline using:
MCP_AUTH_ENABLED=true in productionSystem.Net.Primitives assembly not found
This can occur when running .NET 8 functions with the in-process model. The solution is to use the isolated worker process model, which is configured in this project.
Function doesn't start locally
Ensure you have the right .NET SDK version specified in global.json:
{
"sdk": {
"version": "8.0.115"
}
}
Authentication or authorization failures
Check your MCP_AUTH_ENABLED setting and ensure proper authentication is configured in Azure.
Bicep deployment errors
az bicep build --file main.bicepFunction Key Issues
If you receive 401 Unauthorized errors when testing your deployed function, ensure you're including the function key with your requests, either as an x-functions-key header or as a ?code= query parameter.
[Specify the license under which this project is released]
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for MCP server implemented as an Azure Function from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/mcp-server-function)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.