MCP.so
登录

Azure Functions MCP Servers

@0GiS0

基本信息

分类

云与基础设施

许可证

MIT

传输方式

stdio

作者

0GiS0

关于 Azure Functions MCP Servers

Crea tu servidor MCP con Azure Functions ⚡️🧰

#mcp#azure-functions#microsoft-azure

Azure Functions MCP Servers 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "mcp-server-azure-function": {
      "command": "npx",
      "args": [
        "@modelcontextprotocol/inspector",
        "http://localhost:7071/runtime/webhooks/mcp/sse"
      ]
    }
  }
}

Azure Functions MCP Servers 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Azure Functions ⚡️❤️ MCP Servers?

Azure Functions ⚡️❤️ MCP Servers is a sample repository that demonstrates how to create Model Context Protocol (MCP) servers using Azure Functions and the preview NuGet package Microsoft.Azure.Functions.Worker.Extensions.Mcp. It is designed for developers who want to integrate Azure Functions with MCP and use those servers with GitHub Copilot Chat's agent mode.

How to use Azure Functions ⚡️❤️ MCP Servers?

Install the NuGet package (dotnet add package Microsoft.Azure.Functions.Worker.Extensions.Mcp --version 1.0.0-preview.2). Run the project locally with func start. Test it using MCP Inspector (npx @modelcontextprotocol/inspector http://localhost:7071/runtime/webhooks/mcp/sse). Configure GitHub Copilot Chat by adding an MCP server entry in .vscode/mcp.json or .vscode/settings.json, using either a local endpoint or a remote Azure Functions URL with the function key. Optionally deploy the function to Azure using the Terraform scripts in the infra directory after creating a terraform.tfvars file with your subscription ID and YouTube API key.

Key features of Azure Functions ⚡️❤️ MCP Servers

  • Sample MCP server built with Azure Functions and .NET.
  • Uses the preview NuGet extension Microsoft.Azure.Functions.Worker.Extensions.Mcp.
  • Supports local development and testing with func start.
  • Integrates directly with GitHub Copilot Chat via SSE transport.
  • Provides configuration templates for local and remote servers.
  • Includes Terraform infrastructure for deploying to Azure.

Use cases of Azure Functions ⚡️❤️ MCP Servers

  • Build and test MCP servers locally using Azure Functions.
  • Deploy MCP servers to Azure and access them remotely.
  • Use the MCP server with GitHub Copilot Chat in agent mode.
  • Secure your MCP server with Azure Functions access keys.

常见问题

1

How do I install the NuGet package for MCP support in Azure Functions?

Run `dotnet add package Microsoft.Azure.Functions.Worker.Extensions.Mcp --version 1.0.0-preview.2` to add the preview extension.

2

How can I test the MCP server locally?

Start the Azure Functions runtime with `func start`, then use `npx @modelcontextprotocol/inspector http://localhost:7071/runtime/webhooks/mcp/sse` to open the MCP inspector.

3

How do I configure GitHub Copilot Chat to use this MCP server?

Create a `.vscode/mcp.json` file with a server entry of type `sse`, pointing to the local or remote URL, and optionally use `inputs` for sensitive values like the function key.

4

How do I deploy the Azure Function to Azure?

Use the Terraform scripts inside the `infra` folder. After creating a `terraform.tfvars` file with `subscription_id` and `youtube_api_key`, run `terraform init` and `terraform apply`. Then deploy the code using Visual Studio Code or another method.

5

What transport and authentication does the MCP server use?

The server uses SSE (Server-Sent Events) transport. Remote access uses the Azure Functions host key as an authentication header (`x-functions-key`).

评论

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