
Mysql
Let your coding agent query and manage a MySQL database from Claude Code or Cursor without writing ad-hoc scripts for every schema check.
Overview
io.github.marcelo-ochoa/mysql is a MCP server for the Build phase that lets coding agents interact with MySQL databases over stdio using a connection string and standard MCP tooling.
What is this MCP server?
- Stdio MCP transport via npm package @marcelo-ochoa/server-mysql (v1.0.7)
- Positional MySQL connection string plus MYSQL_USER and MYSQL_PASSWORD environment variables
- Exposes MySQL interaction to MCP-compatible agents for schema exploration and SQL execution
- Published from marcelo-ochoa/servers monorepo subfolder src/mysql
- Secret-aware password configuration for safer local and CI agent setups
- Package version 1.0.7 on npm as @marcelo-ochoa/server-mysql
- Stdio transport with one positional connectionString argument
- Two documented environment variables: MYSQL_USER and MYSQL_PASSWORD (secret)
What problem does it solve?
Switching between your agent and a separate MySQL client slows schema checks, one-off queries, and backend debugging during a solo build sprint.
Who is it for?
Indie builders using Claude Code or Cursor who already run MySQL locally or on a VPS and want the agent to read schema and run SQL with explicit credentials.
Skip if: Teams that need managed cloud provisioning, audited production write access, or a migration framework without any database MCP client.
What do I get? / Deliverables
After you register the server, your agent can reach MySQL through MCP so data questions and integration work stay inside the same coding session.
- MCP-registered MySQL bridge for your coding agent
- Agent-driven schema inspection and SQL execution against your database
- Repeatable stdio server setup from the published npm package
Recommended MCP Servers
Journey fit
Database MCP servers land on the Build shelf because solo builders wire data layers and debug queries while shipping features, not during pure ideation. Integrations is the right subphase: this server is an agent-to-MySQL bridge, alongside other MCP connectors rather than frontend or docs work.
How it compares
MCP database integration for agents, not a standalone SQL skill or schema-design playbook.
Common Questions / FAQ
Who is io.github.marcelo-ochoa/mysql for?
It is for solo builders and small teams who use MCP-capable coding agents and need direct MySQL access from the editor during backend and integration work.
When should I use io.github.marcelo-ochoa/mysql?
Use it while building or debugging features that depend on MySQL—exploring tables, validating queries, or pairing agent-driven code changes with live dev data.
How do I add io.github.marcelo-ochoa/mysql to my agent?
Add an MCP server entry for @marcelo-ochoa/server-mysql with stdio transport, supply the MySQL connection string argument, and set MYSQL_USER and MYSQL_PASSWORD in your client config.