Azure Functions MCPサーバー
コミット 2026年10月13日Pythonを使用して、カスタムのリモートMCP serverをAzure Functionsでクラウドに構築・デプロイするためのサンプルを提供します。
別名 Azure-Samples/remote-mcp-functions-python
- スター
- 125
- ツール
- —
- ダウンロード数(30日間)
- —
- 最新バージョン
- —
- 最終コミット
- 2026年10月13日
- ライセンス
- MIT
Azure Functions MCPとは
Azure FunctionsはMCPサーバーです。 Pythonを使用して、カスタムのリモートMCP serverをAzure Functionsでクラウドに構築・デプロイするためのサンプルを提供します。.
プロジェクトのREADMEから生成された概要
Azure Functions MCP server について
これらのサンプルは、Pythonを使用してカスタムのModel Context Protocol serverをクラウドにデプロイすることを主な目的としています。開発者はこれらのテンプレートを使用して、MCPの機能をローカル環境からAzure Functionsへ移行できます。このリポジトリには、ビルド、ローカルでのデバッグ、およびAzure Developer CLIを使用したクラウドへのデプロイに必要なコードと設定が含まれています。
セキュリティはMicrosoft Entraによる組み込みの認証を通じて管理され、高度なユーザーはAPI ManagementやVNET経由のネットワーク分離を実装できます。このコレクションには、MCP Tools、Resources、およびPromptsの具体的な実装が含まれています。これらのサンプルを使用するには、Python 3.13以上、Azure Functions Core Tools、およびデプロイ用のAzure Developer CLIが必要です。
さまざまなプロジェクトサンプルにより、QRコード生成、コードレビュー用チェックリスト、気象アプリケーションのデモなどの多様な機能を利用できます。これらのテンプレートは、Azureエコシステム内でリモートのMCP機能をホストする必要があるすべてのユーザーにとっての基盤となります。
プロジェクトの README から作成されています。すべてのユースケースは、その引用と照らし合わせて確認されています。
自動チェック
実行日 2026年11月14日完全なレポート →まだ検証されていません。サーバーには80点のスコア、重大な問題がないこと、および検証に必要な十分なデータが必要です。 チェックの仕組み · 点数を上げるための改善点
- ソースリポジトリがリンクされており、アクセス可能azure-samples/remote-mcp-functions-python is public and reachablegithub.com/azure-samples/remote-mcp-functions-python ↗合格
- パッケージがこのリポジトリをソースとして指定未チェック
- ビルドの来歴 (Sigstore 証明)未チェック
- オープンソースライセンス (OSI)MITspdx.org/licenses/MIT.html ↗合格
- 過去1年以内にコミットまたはリリースありLast commit or release 2026-10-13github.com/azure-samples/remote-mcp-functions-python ↗合格
- OpenSSF Scorecard未チェック
- パッケージ名が有名なパッケージに酷似していない未チェック
- パッケージおよびその依存関係に重大な勧告なし未チェック
- モデルへの隠れた指示がない0 tool descriptions and the README read; no override phrases, credential paths or hidden characters合格
- 破壊的なツールがラベル付けされている未チェック
- リモートエンドポイントが MCP ハンドシェイクに応答未チェック
README
GitHubで見るGetting Started with Remote MCP Servers using Azure Functions (Python)
This repo has a collection of samples to help you easily build and deploy a custom remote MCP server to the cloud using Azure Functions. You can clone/restore/run on your local machine with debugging, and azd up to have a server in the cloud in a couple minutes.
All sample MCP servers are configured with built-in authentication using Microsoft Entra as the identity provider.
You can also use API Management to secure the server, as well as network isolation using VNET.
If you're looking for samples in more languages check out the .NET/C# and Node.js/TypeScript versions.
Prerequisites
- Python version 3.13 or higher
- Azure Functions Core Tools >=
4.8.0 - Azure Developer CLI 1.23.x or above (for deployment)
- Docker (for the Azurite storage emulator)
- Visual Studio Code (recommended)
- Azure Functions extension
Below is the architecture diagram for the Remote MCP Server using Azure Functions:

Samples in this repo
Each project README has instructions for running locally, connecting to the MCP server, deploying to the cloud, and more.
| Project | Description | Getting Started |
|---|---|---|
| FunctionsMcpTool | MCP Tools — snippet CRUD, QR code generation, structured metadata, batch operations | README |
| FunctionsMcpResources | MCP Resources — snippet resource template, server info resource | README |
| FunctionsMcpPrompts | MCP Prompts — code review checklist, summarize content, generate docs | README |
| McpWeatherApp | Weather App — MCP App demo with interactive UI | README |
Next Steps
- Learn more about the Azure Functions MCP extension
- Learn more about built-in MCP auth
- Follow our blog posts on Azure SDK Blog and Tech Community for updates.
Azure Functions MCPのよくある質問
これらのAzure Functions MCPサンプルを使用するために必要な言語とバージョンは何ですか?
サンプルにはPython 3.13以上が必要です。また、デプロイにはAzure Functions Core Tools 4.8.0以上、およびAzure Developer CLI 1.23.x以上が必要です。
リモートMCP serverをどのようにクラウドにデプロイしますか?
Azure Developer CLIのazd upコマンドを使用してデプロイできます。これにより、数分でクラウド上にサーバーがプロビジョニングされます。
これらのMCP serverの認証はどのように処理されますか?
すべてのサンプルMCP serverは、IDプロバイダーとしてMicrosoft Entraを使用した組み込みの認証を使用しています。さらに、API ManagementやVNETによる分離を追加してセキュリティを強化することも可能です。
リポジトリにはどのようなサンプルMCP serverが含まれていますか?
リポジトリには、ツール用のFunctionsMcpTool、リソース用のFunctionsMcpResources、プロンプト用のFunctionsMcpPrompts、およびインタラクティブなMCP Appデモ用のMcpWeatherAppが含まれています。
デプロイ前にMCP serverをローカルで実行できますか?
はい、Azureにデプロイする前に、サンプルをクローン、リストアし、ローカルマシン上でデバッグしながら実行できます。