mcpbeat Sign in

Mysql MCP Server

local only

Mysql runs on your own machine — the client starts it, so there is no endpoint to ping. 101 installs a week from npm. Last commit 21 Aug 2026.

An MCP server for MySQL databases.

Installs per day peak 41 · avg 7 · +274% w/w
a month agotoday
101
Installs / week
npm · @marcelo-ochoa/server-mysql
2
Stars
0 open issues
21 Aug 2026
Last commit
no releases in 90 days
MIT
License
TypeScript

What the code does

We read the source, 3 d ago · rules 995398eba69f

Capabilities

What this server is able to do. For an MCP server this is often the job itself — a terminal server runs commands because that is what it is for. Listed so you know what you are plugging in, not as an accusation.

A line of code looks encrypted src/everything/tools/get-tiny-image.ts:6
  "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKsGlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU+kSgOfe9JDQEiIgJfQmSCeAlBBaAAXpYCMkAUKJMRBU7MriClZURLCs6KqIgo0idizYFsWC3QVZBNR1sWDDlXeBQ9jdd9575805c+a7c+efmf+e/z9nLgCdKZDJMlF1gCxpjjwyyI8dn5DIJvUABRiY0kBdIMyWcSMiwgCTUft3+dgGyJC9YzuU69/f/1fREImzh…
Dumps the whole environment src/everything/tools/get-env.ts:34
          text: JSON.stringify(process.env, null, 2),
Long encoded blob in source src/everything/tools/get-tiny-image.ts:6
  "iVBORw0KGgoAAAANSUhEUgAAABQAAAAUCAYAAACNiR0NAAAKsGlDQ1BJQ0MgUHJvZmlsZQAASImVlwdUU+kSgOfe9JDQEiIgJfQmSCeAlBBaAAXpYCMkAUKJMRBU7MriClZURLCs6KqIgo0idizYFsWC3QVZBNR1sWDDlXeBQ9jdd9575805c+a7c+efmf+e/z9nLgCdKZDJMlF1gCxpjjwyyI8dn5DIJvUABRiY0kBdIMyWcSMiwgCTUft3+dgGyJC9YzuU69/f/1fREImzh…
In the project's build, not in the package

Found in continuous integration, deployment or infrastructure files, or in a neighbouring package of the same monorepo. None of this is installed when you add the server: it describes how the project is built and released. We list it because a leaked key in a build pipeline is still a real problem, but it is not something this server does on your machine.

Asks for container control access .devcontainer/docker-compose-local.yml:18
      - /var/run/docker.sock:/var/run/docker.sock

Is this your server and something here is wrong? Tell us — corrections are free and do not require a plan.

This code can reach further than it looks

We found places where it runs commands, builds paths or queries from values it is given. None of that is a flaw by itself — it becomes one when the code changes, and code changes quietly between releases. We re-read it on every one.

Three servers free · no card

Connect this server

This server runs on your own machine — install it with the package manager and the client starts it for you. Package name taken from the official registry entry.

run in your terminal
claude mcp add mysql -- npx -y @marcelo-ochoa/server-mysql
~/Library/Application Support/Claude/claude_desktop_config.json
{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ]
    }
  }
}
~/.codex/config.toml
[mcp_servers.mysql]
command = "npx"
args = ["-y", "@marcelo-ochoa/server-mysql"]
.cursor/mcp.json
{
  "mcpServers": {
    "mysql": {
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ]
    }
  }
}
.vscode/mcp.json
{
  "servers": {
    "mysql": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ]
    }
  }
}

Optional settings from the registry entry, left out of the block above: MYSQL_USER (MySQL username), MYSQL_PASSWORD (MySQL password).

Alternatives to Mysql

same job, measured the same way
P
Postgres Connector
by martymarkenson

MCP server for querying PostgreSQL databases

56 installs/wk local only
MySQL MCP Server
by musaddiq-dev

Python MCP server for MySQL database inspection and querying

104 installs/wk local only
Tmdb MCP Server
by tcehjaava

MCP server for The Movie Database (TMDB) API

76 installs/wk local only
SQL Safe MCP
by proprock

Minimal, read-only, PII-safe MCP server for SQL databases.

211 installs/wk local only
Postgres
by marcelo-ochoa

MCP server for interacting with PostgreSQL databases

105 installs/wk local only
DataLink
by pilat

MCP server for secure database access (PostgreSQL, MySQL, SQLite)

31 installs/wk local only
Oracle
by marcelo-ochoa

MCP server for interacting with Oracle databases

147 installs/wk local only
DB Connect MCP
by yugui923

Multi-database MCP server for PostgreSQL, MySQL, and ClickHouse

667 installs/wk local only

Mysql — questions

Answers built from our own checks of this server.

Why is there no uptime for Mysql?
Mysql runs on your own machine over stdio — there is no network address to reach, so uptime cannot be measured for it by anyone. What can be measured is adoption: the npm package @marcelo-ochoa/server-mysql was installed 101 times last week.
How do I connect Mysql?
Copy the ready config from this page. We generate it for Claude Code, Claude Desktop, Codex, Cursor and VS Code, each in the form that client actually reads. It runs locally, so the command pulls @marcelo-ochoa/server-mysql straight from npm; nothing to host, nothing to sign up for.
How many people use Mysql?
The npm package @marcelo-ochoa/server-mysql was installed 101 times in the last week. Week over week that is +274%. We show installs rather than GitHub stars on purpose: a star is a bookmark, an install is someone actually running it.
Is Mysql open source?
Yes — it is published under the MIT licence, written in TypeScript and 2 stars on GitHub. The source link is on this page, so you can read exactly what it does with your data before you connect it.