Skip to main content
Glama
Azure-Samples

Secure Remote MCP Server

storage-Access.bicep863 B
param principalID string param roleDefinitionID string param storageAccountName string resource storageAccount 'Microsoft.Storage/storageAccounts@2021-09-01' existing = { name: storageAccountName } // Allow access from API to storage account using a managed identity and least priv Storage roles resource storageRoleAssignment 'Microsoft.Authorization/roleAssignments@2020-04-01-preview' = { name: guid(storageAccount.id, principalID, roleDefinitionID) scope: storageAccount properties: { roleDefinitionId: resourceId('Microsoft.Authorization/roleDefinitions', roleDefinitionID) principalId: principalID principalType: 'ServicePrincipal' // Workaround for https://learn.microsoft.com/en-us/azure/role-based-access-control/role-assignments-template#new-service-principal } } output ROLE_ASSIGNMENT_NAME string = storageRoleAssignment.name

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Azure-Samples/remote-mcp-apim-functions-python'

If you have feedback or need assistance with the MCP directory API, please join our Discord server