Skip to main content
Glama

MySQL MCP Server

MIT License
56
1
  • Apple
  • Linux

mysql_connect

Establishes a connection to a MySQL database by specifying host, port, user, and password. Allows secure database access and management through the MySQL MCP Server for performing operations and queries.

Instructions

连接到 MySQL 数据库

Input Schema

NameRequiredDescriptionDefault
databaseNo数据库名称(可选)
hostYesMySQL 服务器地址
passwordYes密码
portNoMySQL 端口号
userYes用户名

Input Schema (JSON Schema)

{ "properties": { "database": { "description": "数据库名称(可选)", "type": "string" }, "host": { "description": "MySQL 服务器地址", "type": "string" }, "password": { "description": "密码", "type": "string" }, "port": { "default": 3306, "description": "MySQL 端口号", "type": "number" }, "user": { "description": "用户名", "type": "string" } }, "required": [ "host", "user", "password" ], "type": "object" }

Other Tools from MySQL MCP 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/pickstar-2002/mysql-mcp'

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