Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
AppConfigSetup.cs2.44 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using AzureMcp.AppConfig.Commands.Account; using AzureMcp.AppConfig.Commands.KeyValue; using AzureMcp.AppConfig.Services; using AzureMcp.Core.Areas; using AzureMcp.Core.Commands; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace AzureMcp.AppConfig; public class AppConfigSetup : IAreaSetup { public string Name => "appconfig"; public void ConfigureServices(IServiceCollection services) { services.AddSingleton<IAppConfigService, AppConfigService>(); } public void RegisterCommands(CommandGroup rootGroup, ILoggerFactory loggerFactory) { // Create AppConfig command group var appConfig = new CommandGroup(Name, "App Configuration operations - Commands for managing Azure App Configuration stores and key-value settings. Includes operations for listing configuration stores, managing key-value pairs, setting labels, locking/unlocking settings, and retrieving configuration data."); rootGroup.AddSubGroup(appConfig); // Create AppConfig subgroups var accounts = new CommandGroup("account", "App Configuration store operations"); appConfig.AddSubGroup(accounts); var keyValue = new CommandGroup("kv", "App Configuration key-value setting operations - Commands for managing complete configuration settings including values, labels, and metadata"); appConfig.AddSubGroup(keyValue); // Register AppConfig commands accounts.AddCommand("list", new AccountListCommand( loggerFactory.CreateLogger<AccountListCommand>())); keyValue.AddCommand("list", new KeyValueListCommand( loggerFactory.CreateLogger<KeyValueListCommand>())); keyValue.AddCommand("lock", new KeyValueLockCommand( loggerFactory.CreateLogger<KeyValueLockCommand>())); keyValue.AddCommand("unlock", new KeyValueUnlockCommand( loggerFactory.CreateLogger<KeyValueUnlockCommand>())); keyValue.AddCommand("set", new KeyValueSetCommand( loggerFactory.CreateLogger<KeyValueSetCommand>())); keyValue.AddCommand("show", new KeyValueShowCommand( loggerFactory.CreateLogger<KeyValueShowCommand>())); keyValue.AddCommand("delete", new KeyValueDeleteCommand( loggerFactory.CreateLogger<KeyValueDeleteCommand>())); } }

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