Skip to main content
Glama
IBeanCN

mysql-readonly-mcp

by IBeanCN

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MCP_HOSTNoBind address for SSE transport127.0.0.1
MCP_PORTNoBind port for SSE8000
MYSQL_SSLNoEnable TLS to MySQL: "true" / "false"false
MYSQL_HOSTNoMySQL hostname or IP127.0.0.1
MYSQL_PORTNoMySQL port3306
MYSQL_USERYesMySQL username
MYSQL_SSL_CANoPath to CA certificate (when using TLS)
MYSQL_SSL_KEYNoPath to client private key
MYSQL_DATABASEYesTarget database name
MYSQL_PASSWORDNoMySQL password
MYSQL_SSL_CERTNoPath to client certificate
MCP_BEARER_TOKENNoIf non-empty, SSE HTTP requests require Authorization: Bearer <token>
MYSQL_READ_TIMEOUTNoSocket read timeout (seconds)30
MYSQL_WRITE_TIMEOUTNoSocket write timeout (seconds)30
QUERY_DEFAULT_LIMITNoUpper bound on rows for SELECT100
MYSQL_CONNECT_TIMEOUTNoTCP connect timeout (seconds)10
MYSQL_SSL_VERIFY_CERTNoSet "false" to skip server cert verification (not recommended)true
QUERY_TABLE_BLACKLISTNoComma-separated table names to block from query tool
MYSQL_MAX_EXECUTION_TIMENoPer-query server limit (milliseconds)30000

Capabilities

Server capabilities have not been inspected yet.

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/IBeanCN/mysql-mcp-only-read'

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