Enterprise DNA
M MCP Servers Developer low

f4ww4z/mcp-mysql-server

by Various

A Model Context Protocol server for MySQL database operations

F

MCP

f4ww4z/mcp-mysql-server

Added 1 June 2026

Overview

An open-source Model Context Protocol server that enables AI assistants to perform MySQL database operations. It exposes database queries and commands as MCP tools, allowing language models to read, write, and manage MySQL data through a standardized interface.

Best for

Best for
Developers building AI agents or assistants that need to interact with MySQL databases

Use cases

  • Query MySQL databases from AI chat interfaces
  • Automate database maintenance tasks via AI agents
  • Integrate MySQL data access into MCP-compatible workflows

How to use

Install

npx @f4ww4z/mcp-mysql-server

Tools exposed

  • connect_db
  • query
  • execute
  • list_tables
  • describe_table

Tested with

Claude Desktop

Example client config

{\n  "mcpServers": {\n    "mysql": {\n      "command": "npx",\n      "args": ["-y", "@f4ww4z/mcp-mysql-server", "mysql://user:password@localhost:port/database"],\n    }\n  }\n}

Notes

An open-source Model Context Protocol server that enables AI assistants to perform MySQL database operations. It exposes database queries and commands as MCP tools, allowing language models to read, write, and manage MySQL data through a standardized interface.

161 stars on GitHub. Last updated 2025-11-14. Licensed MIT.

Use cases

  • Query MySQL databases from AI chat interfaces
  • Automate database maintenance tasks via AI agents
  • Integrate MySQL data access into MCP-compatible workflows

Pros

  • Open source with a permissive license
  • Implements the standard MCP protocol for broad compatibility
  • Lightweight JavaScript implementation easy to deploy

Cons

  • Limited to MySQL databases only
  • Requires running a separate server process
  • Direct database access may pose security risks if not properly scoped

Indexed from awesome-mcp-servers-punkpeye and enriched against its public facts.

Pros

  • Open source with a permissive license
  • Implements the standard MCP protocol for broad compatibility
  • Lightweight JavaScript implementation easy to deploy

Cons

  • Limited to MySQL databases only
  • Requires running a separate server process
  • Direct database access may pose security risks if not properly scoped
Free 27-page guide

Get the free Developer’s Field Guide

A 27-page field guide to the AI coding workflow with Claude. Claude Code, MCP servers, the prompt patterns that work, and what to delegate. Free.

Enter your work email. We send it straight over, plus a few short notes worth knowing. Unsubscribe any time.

No spam. Unsubscribe any time.

Running a business, not writing the code? See the MCP servers picked for operators, and get your first one wired up with us.

Operator picks