MCP.so
登录

MCP Server Azure Function

@katarinasvedman

关于 MCP Server Azure Function

暂无概览

基本信息

分类

云与基础设施

运行时

c#

传输方式

stdio

发布者

katarinasvedman

配置

暂无标准配置

该服务器的 README 中没有可解析的 MCP 配置块,请前往代码仓库查看安装说明。

代码仓库

工具

未检测到工具

工具是从 README 中自动提取的。维护者可以在 ## Tools 标题下列出工具,即可填充这部分内容。

概览

What is MCP Server Azure Function?

It is a Model Context Protocol (MCP) server implementation hosted as an Azure Function using the .NET 8 isolated worker model. It enables language models that support the MCP standard to interact with custom business operations, logic apps, and internal APIs.

How to use MCP Server Azure Function?

Clone the repository, configure the local.settings.json file with required environment variables (e.g., LOGIC_APP_ENDPOINT, INTERNAL_API_BASE_URL, MCP_ALLOWED_OPERATIONS), restore dependencies with dotnet restore, then run func start to launch the function locally at http://localhost:7071/api/MCPFunction. Test using curl with included JSON test files or custom MCP request payloads.

Key features of MCP Server Azure Function

  • Implements standard MCP operations: list_operations and get_openapi_spec
  • Provides custom operations: getBusinessData, triggerLogicApp, callInternalApi
  • Built on Azure Functions v4 isolated worker with .NET 8
  • Uses Bicep templates for Infrastructure as Code (IaC) deployment
  • Supports local development and Azure deployment with function key authentication

Use cases of MCP Server Azure Function

  • Retrieve business metrics and data via MCP from language models
  • Trigger Azure Logic Apps workflows from model interactions
  • Proxy requests to internal APIs securely
  • Provide API documentation through the MCP get_openapi_spec operation
  • Enable custom, enterprise MCP operations for automated decision-making

FAQ from MCP Server Azure Function

What is MCP Server Azure Function?

It is an MCP server implemented as an Azure Function using .NET 8 isolated worker model, allowing language models to invoke predefined operations via the MCP standard.

What are the prerequisites to run it locally?

.NET 8 SDK, Azure Functions Core Tools v4, Visual Studio or VS Code, Azure CLI, and Azure Bicep CLI are required.

How do I deploy MCP Server Azure Function to Azure?

Use the included Bicep templates to deploy the infrastructure (Function App, Storage, etc.), then publish the function code with func azure functionapp publish <APP_NAME> --dotnet-isolated.

How do I test the deployed function?

Send POST requests to the function URL with an x-functions-key header (or ?code= query parameter) and a JSON MCP request body. Example: curl -X POST <URL> -H "Content-Type: application/json" -H "x-functions-key: YOUR_KEY" -d @test-list-operations.json.

How is the function secured in production?

Set MCP_AUTH_ENABLED=true, store sensitive values in Azure Key Vault, use managed identities, and enable HTTPS-only access with TLS 1.2. Function keys are required for all requests to the deployed function.

评论

云与基础设施 分类下的更多 MCP 服务器