Labsco
benborla logo

MySQL

โ˜… 1,900

from benborla

Access MySQL databases to inspect schemas and execute SQL queries via a NodeJS-based server.

๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅ๐Ÿ”ฅโœ“ VerifiedFreeNeeds API keys

MCP Server for MySQL

Sponsor โ€” Bloome

Using mcp-server-mysql to let your AI query MySQL? Bloome brings that to your whole team โ€” an AI-agent IM platform where AI agents are members of the chat. Connect your MCP tools and have agents inspect schemas, run queries, and answer data questions for everyone in one thread. Zero local setup, runs in the cloud, on web and mobile.

MCP server that gives Claude and other LLMs access to MySQL โ€” inspect schemas, run queries, and optionally write data, all through the Model Context Protocol.

Key Features

  • Read-only by default โ€” write operations opt-in via env flags

  • Claude Code integration โ€” optimized for Anthropic's Claude Code CLI

  • SSH tunnel support โ€” built-in support for remote databases

  • Multi-DB mode โ€” query across multiple databases without reconnecting

  • Schema-specific permissions โ€” per-database read/write control

  • PII redaction โ€” automatic masking of sensitive data in results

  • Remote mode โ€” HTTP transport with bearer token auth

  • SSL/TLS support โ€” encrypted connections with mTLS option

Documentation

Tools & Resources

Tool: mysql_query Execute SQL queries. Read-only by default. Write operations enabled per flag.

Resources: mysql://tables Lists all tables and column metadata for the connected database.

Contributing

PRs welcome at github.com/benborla/mcp-server-mysql.

Copy & paste โ€” that's it
git clone https://github.com/benborla/mcp-server-mysql.git
pnpm install
pnpm run build
pnpm test

License

MIT โ€” see LICENSE for details.