Skip to main content
AllMCPs
BrowseBestCategoriesStackCompareToolsGuidesBlog
Log in Submit MCP

Stay in the loop

Get new MCP servers and top picks in your inbox.

AllMCPs

The open directory for discovering and installing Model Context Protocol servers.

AllMCPs on GitHub (opens in a new tab)
Launched onTiny Startupstinystartups.com
Explore
  • Browse servers
  • Best MCP servers
  • Categories
  • MCP clients
  • Agent prompts
  • Stack Builder
  • Compare servers
  • Random discovery New
  • Submit a server
  • Pricing & Boost Boost
Learn
  • Guides hub
  • What is MCP?
  • Install guide
  • Build an MCP server
  • Deploy an MCP server
  • Security guide
  • Troubleshooting
  • MCP for SEO & AEO
  • Protocol versioning
  • Blog & updates
Tools
  • All developer tools
  • Config generator
  • Config validator
  • Config auditor
  • MCP playground
  • Token calculator
  • OpenAPI β†’ MCP
  • Badge generator
For agents
  • REST API docs
  • Trust & traffic Live
  • Remote MCP server SSE β†— (opens in a new tab)
  • llms.txt β†— (opens in a new tab)
  • Catalog JSON β†— (opens in a new tab)
Company
  • About
  • Advertise Sponsor
  • Contact
  • GitHub β†— (opens in a new tab)
  • Terms
  • Privacy
AllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZoneAllMCPs VerifiedAllMCPs VerifiedFeatured on Nick LaunchesFeatured on Nick LaunchesLaunch Llama NewsletterLaunch Llama NewsletterVerified DR - allmcps.comVerified DR - allmcps.comFeatured on SaaSGrowFeatured on SaaSGrowFeatured on Twelve ToolsFeatured on Twelve ToolsFeatured on Saaspa.geFeatured on Saaspa.geFeatured on Findly.toolsFeatured on Findly.toolsFeatured on Startup FameFeatured on Startup FameFeatured on LaunchKiwiFeatured on LaunchKiwiFeatured on ScrollLaunchFeatured on ScrollLaunchFeatured on DailyPingsFeatured on DailyPingsFazier badgeFazier badgeFeatured on NewTool.siteFeatured on NewTool.siteFeatured on saasfame.comFeatured on saasfame.comDR Checker - Domain RatingDR Checker - Domain RatingListed on Turbo0Listed on Turbo0Launched on LaunchBoard - Product Launch PlatformLaunched on LaunchBoard - Product Launch PlatformList on SimilarlabsList on Similarlabshttps://codetrendy.comhttps://codetrendy.comListed on DevTool.ioFeatured on BuildlistFeatured on BuildlistLaunched on Tiny StartupsFeatured on ShowMeBestAIFeatured on ShowMeBestAIFind us on LaunchZoneFind us on LaunchZone
Β© 2026 Jackalope Digital LLC. All rights reserved.
  1. Home
  2. πŸ—„οΈ Databases
  3. MCP Mysql Server
MCP Mysql Server logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 5:17:38 PM

MCP Mysql Server

User RatingsBe the first to rate and review this MCP server!
View Repository168 GitHub StarsTotal stargazers on GitHub for the source repository (168 stars).Visit Website
mysqldatabasesqldeveloper-tools

Connects MCP clients to MySQL for parameterized queries, data changes, table listing, and schema inspection.

Quick Install

Automated & IDE Setup

Copy the AI prompt to install this server into Claude Code, Cursor, or another agent β€” or use 1-click editor setup below.

Add to CursorAdd to VS Code
Not yet automatically verified

We haven't yet run this listing's install command through our automated sandbox check. This isn't a red flag β€” we're steadily working through the catalog.

Manual Client & Custom JSON ConfigExpand JSON β–Ύ

Client Config & Setup

Choose your client or environment
Target File:~/Library/Application Support/Claude/claude_desktop_config.json
claude_desktop_config.json
{
  "mcpServers": {
    "f4ww4z-mcp-mysql-server": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli"
      ]
    }
  }
}

πŸ’‘ Paste the JSON block into your client's configuration file under mcpServers, then restart the application.

Install Directory Badge Claim listing AlternativesπŸ—„οΈ More in Databases

Overview

The f4ww4z/mcp-mysql-server MCP server exposes MySQL database operations through MCP tools. It connects using either a MySQL connection URI or separate host, user, password, and database settings. Available operations include SELECT queries, INSERT/UPDATE/DELETE statements, table listing, and table structure inspection, with prepared statement parameters supported for SQL operations. Reach for it when an MCP-compatible client needs controlled access to a MySQL database.

Use cases

β€’Query MySQL records from an MCP client
β€’Insert, update, or delete database rows
β€’List tables in a connected database
β€’Inspect MySQL table structures

Key features

β€’Parameterized SELECT queries
β€’INSERT, UPDATE, and DELETE execution
β€’Table listing and schema inspection
β€’MySQL URI or environment-based configuration
β€’Prepared statement support
β€’Automatic connection cleanup

Capabilities & Tool Schemas

Inspect callable tools, capabilities, and parameters exposed to AI agents by MCP Mysql Server.

Extracted Tool Capabilities
Parameterized SELECT queries
INSERT, UPDATE, and DELETE execution
Table listing and schema inspection
MySQL URI or environment-based configuration
Prepared statement support
Automatic connection cleanup

How MCP Mysql Server works

What f4ww4z/mcp-mysql-server MCP server does

The f4ww4z/mcp-mysql-server MCP server gives AI models a standardized MCP interface for working with a MySQL database. It supports establishing a database connection, reading data with SELECT statements, changing data with INSERT, UPDATE, or DELETE statements, listing tables, and inspecting an individual table's structure.

The project is implemented for Node.js and includes TypeScript support. It is intended for use from MCP clients such as Claude Desktop, with configuration examples also provided for Codex on macOS and Windows.

How it works

The client starts the server with npx and supplies database connection details. Configuration can use a single MySQL URI, such as a connection string containing the user, password, host, port, and database name. Alternatively, the settings can be supplied through MYSQL_HOST, MYSQL_USER, MYSQL_PASSWORD, and MYSQL_DATABASE environment variables.

After the server has access to the database, the client can call these tools:

  • connect_db establishes a connection using supplied credentials.
  • query runs SELECT statements and accepts optional prepared-statement parameters.
  • execute runs INSERT, UPDATE, or DELETE statements with optional parameters.
  • list_tables returns the tables in the connected database.
  • describe_table reports the structure of a named table.

The query and execute examples use ? placeholders with a separate params array. The project describes automatic connection management and cleanup, along with validation and error messages for connection failures, invalid queries, missing parameters, and database errors.

Setup and configuration

Install or run the package with the Node package runner:

Terminal
npx -y @f4ww4z/mcp-mysql-server

An MCP configuration can pass the connection URI as an argument:

config.json
{
  "command": "npx",
  "args": ["-y", "@f4ww4z/mcp-mysql-server", "mysql://user:password@localhost:3306/database"]
}

The alternative environment-based configuration passes the package without a URI and defines the four MySQL variables in the MCP server's env section. Replace the example credentials and database values with the target database's actual settings. The README also documents this package in Claude Desktop configuration and in Codex configuration files.

Tools and capabilities

The f4ww4z/mcp-mysql-server MCP server provides database access at the level of explicit MCP tool calls rather than a separate application interface. Its documented capabilities include:

  • Running parameterized read queries.
  • Running parameterized data modification statements.
  • Connecting with supplied MySQL credentials.
  • Enumerating tables in the active database.
  • Inspecting a selected table's columns and structure.
  • Handling passwords through environment variables.

Prepared statements are documented as a measure against SQL injection. Connections are automatically closed when finished, according to the project documentation.

Limitations and notes

The supplied material documents MySQL support only. It does not specify support for other database engines, migrations, transactions, stored procedures, or administrative operations. The execute tool is described for INSERT, UPDATE, and DELETE statements; other SQL statement types should not be assumed to be supported.

Database credentials and connection details must be supplied by the operator. The README shows both URI-based and environment-variable-based configuration, but it does not describe a built-in credential store or OAuth flow. The project is released under the MIT license.

Read the full README β†’View source on GitHub β†’

Related MCP Servers

View all in Databases View all alternatives
  • Mysql MCP Server Pro logoMysql MCP Server Pro

    Supports SSE, STDIO; not only limited to MySQL's CRUD functionality; also includes database exception analysis capabilities; controls database permissions based on roles; and makes it easy for developers to extend tools with customization

    πŸ—„οΈ Databases2 views
    Compare vs Mysql MCP Server Pro β†’
  • Mysql MCP Server logoMysql MCP Server

    MySQL database integration with configurable access controls, schema inspection, and comprehensive security guidelines

    πŸ—„οΈ Databases3 views
    Compare vs Mysql MCP Server β†’
  • MCP Server Mysql logoMCP Server Mysql

    MySQL database integration in NodeJS with configurable access controls and schema inspection

    πŸ—„οΈ Databases3 views
    Compare vs MCP Server Mysql β†’
  • Mysql MCP Server logoMysql MCP Server

    A – user-friendly read-only mysql mcp server for cursor and n8n...

    πŸ—„οΈ Databases3 views
    Compare vs Mysql MCP Server β†’

Adoption & maintenance

Factual signals from GitHub, npm, and our automated checks β€” not a rating.

GitHub stars
168
Stargazers on the source repository.
npm downloads
30k
Package downloads in the last 30 days.
Last commit
10mo ago
Most recent push to the default branch.
Directory activity
5 views
Config copies, upvotes, and views on AllMCPs.

Reviews

No reviews yet β€” be the first to share how this listing worked for you.

Frequently Asked Questions about MCP Mysql Server

Run `npx -y @f4ww4z/mcp-mysql-server`, or add that command and package to an MCP client configuration.

AllMCPs Directory Badge

Full Badge Customizer

Showcase your server listing on GitHub or your project documentation. Embed this dynamic SVG badge to highlight official listing status and live engagement.

Badge Style:
Live Dynamic SVG PreviewMCP Mysql Server AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/f4ww4z-mcp-mysql-server?style=directory)](https://allmcps.com/mcp/f4ww4z-mcp-mysql-server)
HTML Embed
<a href="https://allmcps.com/mcp/f4ww4z-mcp-mysql-server"><img src="https://allmcps.com/api/badge/f4ww4z-mcp-mysql-server?style=directory" alt="MCP Mysql Server on AllMCPs" /></a>

Technical Specs & Signals

CategoryπŸ—„οΈDatabases
PricingFree
More technical detailsExpand β–Ύ
TransportSTDIO
RuntimeNode.js
AuthOther
LicenseMIT
ClientsClaude Desktop
Last updatedSep 2, 2026
10/10 checks healthy over the last 31d
Views5
Unique ViewsTotal visits recorded for this listing page on AllMCPs.
Installs0
Installs & Copy ActionsTotal times users copied install commands or configuration snippets for this server.
GitHub stars168
GitHub Star CountTotal stargazers on GitHub representing community popularity (168 stars).
Last commit10mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Nov 14, 2025
npm downloads30,651/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
48Quality signal: Fair Β· 48/100How this signal is calculated β–Ύ
Server availabilityNot measured

Not scored for repo-hosted servers β€” we can't reach the running server, only its GitHub page. Hosted MCP endpoints are health-checked live.

Verified ownership10/20
Documentation & tools17/30
Adoption & activity8/15
Community engagement1/10

A guidance signal from public completeness & health data β€” not a user rating. New listings start lower and rise as they add docs, get verified, and grow adoption. Signals we can't observe for a listing are skipped, not counted against it.

Supply-chain signal

No high-severity advisories surfaced by our automated scan.

Critical 0High 0Medium 0Low 0

Scanned 19d ago via OSV.dev Β· @smithery/cli (npm)

β˜… Spotlight Slot

Feature Your MCP Server

Get maximum visibility for your server across our directory, search results, and detail pages.

Spotlight Your Server

Own this project?

This directory is pre-filled from public sources. Claim via GitHub README, site badge, or DNS TXT to unlock edit access and the Official badge β€” proof is checked automatically, then reviewed by our team.

Free dofollow backlink: add your website and place the AllMCPs badge on it β€” no claim needed. We detect it automatically and keep it verified as long as the badge stays live.

Claim & get free dofollow

Share & Embed

Add our SVG badge (dark/light directory styles) or embeddable widget to your site.

Explore more

More in πŸ—„οΈ Databases β†’Best MCP servers for Databases β†’Alternatives to MCP Mysql Server β†’Install in Claude DesktopInstall in CursorInstall in VS Code