# Smithery configuration file: https://smithery.ai/docs/config#smitheryyaml
build:
dockerBuildPath: ../../
startCommand:
type: stdio
configSchema:
# JSON Schema defining the configuration options for the MCP.
type: object
required:
- mysqlUrl
properties:
mysqlUrl:
type: string
description: The MySQL database connection URL in the format
mysql://[user][:password]@host[:port]/database.
commandFunction:
# A function that produces the CLI command to start the MCP on stdio.
|-
(config) => ({ command: 'docker', args: ['run', '-i', '--rm', 'mcp/mysql', config.mysqlUrl] })