Back to MCP Servers

Go Mcp Mysql

Easy to use, zero dependency MySQL MCP server built with Golang with configurable readonly mode and schema inspection.

databasesgomysql
By Zhwt

Installation

npx -y go-mcp-mysql

Configuration

{
  "mcpServers": {
    "go-mcp-mysql": {
      "command": "npx",
      "args": ["-y", "go-mcp-mysql"]
    }
  }
}

How to use

  1. Run the installation command above (if needed)
  2. Open your Claude Code settings file (~/.claude/settings.json)
  3. Add the configuration to the mcpServers section
  4. Restart Claude Code to apply changes
View source on GitHub