Skip to main content
Glama

MCP-MySQL Server

by enemyrr

connect_db

Establish and manage secure connections to MySQL databases using a URL or configuration settings, enabling AI models to execute queries and manage schema effectively.

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" }

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

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