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 Server Mysql
MCP Server Mysql logo
Health: ActiveRecent health check succeeded.Last checked 9/9/2026, 1:47:57 PM

MCP Server Mysql

User RatingsBe the first to rate and review this MCP server!
View Repository2.1k GitHub StarsTotal stargazers on GitHub for the source repository (2,110 stars).Visit Website
mysqldatabasesqlmcp

Connects AI clients to MySQL for schema inspection and SQL queries, with opt-in writes and configurable database access controls.

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": {
    "benborla29-mcp-server-mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@benborla29/mcp-server-mysql"
      ]
    }
  }
}

๐Ÿ’ก 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

Connects MySQL to AI clients through the benborla29/mcp-server-mysql MCP server, exposing SQL execution and table metadata over MCP. It runs as a Node.js process, uses environment variables for database connection settings, and defaults to read-only operation. Reach for it when an agent needs to inspect schemas or query MySQL, including databases accessed through SSH tunnels or multiple configured database connections. Remote HTTP operation, bearer authentication, TLS, schema permissions, and PII redaction are also supported.

Use cases

โ€ขQuery MySQL data from Claude Code
โ€ขInspect tables and columns before generating SQL
โ€ขRestrict agents to read-only database access
โ€ขEnable selected write operations for controlled workflows
โ€ขQuery multiple MySQL databases through one MCP connection

Key features

โ€ขRead-only SQL access by default
โ€ขSchema and column metadata resource
โ€ขOpt-in insert, update, and delete permissions
โ€ขMulti-database and SSH tunnel support
โ€ขPII redaction for query results
โ€ขTLS and remote HTTP transport options

Capabilities & Tool Schemas

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

Extracted Tool Capabilities
Read-only SQL access by default
Schema and column metadata resource
Opt-in insert, update, and delete permissions
Multi-database and SSH tunnel support
PII redaction for query results
TLS and remote HTTP transport options

How MCP Server Mysql works

What the benborla29/mcp-server-mysql MCP server does

The benborla29/mcp-server-mysql MCP server connects MCP-compatible AI clients to a MySQL database. It exposes a SQL query tool named mysql_query and a mysql://tables resource that returns table and column metadata for the connected database.

Queries are read-only by default. Insert, update, and delete operations can be enabled independently through environment variables, allowing an operator to keep an installation read-only or grant only the write operations it needs. The server also supports per-database read and write permissions in multi-database configurations.

This is intended for MySQL 5.7 or later, with MySQL 8.0 or later recommended. The runtime requirement is Node.js 20 or newer.

How it works

The benborla29/mcp-server-mysql MCP server runs locally as an MCP process for clients such as Claude Desktop or Claude Code. The client starts the process and passes connection settings through environment variables. An AI agent can then call mysql_query to execute SQL or read the table metadata resource to understand the available schema.

Multi-database mode allows queries across multiple databases without reconnecting. The project also includes SSH tunnel support for reaching remote databases. Connections can use SSL/TLS, including a mutual TLS option. For deployments that should not run as a local stdio process, the server provides an HTTP transport with bearer-token authentication.

Results can be configured for automatic PII masking. This is useful when query output may contain sensitive values, but the specific redaction configuration should be reviewed before using the server with production data.

Setup and configuration

Install and run the package with Node.js 20 or newer. A basic configuration supplies the MySQL host, port, username, password, and database name through MYSQL_HOST, MYSQL_PORT, MYSQL_USER, MYSQL_PASS, and MYSQL_DB.

Write access is not enabled by the default configuration. Set ALLOW_INSERT_OPERATION=true, ALLOW_UPDATE_OPERATION=true, or ALLOW_DELETE_OPERATION=true to permit the corresponding operation. These flags can be enabled separately rather than granting all write access at once.

The README provides configuration guidance for Claude Code and Claude Desktop, as well as documentation for Cursor, Codex, local repository use, remote mode, multi-database operation, TLS, SSH tunnels, and PII redaction. The MySQL account must have privileges appropriate to the operations the server is expected to perform.

Tools and capabilities

The primary MCP tool is:

  • mysql_query: executes SQL against the configured MySQL connection. Read operations work by default; write operations depend on the relevant permission flags.

The available resource is:

  • mysql://tables: lists tables and column metadata for the connected database.

Additional supported capabilities include multiple database connections, schema-specific access controls, SSH tunnels, SSL/TLS connections, optional mutual TLS, HTTP transport with bearer authentication, and automatic masking of sensitive data in query results.

Limitations and notes

The benborla29/mcp-server-mysql MCP server requires a reachable MySQL installation and a user with suitable privileges; it does not provide a database itself. The supplied connection details and enabled write flags determine what an agent can access or change. Because SQL execution is exposed to the MCP client, operators should limit database privileges and review write settings before connecting it to production data.

The README identifies Claude Code as an optimized integration and gives a Claude Desktop configuration. Other client support depends on MCP client compatibility and the configuration method documented by the project.

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 โ†’
  • Go MCP Mysql logoGo MCP Mysql

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

    ๐Ÿ—„๏ธ Databases2 views
    Compare vs Go MCP Mysql โ†’
  • MCP Mysql Server logoMCP Mysql Server

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

    ๐Ÿ—„๏ธ Databases5 views
    Compare vs MCP Mysql Server โ†’
  • 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 โ†’

Adoption & maintenance

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

GitHub stars
2.1k
Stargazers on the source repository.
npm downloads
54k
Package downloads in the last 30 days.
Last commit
1mo ago
Most recent push to the default branch.
Directory activity
3 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 Server Mysql

Run it with Node.js 20 or newer using `npx -y @benborla29/mcp-server-mysql`, then provide the MySQL connection environment variables.

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 Server Mysql AllMCPs Directory Badge
Markdown (GitHub README)
[![AllMCPs](https://allmcps.com/api/badge/benborla29-mcp-server-mysql?style=directory)](https://allmcps.com/mcp/benborla29-mcp-server-mysql)
HTML Embed
<a href="https://allmcps.com/mcp/benborla29-mcp-server-mysql"><img src="https://allmcps.com/api/badge/benborla29-mcp-server-mysql?style=directory" alt="MCP Server Mysql on AllMCPs" /></a>

Technical Specs & Signals

Category๐Ÿ—„๏ธDatabases
PricingFree
More technical detailsExpand โ–พ
TransportSTDIO
RuntimeNode.js
AuthOther
LicenseMIT
ClientsClaude Desktop, Cursor
Last updatedSep 7, 2026
10/10 checks healthy over the last 32d
Views3
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 stars2,110
GitHub Star CountTotal stargazers on GitHub representing community popularity (2,110 stars).
Last commit1mo ago
Last Repository CommitThe most recent commit or push recorded for this server's GitHub repository.Last commit on Jul 27, 2026
npm downloads54,782/mo
Monthly npm DownloadsAverage monthly package installs recorded from npm registry statistics.
52Quality signal: Good ยท 52/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 & activity12/15
Community engagement0/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 21d ago via OSV.dev ยท @benborla29/mcp-server-mysql (npm)

โ˜… FeaturedMoxie Docs MCP logo

Moxie Docs MCP

MCP & Agent Skills for Automated Documentation, and codebase conventions + context

Explore 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 Server Mysql โ†’Install in Claude DesktopInstall in CursorInstall in VS Code