Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
MarketplaceSetup.cs1.29 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. using AzureMcp.Core.Areas; using AzureMcp.Core.Commands; using AzureMcp.Marketplace.Commands.Product; using AzureMcp.Marketplace.Services; using Microsoft.Extensions.DependencyInjection; using Microsoft.Extensions.Logging; namespace AzureMcp.Marketplace; public class MarketplaceSetup : IAreaSetup { public string Name => "marketplace"; public void ConfigureServices(IServiceCollection services) { services.AddSingleton<IMarketplaceService, MarketplaceService>(); } public void RegisterCommands(CommandGroup rootGroup, ILoggerFactory loggerFactory) { // Create Marketplace command group var marketplace = new CommandGroup(Name, "Marketplace operations - Commands for managing and accessing Azure Marketplace products and offers."); rootGroup.AddSubGroup(marketplace); // Create Product subgroup var product = new CommandGroup("product", "Marketplace product operations - Commands for retrieving and managing marketplace products."); marketplace.AddSubGroup(product); // Register Product commands product.AddCommand("get", new ProductGetCommand( loggerFactory.CreateLogger<ProductGetCommand>())); } }

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