BM

bmoussaud/mcp-azure-apim

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

4 stars 7 forks 质量 50 趋势 16

This project demonstrates how to use Azure API Management (APIM) to expose an existing REST API as a Model-Context-Protocol (MCP) Server or to proxy an existing MCP Server The MCP Server can then be...

概览

- Documentation - Workshop - 1. Configure Azure Resources - 2. Expose API as an MCP Server - 3. Setup Python environment - 4. Fastapi MCP Client (Python) - 5. Github Copilot MCP Tool (vscode) - 6. Custom Agent on Azure Ai Foundry (Python) - 7. MCP Policies in APIM (EntraID) - 8. Secure MCP MS Learn using EntraID and APIM - 9. MCP Registry for GitHub Copilot and VSCode This workshop demonstrates how to use Azure API Management (APIM) to expose an existing REST API as a Model-Context-Protocol (MCP) Server. The MCP Server can then be consumed as a tool by various clients, including AI agents built with Azure AI services.

README

以下为原文 README 节选,完整内容请查看原文。

MCP Azure APIM Workshop

Table of Contents

This workshop demonstrates how to use Azure API Management (APIM) to expose an existing REST API as a Model-Context-Protocol (MCP) Server. The MCP Server can then be consumed as a tool by various clients, including AI agents built with Azure AI services.

What you will learn in this workshop:

  • deploy an Azure infrastructure with Azure Developer CLI (azd)
  • expose a rest API on a MCP Server on an APIM
  • call the MCP Server from different clients:
  • call the MCP Server through a GitHub Copilot MCP tool
  • add a security layer on the MCP Server through APIM policies

The workshop leverages the public Setlist.fm API as an example. It provisions the necessary Azure infrastructure using Bicep and the Azure Developer CLI (azd). Setlist.fm is a collaborative online platform dedicated to documenting setlists—the lists of songs performed by artists or bands during concerts. Unlike official setlists, Setlist.fm focuses on what was actually played at live events.

Documentation

Workshop

1. Configure Azure Resources

This project is using azd to configure the Azure Resources

azd auth login
azd up
在 GitHub 查看完整 README

安装

This server does not publish a one-line install command.

Open the repository installation guide 新手?先看 mcpskill.org 教程 →