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. 38 installs a week from npm. Last commit 21 Aug 2026.

An MCP server for MySQL databases.

Installs per day peak 17 · avg 5 · +121% w/w
a month agotoday
38
Installs / week
npm · @marcelo-ochoa/server-mysql
2
Stars
0 open issues
21 Aug 2026
Last commit
0 releases in 90 days
License
TypeScript

What the code does

We read the source, 19 h ago · rules 3dff92dd89df

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": {
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ],
      "command": "npx"
    }
  }
}
~/.codex/config.toml
[mcp_servers.mysql]
command = "npx"
args = ["-y", "@marcelo-ochoa/server-mysql"]
.cursor/mcp.json
{
  "mcpServers": {
    "mysql": {
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ],
      "command": "npx"
    }
  }
}
.vscode/mcp.json
{
  "mcpServers": {
    "mysql": {
      "args": [
        "-y",
        "@marcelo-ochoa/server-mysql"
      ],
      "command": "npx"
    }
  }
}

This one needs environment variables set before it will start: MYSQL_USER (MySQL username), MYSQL_PASSWORD (MySQL password). The author declared them in the registry entry; get the values from the project itself.

Alternatives to Mysql

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

MCP server for querying PostgreSQL databases

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

Python MCP server for MySQL database inspection and querying

79 installs/wk local only
Tmdb MCP Server
by tcehjaava

MCP server for The Movie Database (TMDB) API

57 installs/wk local only
Postgres
by marcelo-ochoa

MCP server for interacting with PostgreSQL databases

34 installs/wk local only
DataLink
by pilat

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

42 installs/wk local only
Oracle
by marcelo-ochoa

MCP server for interacting with Oracle databases

96 installs/wk local only
DB Connect MCP
by yugui923

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

390 installs/wk local only
MCP Sqlite Tools
by spences10

MCP server for local SQLite database operations

138 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 38 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 with the file path 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 38 times in the last week. Week over week that is +121%. 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?
We cannot say either way: written in TypeScript and 2 stars on GitHub, but we could not determine the licence, and without one the code is not open source by default.