Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
BaseAppConfigCommand.cs922 B
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using System.Diagnostics.CodeAnalysis; using AzureMcp.AppConfig.Options; using AzureMcp.Core.Commands; using AzureMcp.Core.Commands.Subscription; namespace AzureMcp.AppConfig.Commands; public abstract class BaseAppConfigCommand< [DynamicallyAccessedMembers(TrimAnnotations.CommandAnnotations)] T> : SubscriptionCommand<T> where T : BaseAppConfigOptions, new() { protected readonly Option<string> _accountOption = AppConfigOptionDefinitions.Account; protected override void RegisterOptions(Command command) { base.RegisterOptions(command); command.AddOption(_accountOption); } protected override T BindOptions(ParseResult parseResult) { var options = base.BindOptions(parseResult); options.Account = parseResult.GetValueForOption(_accountOption); 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