Submit

MySQL MCP Server

@xiangma9712

a year ago
developer-tools
mcp server accessing MySQL database
Overview

What is MySQL MCP Server?

MySQL MCP Server is a server designed for interacting with MySQL databases, allowing users to execute read-only queries and test write queries that are rolled back.

How to use MySQL MCP Server?

To use the MySQL MCP Server, set up the required environment variables in ~/.mcp/.env, start the server using Docker, and send JSON commands to execute queries.

Key features of MySQL MCP Server?

  • Execute read-only SQL queries.
  • Test SQL queries without making permanent changes.
  • List and describe database tables.
  • Built with TypeScript and runs as a Docker container.

Use cases of MySQL MCP Server?

  1. Running SQL queries for data retrieval without modifying the database.
  2. Testing SQL commands to ensure they work before executing them.
  3. Listing available tables in a MySQL database for exploration.

FAQ from MySQL MCP Server?

  • Can I use MySQL MCP Server with any MySQL version?

Yes, as long as the connection details are correctly configured.

  • Is MySQL MCP Server free to use?

Yes, it is open-source and available under the MIT license.

  • How do I configure the server?

You need to set environment variables and configure the mcp.json file as per the documentation.

© 2025 MCP.so. All rights reserved.

Build with ShipAny.