{
  "$schema": "https://mcpkg.dev/schemas/install-manifest/v1.json",
  "name": "io.github.Rufflet/mysql-legacy-mcp",
  "slug": "io.github.rufflet.mysql-legacy-mcp",
  "title": "MySQL Legacy MCP",
  "summary": "Inspect and query MySQL 5.0–5.6; opt-in INSERT/UPDATE/DELETE/DDL.",
  "version": "0.2.1",
  "serverKey": "mysql-legacy-mcp",
  "pageUrl": "https://mcpkglabs.com/tool/io.github.rufflet.mysql-legacy-mcp",
  "installMdUrl": "https://mcpkglabs.com/tool/io.github.rufflet.mysql-legacy-mcp/install.md",
  "trust": {
    "score": 89,
    "grade": "A",
    "smokeStatus": "works",
    "status": "active",
    "verifiedAt": "2026-12-02T08:27:10.724538233Z"
  },
  "methods": [
    {
      "id": "npm",
      "label": "npm (npx)",
      "transport": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "mysql-legacy-mcp@0.2.1"
      ],
      "clients": [
        {
          "client": "claude-code",
          "label": "Claude Code",
          "kind": "cli",
          "content": "claude mcp add mysql-legacy-mcp -e 'MYSQL_LEGACY_HOST=<MYSQL_LEGACY_HOST>' -e 'MYSQL_LEGACY_PASSWORD=<MYSQL_LEGACY_PASSWORD>' -e 'MYSQL_LEGACY_USER=<MYSQL_LEGACY_USER>' -- npx -y mysql-legacy-mcp@0.2.1"
        },
        {
          "client": "claude-desktop",
          "label": "Claude Desktop",
          "kind": "json",
          "location": "claude_desktop_config.json",
          "content": "{\n  \"mcpServers\": {\n    \"mysql-legacy-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mysql-legacy-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MYSQL_LEGACY_HOST\": \"<MYSQL_LEGACY_HOST>\",\n        \"MYSQL_LEGACY_PASSWORD\": \"<MYSQL_LEGACY_PASSWORD>\",\n        \"MYSQL_LEGACY_USER\": \"<MYSQL_LEGACY_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "cursor",
          "label": "Cursor",
          "kind": "json",
          "location": "~/.cursor/mcp.json",
          "content": "{\n  \"mcpServers\": {\n    \"mysql-legacy-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mysql-legacy-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MYSQL_LEGACY_HOST\": \"<MYSQL_LEGACY_HOST>\",\n        \"MYSQL_LEGACY_PASSWORD\": \"<MYSQL_LEGACY_PASSWORD>\",\n        \"MYSQL_LEGACY_USER\": \"<MYSQL_LEGACY_USER>\"\n      }\n    }\n  }\n}"
        },
        {
          "client": "vscode",
          "label": "VS Code",
          "kind": "json",
          "location": ".vscode/mcp.json",
          "content": "{\n  \"inputs\": [\n    {\n      \"description\": \"MYSQL_LEGACY_HOST\",\n      \"id\": \"mysql-legacy-host\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"MYSQL_LEGACY_PASSWORD\",\n      \"id\": \"mysql-legacy-password\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    },\n    {\n      \"description\": \"MYSQL_LEGACY_USER\",\n      \"id\": \"mysql-legacy-user\",\n      \"password\": true,\n      \"type\": \"promptString\"\n    }\n  ],\n  \"servers\": {\n    \"mysql-legacy-mcp\": {\n      \"args\": [\n        \"-y\",\n        \"mysql-legacy-mcp@0.2.1\"\n      ],\n      \"command\": \"npx\",\n      \"env\": {\n        \"MYSQL_LEGACY_HOST\": \"${input:mysql-legacy-host}\",\n        \"MYSQL_LEGACY_PASSWORD\": \"${input:mysql-legacy-password}\",\n        \"MYSQL_LEGACY_USER\": \"${input:mysql-legacy-user}\"\n      },\n      \"type\": \"stdio\"\n    }\n  }\n}"
        },
        {
          "client": "codex",
          "label": "Codex CLI",
          "kind": "toml",
          "location": "~/.codex/config.toml",
          "content": "[mcp_servers.mysql-legacy-mcp]\ncommand = \"npx\"\nargs = [\"-y\", \"mysql-legacy-mcp@0.2.1\"]\nenv = { \"MYSQL_LEGACY_HOST\" = \"<MYSQL_LEGACY_HOST>\", \"MYSQL_LEGACY_PASSWORD\" = \"<MYSQL_LEGACY_PASSWORD>\", \"MYSQL_LEGACY_USER\" = \"<MYSQL_LEGACY_USER>\" }"
        }
      ],
      "requires": [
        "Node.js 18+"
      ]
    }
  ],
  "env": [
    {
      "name": "MYSQL_LEGACY_HOST",
      "required": true,
      "secret": false,
      "description": "Database host or local tunnel endpoint",
      "help": "Database host or local tunnel endpoint",
      "placeholder": "<MYSQL_LEGACY_HOST>"
    },
    {
      "name": "MYSQL_LEGACY_USER",
      "required": true,
      "secret": false,
      "description": "Dedicated database reader account",
      "help": "Dedicated database reader account",
      "placeholder": "<MYSQL_LEGACY_USER>"
    },
    {
      "name": "MYSQL_LEGACY_PASSWORD",
      "required": true,
      "secret": true,
      "description": "Nonempty database account password",
      "help": "Nonempty database account password",
      "placeholder": "<MYSQL_LEGACY_PASSWORD>"
    },
    {
      "name": "MYSQL_LEGACY_PORT",
      "required": false,
      "secret": false,
      "description": "TCP port, 1–65535",
      "help": "TCP port, 1–65535",
      "default": "3306",
      "placeholder": "3306"
    },
    {
      "name": "MYSQL_LEGACY_DATABASE",
      "required": false,
      "secret": false,
      "description": "Optional default database",
      "help": "Optional default database",
      "placeholder": "<MYSQL_LEGACY_DATABASE>"
    },
    {
      "name": "MYSQL_LEGACY_HIDE_SYSTEM_DATABASES",
      "required": false,
      "secret": false,
      "description": "Hide mysql and information_schema from listings",
      "help": "Hide mysql and information_schema from listings",
      "default": "true",
      "placeholder": "true"
    },
    {
      "name": "MYSQL_LEGACY_QUERY_TIMEOUT",
      "required": false,
      "secret": false,
      "description": "Driver query timeout, 100–60000 milliseconds",
      "help": "Driver query timeout, 100–60000 milliseconds",
      "default": "10000",
      "placeholder": "10000"
    },
    {
      "name": "MYSQL_LEGACY_MAX_ROWS",
      "required": false,
      "secret": false,
      "description": "SELECT response row limit, 1–1000",
      "help": "SELECT response row limit, 1–1000",
      "default": "200",
      "placeholder": "200"
    },
    {
      "name": "MYSQL_LEGACY_MAX_RESULT_BYTES",
      "required": false,
      "secret": false,
      "description": "SELECT row-data JSON byte limit, 1024–1048576",
      "help": "SELECT row-data JSON byte limit, 1024–1048576",
      "default": "262144",
      "placeholder": "262144"
    },
    {
      "name": "MYSQL_LEGACY_CONNECT_TIMEOUT",
      "required": false,
      "secret": false,
      "description": "Connection-establishment timeout, 100–60000 milliseconds",
      "help": "Connection-establishment timeout, 100–60000 milliseconds",
      "default": "10000",
      "placeholder": "10000"
    },
    {
      "name": "MYSQL_LEGACY_POOL_SIZE",
      "required": false,
      "secret": false,
      "description": "Pooled connection limit, 1–50",
      "help": "Pooled connection limit, 1–50",
      "default": "5",
      "placeholder": "5"
    },
    {
      "name": "MYSQL_LEGACY_ALLOW_INSERT",
      "required": false,
      "secret": false,
      "description": "Enable the mysql_legacy_insert tool",
      "help": "Enable the mysql_legacy_insert tool",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "MYSQL_LEGACY_ALLOW_UPDATE",
      "required": false,
      "secret": false,
      "description": "Enable the mysql_legacy_update tool (WHERE clause always required)",
      "help": "Enable the mysql_legacy_update tool (WHERE clause always required)",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "MYSQL_LEGACY_ALLOW_DELETE",
      "required": false,
      "secret": false,
      "description": "Enable the mysql_legacy_delete tool (WHERE clause always required)",
      "help": "Enable the mysql_legacy_delete tool (WHERE clause always required)",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "MYSQL_LEGACY_ALLOW_DDL",
      "required": false,
      "secret": false,
      "description": "Enable the mysql_legacy_ddl tool (table-level statements only)",
      "help": "Enable the mysql_legacy_ddl tool (table-level statements only)",
      "default": "false",
      "placeholder": "false"
    },
    {
      "name": "MYSQL_LEGACY_DISABLE_READ_ONLY_TRANSACTIONS",
      "required": false,
      "secret": false,
      "description": "Disable the read-only transaction wrap around mysql_legacy_select on MySQL 5.6.5+",
      "help": "Disable the read-only transaction wrap around mysql_legacy_select on MySQL 5.6.5+",
      "default": "false",
      "placeholder": "false"
    }
  ],
  "expectedTools": [
    "mysql_legacy_ping",
    "mysql_legacy_select",
    "mysql_legacy_insert",
    "mysql_legacy_update",
    "mysql_legacy_delete",
    "mysql_legacy_ddl",
    "mysql_legacy_list_databases",
    "mysql_legacy_list_tables",
    "mysql_legacy_describe_table",
    "mysql_legacy_show_create_table",
    "mysql_legacy_list_indexes"
  ],
  "agentSteps": [
    "Ask the user for: MYSQL_LEGACY_HOST, MYSQL_LEGACY_USER, MYSQL_LEGACY_PASSWORD. Never invent or guess these values; secrets go into the client config, not into chat logs.",
    "Pick the user's MCP client and apply the matching config from the first install method (it is the one verified by the smoke test when available).",
    "Restart or reload the client so it starts the server.",
    "Verify: the server should expose these tools: mysql_legacy_ping, mysql_legacy_select, mysql_legacy_insert, mysql_legacy_update, mysql_legacy_delete, mysql_legacy_ddl, mysql_legacy_list_databases, mysql_legacy_list_tables, ….",
    "If it fails, check that the required runtime is installed (Node.js 18+) and that the values above are set."
  ],
  "generatedAt": "2026-12-02T08:27:10.724538233Z"
}
