Skip to main content
Glama
Azure-Samples

Secure Remote MCP Server

Azure API Management を使用してリモート MCP サーバーを保護する (試験的)

図

Azure API Management は、MCP サーバーのAI ゲートウェイとして機能します。

このサンプルは最新のMCP認証仕様を実装しています

流れを理解するためのシーケンス図です。

リモート MCP サーバーを Azure にデプロイする

  1. Microsoft.Appリソース プロバイダーを登録します。

    • Azure CLI を使用している場合は、 az provider register --namespace Microsoft.App --wait実行します。

    • Azure PowerShell を使用している場合は、 Register-AzResourceProvider -ProviderNamespace Microsoft.Appを実行します。その後、しばらくしてから(Get-AzResourceProvider -ProviderNamespace Microsoft.App).RegistrationStateを実行して、登録が完了したかどうかを確認します。

  2. このazdコマンドを実行して、API 管理サービス、関数アプリ (コード付き)、およびその他の必要なすべての Azure リソースをプロビジョニングします。

    azd up

MCP検査官

  1. 新しいターミナルウィンドウで、MCP Inspectorをインストールして実行します。

    npx @modelcontextprotocol/inspector
  2. Ctrl キーを押しながらクリックして、アプリによって表示される URL から MCP Inspector Web アプリを読み込みます (例: http://127.0.0.1:6274/#resources )

  3. トランスポートタイプをSSEに設定する

  4. azd upConnectの後に表示される実行中の API Management SSE エンドポイントへの URL を設定します。

    https://<apim-servicename-from-azd-output>.azure-api.net/mcp/sse
  5. ツールの一覧を表示します。ツールをクリックしてツールを実行してください

-
security - not tested
A
license - permissive license
-
quality - not tested

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure-Samples/remote-mcp-apim-functions-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server