Skip to main content
Glama

SQL MCP Server

by polarisxb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
CONFIG_FILENoConfiguration file path (.env/.json/.js)
SQL_MCP_DB_HOSTNoDatabase host
SQL_MCP_DB_NAMENoDatabase name
SQL_MCP_DB_PORTNoDatabase port
SQL_MCP_DB_TYPENoDatabase typemysql
SQL_MCP_DB_USERNoDatabase user
SQL_MCP_LOG_LEVELNoLogging level (debug|info|warn|error)
SQL_MCP_DB_TIMEOUTNoDatabase connection timeout
SQL_MCP_DB_PASSWORDNoDatabase password
SQL_MCP_LOG_FILE_PATHNoLog file path
SQL_MCP_MCP_HTTP_PORTNoMCP HTTP port
SQL_MCP_MCP_TRANSPORTNoMCP transport (stdio|http)
SQL_MCP_LOG_DESTINATIONNoLogging destination (console|file)

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/polarisxb/sql-mcp'

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