File tree Expand file tree Collapse file tree
labs/mcp-prm-oauth/src/bicep Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -13,11 +13,6 @@ param mcpAppTenantId string
1313@description ('MCP API path to be served via APIM' )
1414param mcpApiPath string = 'mcp'
1515
16- @description ('The name of the MCP server for PRM discovery' )
17- param mcpServerName string = '${webAppName }-mcp-tools'
18-
19-
20-
2116// Get reference to the existing APIM service
2217resource apimService 'Microsoft.ApiManagement/service@2025-09-01-preview' existing = {
2318 name : apimServiceName
@@ -90,16 +85,16 @@ resource mcpBackendServerUrl 'Microsoft.ApiManagement/service/backends@2025-09-0
9085 }
9186}
9287
93- // Create the MCP API definition in APIM
88+ // Create the MCP Passthrough definition in APIM
9489resource mcpApi 'Microsoft.ApiManagement/service/apis@2025-09-01-preview' = {
9590 parent : apimService
96- name : mcpServerName
91+ name : '${ webAppName }-mcp-server'
9792 properties : {
9893 displayName : '${webAppName } MCP Server'
9994 type : 'mcp'
10095 subscriptionRequired : false
10196 backendId : mcpBackendServerUrl .name
102- description : 'MCP API for ${webAppName } showing authenticated user profile info'
97+ description : 'MCP API for ${webAppName } retrieving authenticated account Graph info'
10398 path : mcpApiPath
10499 protocols : ['https' ]
105100 mcpProperties : {
Original file line number Diff line number Diff line change @@ -96,5 +96,4 @@ resource mcpServicePrincipal 'Microsoft.Graph/servicePrincipals@v1.0' = {
9696
9797// Outputs
9898output mcpAppId string = mcpEntraApp .appId
99- output mcpAppUniqueName string = mcpEntraApp .uniqueName
10099output mcpAppTenantId string = tenantId
You can’t perform that action at this time.
0 commit comments