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
BaseMySqlOptions.cs•937 B
// Copyright (c) Microsoft Corporation.
// Licensed under the MIT License.
using System.Text.Json.Serialization;
using AzureMcp.Core.Options;
namespace AzureMcp.MySql.Options;
/// <summary>
/// Base options for MySQL commands that only need subscription, resource group, and user.
/// </summary>
public class BaseMySqlOptions : SubscriptionOptions
{
[JsonPropertyName(MySqlOptionDefinitions.UserName)]
public string? User { get; set; }
}
/// <summary>
/// Options for MySQL commands that need server access.
/// </summary>
public class MySqlServerOptions : BaseMySqlOptions
{
[JsonPropertyName(MySqlOptionDefinitions.ServerName)]
public string? Server { get; set; }
}
/// <summary>
/// Options for MySQL commands that need database access.
/// </summary>
public class MySqlDatabaseOptions : MySqlServerOptions
{
[JsonPropertyName(MySqlOptionDefinitions.DatabaseName)]
public string? Database { get; set; }
}