MySQL MCP Server
by hovecapital
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| DB_HOST | No | MySQL server hostname | mysql |
| DB_PORT | No | MySQL server port | 3306 |
| DB_DATABASE | No | Database name | database |
| DB_PASSWORD | No | MySQL password | |
| DB_USERNAME | No | MySQL username | root |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| connectA | Connect to a MySQL database using a connection string. The connection will be used for subsequent queries until changed. |
| disconnectA | Disconnect from the current runtime database and revert to the default environment-configured connection |
| queryA | Run a read-only SQL query against the currently connected database |
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/hovecapital/read-only-local-mysql-mcp-server'
If you have feedback or need assistance with the MCP directory API, please join our Discord server