Skip to main content
Glama

Universal SQL MCP Server

by Wunrry

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
DB_HOSTNoDatabase host
DB_NAMEYesDatabase name or file path (for SQLite)
DB_PORTNoDatabase port
DB_TYPEYesSpecifies the database engine to use (mysql, postgresql, sqlite, sqlserver)
DB_USERNoDatabase username
DB_DRIVERNoDatabase driver (for SQL Server)
LOG_LEVELNoGeneral application log levelINFO
DB_PASSWORDNoDatabase password
DB_POOL_SIZENoConnection pool size5
DB_MAX_OVERFLOWNoMaximum connection overflow10
DB_READ_TIMEOUTNoRead timeout in seconds30
DB_WRITE_TIMEOUTNoWrite timeout in seconds30
REQUEST_LOG_LEVELNoLog level for request loggingINFO
DB_CONNECT_TIMEOUTNoConnection timeout in seconds10
ENABLE_REQUEST_LOGGINGNoEnable basic request loggingtrue
MAX_PAYLOAD_LOG_LENGTHNoMaximum length of logged payloads2000
ENABLE_WRITE_OPERATIONSNoEnable write operations (INSERT/UPDATE)false
ENABLE_DETAILED_REQUEST_LOGGINGNoEnable detailed request logging with headers and payloadsfalse

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

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/Wunrry/Universal-SQL-MCP-Server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server