Add Bicep templates for RemoteTool and RemoteA2A connections#584
Closed
Add Bicep templates for RemoteTool and RemoteA2A connections#584
Conversation
Add infrastructure templates for deploying MCP server and A2A agent connections to Azure AI Foundry projects. Templates support 5 authentication types: - CustomKeys: API key authentication - OAuth2: Third-party OAuth services - UserEntraToken: Microsoft Entra on-behalf-of flow - ProjectManagedIdentity: Azure managed identity (project scope) - AgenticIdentityToken: Azure managed identity (agentic identity)
|
👋 Thanks for your interest in contributing, @lindazqli! This repository does not accept pull requests directly. If you'd like to report a bug, suggest an improvement, or propose a new sample, please open an issue instead. See CONTRIBUTING.md for more details. |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
This PR adds Bicep infrastructure templates for deploying RemoteTool (MCP server) and RemoteA2A (Agent-to-Agent protocol) connections to Azure AI Foundry projects.
New Files
infrastructure/infrastructure-setup-bicep/01-connections/connection-remote-tool.bicep- Template for MCP server connectionsinfrastructure/infrastructure-setup-bicep/01-connections/connection-remote-a2a.bicep- Template for A2A agent connectionsSupported Authentication Types
Both templates support 5 authentication methods:
Usage Examples
RemoteTool (MCP Server)
az deployment group create --name RemoteToolConnection --resource-group myRG \ --template-file connection-remote-tool.bicep \ --parameters aiFoundryName=myFoundry projectName=myProject \ connectionName=my-mcp-server targetUrl=https://mcp.example.com \ authType=CustomKeys apiKey=sk-xxxRemoteA2A (Agent-to-Agent)
az deployment group create --name RemoteA2AConnection --resource-group myRG \ --template-file connection-remote-a2a.bicep \ --parameters aiFoundryName=myFoundry projectName=myProject \ connectionName=workiq-agent targetUrl=https://workiq.example.com \ authType=CustomKeys apiKey=my-secret-key apiKeyName=x-api-keyAPI Version
Uses
Microsoft.CognitiveServices/accounts/projects/connections@2025-04-01-previewRelated Documentation