← Back to Plugins
MCP Server MCP

MySQL (security-first)

github By github 👁 1 views ▲ 0 votes

Security-first MySQL MCP server with AST validation, table whitelist, schema resources, and audit.

Homepage Verified source GitHub

Install

oci:ghcr.io/kurok1/mcp-server-mysql:2.0.0

Configuration Example

{
  "remotes": [],
  "packages": [
    {
      "registryType": "oci",
      "identifier": "ghcr.io/kurok1/mcp-server-mysql:2.0.0",
      "runtimeHint": "docker",
      "transport": {
        "type": "stdio"
      },
      "runtimeArguments": [
        {
          "isRequired": true,
          "value": "{config_dir}:/data",
          "variables": {
            "config_dir": {
              "description": "Host directory containing config.yaml (see config.example.yaml in the repository)",
              "isRequired": true,
              "format": "filepath",
              "default": "~/.mcp-server-mysql"
            }
          },
          "type": "named",
          "name": "-v"
        }
      ],
      "packageArguments": [
        {
          "value": "/data/config.yaml",
          "type": "named",
          "name": "--config"
        }
      ],
      "environmentVariables": [
        {
          "description": "MySQL password, referenced from config.yaml as ${MYSQL_MCP_PASSWORD}",
          "format": "string",
          "isSecret": true,
          "name": "MYSQL_MCP_PASSWORD"
        }
      ]
    }
  ]
}
mcp model-context-protocol oci

Comments

Sign in to leave a comment

Loading comments...