Skip to main content
Glama

MySql MCP Server

smithery.yaml1.16 kB
# Smithery.ai configuration startCommand: type: stdio configSchema: # JSON Schema defining the configuration options for the MCP. type: object properties: MYSQL_HOST: type: string description: MySQL server address MYSQL_PORT: type: string description: MySQL server port MYSQL_USER: type: string description: MySQL username MYSQL_PASSWORD: type: string description: MySQL password MYSQL_DATABASE: type: string description: Initial database MYSQL_READONLY: type: boolean description: Read-only mode, set true to enable commandFunction: # A function that produces the CLI command to start the MCP on stdio. |- (config) => ({ "command": "node", "args": [ "dist/index.js" ], "env": { MYSQL_HOST: config.MYSQL_HOST, MYSQL_PORT: config.MYSQL_PORT, MYSQL_USER: config.MYSQL_USER, MYSQL_PASSWORD: config.MYSQL_PASSWORD, MYSQL_DATABASE: config.MYSQL_DATABASE, MYSQL_READONLY: config.MYSQL_READONLY.toString() } })

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

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