Skip to content
mcp/skillhub

Mysql2 MCP Server

by jcxy

MySQL MCP server that enables AI assistants to interact with MySQL databases. Supports direct connection, SSH tunnel, connection pool, transactions, and security enforcement.

2Node.jsstdio

context tax

pending

security

97/100

cold start

pending

freshness

Active1d ago

Our reading of Mysql2, from the data

Mysql2 is a database MCP server from jcxy.

We haven't measured its tool list yet, so its token cost is unknown.

Maintenance is active: the last public signal was in the last day (2026-10-17). For comparison, 64% of database servers are active or maintained.

With 2 GitHub stars it ranks #467 of 1,397 database servers we index.

It runs locally on your machine over stdio.

Install Mysql2 MCP server

Install in Claude Code

claude mcp add mysql2 -- npx -y mysql2-mcp-server

Security signals

97/100 — no known issues found as of 2026-10-19, from the checks below. This is not a guarantee of safety; review what a server can do before connecting it.

Deductions

  • No security policy (SECURITY.md)-3

Checks

  • ✓Repository hygiene (archived, activity, license, security policy)
  • ○Package metadata (install scripts, provenance) — pending
  • ○Tool descriptions (prompt-injection and hidden-text heuristics) — pending
  • ○Source scan (secrets, CVEs, risky code) by vectra-guard — pending

Scan it yourself before installing with vectra-guard, the open-source agent security CLI. Scoring rules

Freshness

Active — last maintenance signal 1d ago. The newest of the signals below sets the band.

  1. Last commit (default branch)

    2026-10-17 · 1d ago · GitHub

  2. Latest release

    no data · GitHub

  3. Package published

    no data · npm/PyPI

  4. Registry entry updated

    no data · official registry

How it compares in Database

Against the most-starred database servers we index. Token cost is per model turn, measured from each server's live tool list.

ServerStarsToolsTokens / turnFreshnessRuns
Mysql2 (this)2—not measuredActivelocal
Screenpipe21,982—not measuredActive—
Genai Toolbox16,679—not measuredActivehosted
Convex Backend12,716—not measuredActive—
Kubeshark12,100—not measuredActivelocal
Baserow6,174—not measuredActive—
All database MCP servers

FAQ

›How do I install the Mysql2 MCP server in Claude Code?

Run: claude mcp add mysql2 -- npx -y mysql2-mcp-server. For Cursor, VS Code, Claude Desktop and Windsurf, use the install tabs above.

›Does Mysql2 require an API key?

No required environment variables are declared in its published metadata.

›Can I use Mysql2 as a remote (hosted) MCP server?

No hosted endpoint is published; it runs locally over stdio.

›Is Mysql2 in the official MCP registry?

No. It was indexed from npm.

Sources and method

GitHub repository
fetched 2026-10-19
Package registry (npm / PyPI)
listed
Last checked against all sources
2026-10-19

The description, packages and links come from the maintainer's own published metadata. Token cost, security signals, freshness and the reading above are MCPSkillHub's own measurements; see the methodology. Spot an error? Request a correction or claim the listing.

Alternatives to Mysql2

Other database MCP servers.

View all