Skip to main content
Glama

Azure MCP Server

Official
MIT License
1,161
  • Linux
  • Apple
PostgresOptionDefinitions.cs1.74 kB
// Copyright (c) Microsoft Corporation. // Licensed under the MIT License. namespace AzureMcp.Postgres.Options; public static class PostgresOptionDefinitions { public const string UserName = "user"; public const string ServerName = "server"; public const string DatabaseName = "database"; public const string TableName = "table"; public const string QueryText = "query"; public const string ParamName = "param"; public const string ValueName = "value"; public static readonly Option<string> User = new( $"--{UserName}", "The user name to access PostgreSQL server." ) { IsRequired = true }; public static readonly Option<string> Server = new( $"--{ServerName}", "The PostgreSQL server to be accessed." ) { IsRequired = true }; public static readonly Option<string> Database = new( $"--{DatabaseName}", "The PostgreSQL database to be access." ) { IsRequired = true }; public static readonly Option<string> Table = new( $"--{TableName}", "The PostgreSQL table to be access." ) { IsRequired = true }; public static readonly Option<string> Query = new( $"--{QueryText}", "Query to be executed against a PostgreSQL database." ) { IsRequired = true }; public static readonly Option<string> Param = new( $"--{ParamName}", "The PostgreSQL parameter to be accessed." ) { IsRequired = true }; public static readonly Option<string> Value = new( $"--{ValueName}", "The value to set for the PostgreSQL parameter." ) { IsRequired = true }; }

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