Skip to main content
Glama

MCP MySQL Server

by Malove86

connect_db

Establish a connection to a MySQL database using host, user, password, and database details, with optional port configuration. Simplifies database interactions through MCP MySQL Server's standardized interface.

Instructions

Connect to MySQL database (optional if environment variables are set)

Input Schema

NameRequiredDescriptionDefault
databaseYesDatabase name
hostYesDatabase host
passwordYesDatabase password
portNoDatabase port (optional)
userYesDatabase user

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "Database name", "type": "string" }, "host": { "description": "Database host", "type": "string" }, "password": { "description": "Database password", "type": "string" }, "port": { "description": "Database port (optional)", "type": "number" }, "user": { "description": "Database user", "type": "string" } }, "required": [ "host", "user", "password", "database" ], "type": "object" }
Install Server

Other Tools from MCP MySQL Server

Related Tools

    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/Malove86/mcp-mysql-server'

    If you have feedback or need assistance with the MCP directory API, please join our Discord server