Skip to main content
Glama
lm203688

MySQL MCP Server

by lm203688

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
MYSQL_MCP_HOSTNoMySQL主机地址localhost
MYSQL_MCP_PORTNoMySQL端口3306
MYSQL_MCP_USERNoMySQL用户名root
MYSQL_MCP_DATABASENo默认数据库
MYSQL_MCP_MAX_ROWSNo查询结果最大行数100
MYSQL_MCP_PASSWORDNoMySQL密码
MYSQL_MCP_READ_ONLYNo只读模式true
MYSQL_MCP_QUERY_TIMEOUTNo查询超时(秒)30
MYSQL_MCP_BLOCKED_TABLESNo禁止访问的表列表
MYSQL_MCP_ALLOWED_DATABASESNo允许访问的数据库列表

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

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