Configure Connection
configure_connectionUpdate MySQL connection credentials at runtime, reinitialize the connection pool, and optionally persist them to ~/.mysql-mcp/config.json for future sessions.
Instructions
Update connection credentials dynamically at runtime, reinitialize pool, and optionally persist credentials to ~/.mysql-mcp/config.json.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "configure_connection"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| host | No | ||
| port | No | ||
| user | No | ||
| database | No | ||
| password | No | ||
| save_config | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||