
mysql_mcp_serverThis server connects AI assistants securely to your MySQL database, giving them safe access to list tables, read rows, and run simple queries. You only need to add your login details to a settings fil
Overview
Key features
- List available MySQL tables as resources
- Read table contents
- Execute SQL queries with proper error handling
- Multi-database mode support
- SSE/HTTP transport support
- SSH Tunneling support
Pricing
- Model
- Free
- Category
- MCP Servers
- Rating
- No reviews yet
Use cases
Secure Database Access for AI Assistants
MySQL MCP Server enables AI assistants to access MySQL databases securely, allowing them to list tables, read rows, and run simple queries without requiring direct access to the database.
Database Exploration and Analysis
The server provides a controlled interface for database exploration and analysis, making it easier for AI applications to interact with MySQL databases in a safe and structured manner.
Pros & Cons
Pros
- Provides secure access to MySQL databases for AI applications
- Supports multiple transport modes (STDIO and SSE)
- Allows for comprehensive logging and error handling
- Enables table data sampling and secure database access through environment variables
Cons
- Requires configuration through environment variables, which may be cumbersome for some users
- Limited to simple queries and reading table contents, may not be suitable for complex database operations
Reviews
Sign in to leave a review.
No reviews yet. Be the first!
Q&A
Can the server run complex SQL operations?
It is limited to listing tables, reading rows, and executing simple queries with error handling; it is not intended for complex transactions or advanced database manipulations.
Asked by Vera Nováková · May 28, 2026
What transport modes does the server support and which is best for remote deployments?
The server supports standard STDIO and Streamable HTTP Server‑Sent Events (SSE). SSE is recommended for remote or self‑hosted deployments because it works over HTTP and handles streaming responses.
Asked by Kalinda Reddy · Apr 27, 2026
How do I configure MySQL MCP Server to connect to my database?
You configure it via environment variables: set MYSQL_HOST, MYSQL_PORT (default 3306), MYSQL_USER, MYSQL_PASSWORD, and optionally MYSQL_DATABASE for single‑db mode or omit it for multi‑database mode. Advanced options like MYSQL_SSL_MODE can also be set.
Asked by Petros Georgiou · Feb 23, 2026
Ask a question
MCP Servers alternatives

Open-source MCP server that lets LLMs drive real browsers via Playwright and accessibility snapshots.

Python agent framework from the Pydantic team for building type-safe GenAI apps.

Adaptive memory layer that helps AI agents learn from context over time.

AI email assistant that organizes, drafts replies, and helps you reach inbox zero faster.

Open-source 24/7 local screen and audio recording for building context-aware AI apps

TypeScript library for building and orchestrating AI agents with tools, memory, and multi-agent workflows.

Bringing the bankless onchain API to MCP

Python tool for converting files and office documents to Markdown.
Trending now

Accurate Homework Help with Full Explanations

Document intelligence API that parses, splits, OCRs, and extracts structured data from complex PDFs, slides, and spreadsheets.

Open multimodal 12B model handling interleaved images and text with a 128K context window.

Sponsored answers, paid per click.
