Skip to main content
Glama

MCP MySQL Server

by Malove86
smithery.yaml1.38 kB
# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml startCommand: type: stdio configSchema: # JSON Schema defining the configuration options for the MCP. type: object required: - mysqlHost - mysqlUser - mysqlPassword - mysqlDatabase properties: mysqlHost: type: string description: Hostname for the MySQL server mysqlUser: type: string description: MySQL user name mysqlPassword: type: string description: MySQL user's password mysqlDatabase: type: string description: MySQL database name mysqlPort: type: integer description: Port for the MySQL server (default 3306) default: 3306 commandFunction: # A JS function that produces the CLI command based on the given config to start the MCP on stdio. |- (config) => ({ command: 'node', args: ['build/index.js'], env: { MYSQL_HOST: config.mysqlHost, MYSQL_USER: config.mysqlUser, MYSQL_PASSWORD: config.mysqlPassword, MYSQL_DATABASE: config.mysqlDatabase, MYSQL_PORT: config.mysqlPort?.toString() || '3306' } }) exampleConfig: mysqlHost: localhost mysqlUser: example_user mysqlPassword: example_password mysqlDatabase: example_db mysqlPort: 3306

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