Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
Analyze-Code.ps11.58 kB
#!/bin/env pwsh #Requires -Version 7 . "$PSScriptRoot/../common/scripts/common.ps1" Push-Location $RepoRoot try { Write-Host "Running dotnet format to check for formatting issues..." $solutionFile = Get-ChildItem -Path . -Filter *.sln | Select-Object -First 1 dotnet format $solutionFile --verify-no-changes # Run dotnet format if ($LASTEXITCODE) { Write-Host "❌ dotnet format detected formatting issues." Write-Host "Please run 'dotnet format `"$solutionFile`"' to fix the issues and then try committing again." $hasErrors = $true } else { Write-Host "✅ dotnet format did not detect any formatting issues." } # Run cspell spell check if (!$env:TF_BUILD) { Write-Host "Running cspell spell check..." & "$RepoRoot/eng/common/spelling/Invoke-Cspell.ps1" *>&1 | Tee-Object -Variable cspellOutput | Where-Object { $_ -like '*Unknown word*' } if ($LASTEXITCODE) { Write-Host "❌ Spell check detected issues. Please fix the above errors before committing." $hasErrors = $true } else { Write-Host "✅ Spell check did not detect any issues." } } # Run tool selection analysis & "$PSScriptRoot/Test-ToolSelection.ps1" if ($LASTEXITCODE -ne 0) { Write-Host "❌ Tool selection analysis failed" $hasErrors = $true } else { Write-Host "✅ Tool selection analysis did not detect any issues." } if($hasErrors) { exit 1 } } finally { Pop-Location }

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/azure-mcp'

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