mcp-server-foundryAgent-Azure-ML-Integration
Verified Safeby imohweb
Overview
Enable Microsoft Foundry Agents to securely trigger enterprise machine learning workflows in Azure ML through a standardized Model Context Protocol (MCP) server.
Installation
python server.pyEnvironment Variables
- AZURE_SUBSCRIPTION_ID
- AZURE_RESOURCE_GROUP
- AZURE_ML_WORKSPACE
- PROJECT_ENDPOINT
- MODEL_DEPLOYMENT_NAME
- AZURE_AI_PROJECT_API_KEY
- MCP_SERVER_URL
- MCP_SERVER_NAME
- MCP_SERVER_HOST
- MCP_SERVER_PORT
Security Notes
The architecture is designed with security in mind, separating agent intelligence (Layer 1) from enterprise system execution (Layer 3) via a secure middleware (Layer 2 - MCP Server). The MCP server explicitly routes to known functions, preventing arbitrary code execution based on agent input. Azure authentication uses `DefaultAzureCredential`, supporting secure methods like Managed Identity and Azure CLI. No hardcoded secrets were found; all credentials are externalized to `.env` which is `.gitignore`-ed. The FastAPI server binds to `0.0.0.0`, which is standard for containerized apps but requires proper network security (firewalls, VNETs) in production. `ngrok` is mentioned for local public exposure, which is an external service and introduces its own security considerations.
Similar Servers
klavis
Develop and deploy AI agents that interact with a wide array of web services (e.g., Gmail, YouTube, LinkedIn, Supabase, Salesforce, Kubernetes) through a standardized Model Context Protocol (MCP), often orchestrated by an intelligent routing layer like Strata.
AI-Gateway
The project serves as a collection of labs demonstrating AI Gateway capabilities with Azure API Management, focusing on Model Context Protocol (MCP) to enable plug-and-play tool integration for Large Language Models (LLMs).
mcpstore
Orchestrate Microservice Context Protocol (MCP) services and adapt them for integration with various AI frameworks like LangChain, managing tools and their lifecycle.
agentor
Build and deploy scalable AI agents that can interact with various tools and communicate via A2A and MCP protocols.