local-mysql
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_HOST | Yes | MySQL host, e.g., 127.0.0.1 | |
| MYSQL_PORT | Yes | MySQL port, e.g., 3306 | |
| MYSQL_USER | Yes | MySQL user, e.g., mcp_reader | |
| MYSQL_DATABASE | Yes | MySQL database name | |
| MYSQL_MAX_ROWS | Yes | Maximum rows returned by queries, e.g., 200 | |
| MYSQL_PASSWORD | Yes | MySQL password |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {
"listChanged": true
} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| queryB | Run a single read-only MySQL query. SELECT, SHOW, DESCRIBE, DESC, EXPLAIN, and WITH are allowed. |
| list_databasesA | List databases visible to the configured MySQL user. |
| list_tablesA | List tables in the configured database or in the database argument. |
| describe_tableC | Show column metadata for a table. |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
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/myexperimenthub/Day12'
If you have feedback or need assistance with the MCP directory API, please join our Discord server