Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| MYSQL_SSL | No | Use SSL connection | false |
| MYSQL_HOST | No | MySQL server hostname or IP address | localhost |
| MYSQL_PORT | No | MySQL server port | 3306 |
| MYSQL_USER | No | Database username | |
| MYSQL_DATABASE | No | Database name to connect to | |
| MYSQL_PASSWORD | No | Database password |
Schema
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| mysql_connect | Connect to a MySQL database with provided connection parameters |
| mysql_query | Execute a SQL query on the connected MySQL database |
| mysql_list_databases | List all databases on the MySQL server |
| mysql_list_tables | List all tables in the current or specified database |
| mysql_describe_table | Get the structure/schema of a specific table |
| mysql_show_indexes | Show indexes for a specific table |
| mysql_get_table_stats | Get statistics about a table (row count, size, etc.) |
| mysql_disconnect | Disconnect from the MySQL database |