mcp-sql
MCPReferenceby benamaraissam
Indexed by Glama. No runnable package is published via Glama's API — open the repository for install instructions.
MCP configuration
Environment
MCPSQL_HOSTDatabase server host.
MCPSQL_PORTDatabase server port.
MCPSQL_DB_TYPEEngine type (e.g., mssql).
AZURE_CLIENT_IDAzure client ID for service principal auth.
AZURE_TENANT_IDAzure tenant ID for service principal auth.
MCPSQL_DATABASEDatabase name.
MCPSQL_MAX_ROWSRow cap for queries (default 1000).
MCPSQL_PASSWORDsecretSQL Server login password (for sql_password auth).
MCPSQL_USERNAMESQL Server login username (for sql_password auth).
MCPSQL_AUTH_METHODAuthentication method (sql_password, windows, azure_ad).
MCPSQL_CONNECTIONSJSON mapping of connection names to ODBC strings (for map backend).
MCPSQL_ODBC_DRIVERODBC driver name (default 'ODBC Driver 18 for SQL Server').
AZURE_CLIENT_SECRETsecretAzure client secret for service principal auth.
MCPSQL_KEYVAULT_URLsecretAzure Key Vault URL for resolving connections (for keyvault backend).
MCPSQL_AZURE_AUTH_MODEAzure AD token acquisition mode (default, service_principal, managed_identity).
MCPSQL_CONNECTION_BACKENDConnection backend: static, map, keyvault.
MCPSQL_CONNECTION_ALLOWLISTComma-separated list of allowed connection names.
MCPSQL_CONNECTION_CACHE_TTLCache TTL for resolved connections in seconds.
Install in one click with Zurek
Browse here, install from the native macOS app — pick targets, fill env vars, and write configs safely.