MCP-MySQL Server

connect_db

Establish a connection to a MySQL database by providing a URL or configuration details. Enables secure database operations and query execution through the MCP-MySQL Server interface.

Instructions

Connect to MySQL database using URL or config

Input Schema

NameRequiredDescriptionDefault
databaseNo
hostNo
passwordNo
urlNoDatabase URL (mysql://user:pass@host:port/db)
userNo
workspaceNoProject workspace path

Input Schema (JSON Schema)

{ "properties": { "database": { "optional": true, "type": "string" }, "host": { "optional": true, "type": "string" }, "password": { "optional": true, "type": "string" }, "url": { "description": "Database URL (mysql://user:pass@host:port/db)", "optional": true, "type": "string" }, "user": { "optional": true, "type": "string" }, "workspace": { "description": "Project workspace path", "optional": true, "type": "string" } }, "type": "object" }

You must be authenticated.

Other Tools from MCP-MySQL Server

Related Tools

ID: hcqqd3qi8q