MySQL Database Access
by dpflucas
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_HOST | Yes | Database server hostname | |
| MYSQL_PORT | No | Database server port | 3306 |
| MYSQL_USER | Yes | Database username | |
| MYSQL_DATABASE | No | Default database name (optional) | |
| MYSQL_PASSWORD | No | Database password (optional, but recommended for secure connections) |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| list_databasesA | List all accessible databases on the MySQL server |
| list_tablesC | List all tables in a specified database |
| describe_tableB | Show the schema for a specific table |
| execute_queryB | Execute a read-only SQL query |
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/dpflucas/mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server