Back to MCP Servers
🔌

f4ww4z/mcp-mysql-server

MITAPI key required

📇 🏠 - Node.js-based MySQL database integration that provides secure MySQL database operations

JavaScriptDatabases

Install

npx -y -y @smithery/cli

Required environment variables

OPENAI_API_KEYSet in your MCP config

claude_desktop_config.json

claude_desktop_config.json
{
  "mcpServers": {
    "f4ww4z-mcp-mysql-server": {
      "command": "npx",
      "args": [
        "-y",
        "-y",
        "@smithery/cli"
      ],
      "env": {
        "OPENAI_API_KEY": "<YOUR_OPENAI_API_KEY>"
      }
    }
  }
}

Add this to your Claude Desktop config file. Find it at ~/Library/Application Support/Claude/claude_desktop_config.json on macOS.

What this does

f4ww4z/mcp-mysql-server exposes a set of tools to Claude over the Model Context Protocol. After you add it to claude_desktop_config.json (snippet above) and restart Claude Desktop, those tools become callable inside any conversation. That makes it useful when you want Claude to reach into your databases without copy-pasting context every turn.

Requirements

This server needs the following environment variables to be set before it can run:

OPENAI_API_KEY

Set these via the env object in your MCP config (see claude_desktop_config.json snippet above).

Common use cases

  • Query structured data without writing SQL by hand
  • Let Claude read table schemas before answering data questions
  • Run read-only operational reports or sanity checks during incidents