MCP Server that interacts with Azure AI Foundry (experimental)
A Model Context Protocol server for Azure AI Foundry, providing a unified set of tools for models, knowledge, evaluation, and more.
Power your agent
การติดตั้งจากผู้เผยแพร่ ไม่ใช่เอนด์พอยต์ของ PlugMCP
URL แบบรีโมตหรือคำสั่งบนเครื่องของคุณ? การติดตั้งสองแบบต่างกันอย่างไร
รันบน PlugMCP
A new server you create. It is not this listing's official endpoint. Use the publisher install when you want their URL and their credentials.
เปิดจากผู้เผยแพร่
MCP Server for Azure AI Foundry (experimental) has moved to the cloud, now as Foundry MCP Server (preview). Please check the official public documentation at Get started with Foundry MCP Server (preview). This GitHub repository contains the outdated information on the previous experimental server implementation, and will not be updated further. Instead, refer to the new, remotely hosted and managed Foundry MCP Server, that has the following benefits:
The rest of this repo (including codebase) explains the now-deprecated MCP Server that interactes with Azure AI Foundry (experimental).
This GitHub template has minimal setup with MCP server configuration and all required dependencies, making it easy to get started with your own projects.
This helps you automatically set up the MCP server in your VS Code environment under user settings. You will need
uvxinstalled in your environment to run the server.
Install uv by following Installing uv.
Start a new workspace in VS Code.
(Optional) Create .env file in the root of your workspace to set environment variables.
Create .vscode/mcp.json in the root of your workspace.
{
"servers": {
"mcp_foundry_server": {
"type": "stdio",
"command": "uvx",
"args": [
"--prerelease=allow",
"--from",
"git+https://github.com/azure-ai-foundry/mcp-foundry.git",
"run-azure-ai-foundry-mcp",
"--envFile",
"${workspaceFolder}/.env"
]
}
}
}
Click Start button for the server in .vscode/mcp.json file.
Open GitHub Copilot chat in Agent mode and start asking questions.
See More examples for advanced setup for more details on how to set up the MCP server.
To securely pass information to the MCP server, such as API keys, endpoints, and other sensitive data, you can use environment variables. This is especially important for tools that require authentication or access to external services.
You can set these environment variables in a .env file in the root of your project. You can pass the location of .env file when setting up MCP Server, and the server will automatically load these variables when it starts.
See example .env file for a sample configuration.
[!NOTE] Model
GITHUB_TOKENis used to authenticate with GitHub API for testing models. It is not required if you are exploring models from Foundry catalog.Knowledge
- See Create a search service to learn more about provisioning a search service.
- Azure AI Search supports multiple authentication methods. You can use either a Microsoft Entra authentication or an Key-based authentication to authenticate your requests. The choice of authentication method depends on your security requirements and the Azure environment you are working in.
- See Authenication to learn more about authentication methods for a search service.
Evaluation
- If you're using agent tools or safety evaluators, make sure the Azure project credentials are valid.
- If you're only doing text quality evaluation, the OpenAI endpoint and key are sufficient.
MIT License. See LICENSE for details.
A MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server
เครื่องมือ
ยังไม่มีรายการเครื่องมือ เซิร์ฟเวอร์แบบรีโมตจะได้รายการหลังการตรวจสอบสถานะครั้งแรก
FAQ
คัดลอกคอนฟิก stdio สำหรับ Cursor, Claude Desktop, Claude Code หรือ VS Code ได้ในหน้านี้ คอนฟิกนี้ใช้การติดตั้งของผู้เผยแพร่ ไม่ใช่พร็อกซีของ PlugMCP
ระเบียนนี้ไม่ได้ระบุตัวแปรสภาพแวดล้อมที่จำเป็น
MCP Foundry ทำงานแบบโลคัลผ่าน stdio
ตรวจสอบล่าสุดเมื่อ 2026-10-28 A MCP Server for Azure AI Foundry: it's now moved to cloud, check the new Foundry MCP Server