azure-functions-mcp-extension

Azure Functions MCP拡張は、Model Context Protocol (MCP)をサポートするためのAzure Functionsの拡張機能です。この拡張を使用すると、Azure FunctionsアプリケーションはスケーラブルなリモートMCPサーバーとして機能し、AIエージェントなどのクライアントが定義されたタスクを実行するために使用できるツールを定義するためのMCPツールトリガーを提供します。現在プレビュー版であり、APIに変更がある可能性があります。

GitHubスター

8

ユーザー評価

未評価

フォーク

0

イシュー

17

閲覧数

8

お気に入り

0

README

Build Status

Azure Functions MCP extension (Preview)

This repository contains an extension of Azure Functions to enable support for Model Context Protocol (MCP). Using this extension, an Azure Functions application can act as a scalable remote MCP server. The extension includes an MCP tool trigger to help you define tools that can be used by clients such as AI agents to perform defined tasks during their operation.

In addition to the host extension which supports all stacks, this repository also includes an integration for Functions projects using .NET on the isolated worker model.

Instructions

[!IMPORTANT] The Azure Functions MCP extension is currently in preview. You can expect changes to the trigger and binding APIs prior to the extension becoming generally available. You should avoid using preview extensions in production apps.

To get started with the extension, please see the following samples:

Language (Stack) Repo Location
C# (.NET) remote-mcp-functions-dotnet
Python remote-mcp-functions-python
TypeScript (Node.js) remote-mcp-functions-typescript
Java remote-mcp-functions-java

Additional information can also be found in the Azure Functions documentation.

Configuration

You can configure the extension behavior using the host.json file. The following is an example of the configurable settings:

{
  "version": "2.0",
  "extensions": {
    "mcp": {
      "instructions": "Some test instructions on how to use the server",
      "serverName": "TestServer",
      "serverVersion": "2.0.0"
    }
  }
}
Contributing

This project welcomes contributions and suggestions. Most contributions require you to agree to a Contributor License Agreement (CLA) declaring that you have the right to, and actually do, grant us the rights to use your contribution. For details, visit https://cla.opensource.microsoft.com.

When you submit a pull request, a CLA bot will automatically determine whether you need to provide a CLA and decorate the PR appropriately (e.g., status check, comment). Simply follow the instructions provided by the bot. You will only need to do this once across all repos using our CLA.

This project has adopted the Microsoft Open Source Code of Conduct. For more information see the Code of Conduct FAQ or contact opencode@microsoft.com with any additional questions or comments.

Trademarks

This project may contain trademarks or logos for projects, products, or services. Authorized use of Microsoft trademarks or logos is subject to and must follow Microsoft's Trademark & Brand Guidelines. Use of Microsoft trademarks or logos in modified versions of this project must not cause confusion or imply Microsoft sponsorship. Any use of third-party trademarks or logos are subject to those third-party's policies.

作者情報
Microsoft Azure

APIs, SDKs and open source projects from Microsoft Azure

United States of America

12,565

フォロワー

2,539

リポジトリ

0

Gist

57

貢献数

スレッド