Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
LOG_LEVELNoLog verbosity level (debug, info, warning, error)info
MYSQL_HOSTYesThe MySQL database host
MYSQL_PORTNoThe MySQL database port3306
MYSQL_USERYesThe MySQL database user
MYSQLSH_PATHNoPath to MySQL Shell executable
OAUTH_ISSUERNoOAuth authorization server URL
OAUTH_ENABLEDNoEnable OAuth 2.1 authentication
PROXYSQL_HOSTNoProxySQL admin interface host
PROXYSQL_PORTNoProxySQL admin interface port
PROXYSQL_USERNoProxySQL admin username
MYSQL_DATABASEYesThe MySQL database name
MYSQL_PASSWORDYesThe MySQL database password
OAUTH_AUDIENCENoExpected OAuth token audience
OAUTH_JWKS_URINoOAuth JWKS URI (auto-discovered if not provided)
MYSQL_ROUTER_URLNoMySQL Router REST API URL (e.g., https://localhost:8443)
MYSQL_ROUTER_USERNoMySQL Router REST API username
PROXYSQL_PASSWORDNoProxySQL admin password
METADATA_CACHE_TTL_MSNoCache TTL for schema metadata in milliseconds30000
MYSQL_ROUTER_INSECURENoSet to 'true' to bypass SSL certificate verification for MySQL Router
MYSQL_ROUTER_PASSWORDNoMySQL Router REST API password
OAUTH_CLOCK_TOLERANCENoOAuth clock tolerance in seconds

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

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/neverinfamous/mysql-mcp'

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