Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
BaseLoadTestingCommand.cs1.04 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; using AzureMcp.Core.Commands; using AzureMcp.Core.Commands.Subscription; using AzureMcp.Core.Models.Option; using AzureMcp.LoadTesting.Options; namespace AzureMcp.LoadTesting.Commands; public abstract class BaseLoadTestingCommand< [DynamicallyAccessedMembers(TrimAnnotations.CommandAnnotations)] TOptions> : SubscriptionCommand<TOptions> where TOptions : BaseLoadTestingOptions, new() { protected readonly Option<string> _loadTestOption = OptionDefinitions.LoadTesting.TestResource; protected override void RegisterOptions(Command command) { base.RegisterOptions(command); command.AddOption(_loadTestOption); UseResourceGroup(); } protected override TOptions BindOptions(ParseResult parseResult) { var options = base.BindOptions(parseResult); options.TestResourceName = parseResult.GetValueForOption(_loadTestOption); return options; } }

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