AS

azure-samples/mcp

开发工具

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

42 stars 9 forks 质量 46 趋势 12MIT

链接到用于在Azure上使用多种语言构建和集成模型上下文协议(MCP)服务器的示例、工具和资源

概览

无论你是C#、Python、Java还是JavaScript开发者,本中心都能帮助你在Azure上构建、运行或重用模型上下文协议(MCP)服务器,为你的AI代理提供动力。 用 Azure Functions 托管你自己的 MCP 服务器——选择你的语言:- - - 使用官方SDK或你喜欢的AI框架编写能连接到任何MCP服务器的代理。 - — 在Azure OpenAI中使用MCPServerSse——向内核实例添加MCP工具——在LangChain或LangGraph代理中使用MCP工具——插入Spring Boot并自动配置——向代理添加Bing + Azure AI搜索 不想自己构建工具?这些服务器通过MCP暴露真实API,这样你的代理可以直接调用它们。 ⚠️ 这些服务器为开源,由社区维护。Microsoft不审查、支持或认可它们。请自行决定使用。

概述(AI 翻译)

**快速构建调用真实API的AI代理。**无论你是C#、Python、Java还是JavaScript开发者,本中心都帮助你在Azure上构建、运行或重用模型上下文协议(MCP)服务器,为你的AI代理提供动力。


🚀 1。运行您自己的MCP服务器

用 Azure Functions 托管你自己的 MCP 服务器——选择你的语言:

  • C#
  • Python
  • TypeScript

🧠 2。构建使用 MCP 的代理

使用官方SDK或你喜欢的AI框架编写能连接到任何MCP服务器的代理。

✅ 官方MCP SDK(构建客户端、服务器或任何语言工具)

  • C# SDK
  • Python SDK
  • TypeScript SDK
  • Java SDK

🤖 AI SDK 集成

  • Python: OpenAI Agents SDK — 使用 MCPServerSse 配合 Azure OpenAI
  • C#:语义内核 — 向你的内核实例添加MCP工具
  • JavaScript:LangChain.js — 在 LangChain 或 LangGraph 代理中使用 MCP 工具
  • Java:Spring AI — 插入 Spring Boot 并自动配置
  • Azure AI 代理 — 向你的代理添加 Bing + Azure AI 搜索

🧩 3.使用即插即用的MCP服务器

不想自己构建工具?这些服务器通过MCP暴露真实API,这样你的代理可以直接调用它们。

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

README

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

Azure Model Context Protocol (MCP) Hub

Build AI agents that call real APIs — fast. Whether you’re a C#, Python, Java, or JavaScript developer, this hub helps you build, run, or reuse Model Context Protocol (MCP) servers on Azure to power your AI agents.


🚀 1. Run Your Own MCP Server

Host your own MCP server using Azure Functions — pick your language:


🧠 2. Build Agents That Use MCP

Use official SDKs or your favorite AI frameworks to write agents that connect to any MCP server.

✅ Official MCP SDKs (Build Clients, Servers, or Tools in Any Language)

🤖 AI SDK Integrations


🧩 3. Use Plug-and-Play MCP Servers

Don’t want to build your own tools? These servers expose real APIs via MCP so your agents can just call them.

⚠️ These servers are open source and maintained by the community. Microsoft does not review, support, or endorse them. Use at your own discretion.

🗃️ Data APIs

在 GitHub 查看完整 README

安装

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

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