
MySQL MCP Server is an open-source Model Context Protocol server that provides AI assistants with secure, structured access to MySQL databases.
Free, no paid tierVisit WebsiteThe Bottom Line
- Price
- Free, no paid tier. Compare plans
Key facts
- Open-source MCP server giving AI assistants secure read/write access to MySQL databases
- Inspects schemas, executes queries with prepared statements, and analyzes execution plans
- Read-only by default with granular write permissions, works with Claude, Cursor, and VS Code
Pros
- Strong security defaults, read-only by default with granular write permissions
- Full schema introspection lets AI assistants understand database structure without documentation
- Performance features (pooling, caching, streaming) handle production-scale databases
- Multiple implementations (Node.js, Python) for flexible deployment
- Simple environment variable configuration connects to any MySQL instance
Cons
- No built-in support for stored procedures or MySQL-specific features like events
- Write operations require explicit opt-in, extra configuration for full CRUD workflows
- Community-maintained with multiple forks, no single canonical implementation
- No visual query builder or schema visualization capabilities
What is MySQL MCP Server?
Available on: Web
Key Features
- Database schema inspection with column types, indexes, constraints, and foreign key discovery
- SQL query execution with read-only mode by default and optional write operations
- Prepared statements for SQL injection prevention on all queries
- Query execution plan analysis with EXPLAIN and EXPLAIN ANALYZE support
- Connection pooling and query result caching for performance optimization
- Granular write control, INSERT, UPDATE, DELETE each enabled independently via env vars
- Large result set streaming to handle queries returning substantial data
- Rate limiting and query complexity analysis for resource protection
Pricing Plans
Pricing checked Sep 28, 2026
| Plan | Price | Details |
|---|---|---|
| Open Source | Free |
|
Is MySQL MCP Server worth the price?
The pricing for MySQL MCP Server is exceptionally fair and generous, as it is entirely free.
The 'Open Source' tier provides full functionality at no cost, making it an unbeatable option for budget-conscious users. This model is best for individuals and organizations seeking a powerful, cost-free database solution.
Reviews

Review MySQL MCP Server, get a free AI guide
Share your experience and we will send you Improve Your Thinking Patterns Using ChatGPT, free.
Best MySQL MCP Server Alternatives
Top alternatives based on features, pricing, and user needs.
Still deciding?
Most buyers shortlist 2 or 3 tools before committing. Pull a side-by-side comparison or browse the full alternatives shortlist below.
Explore More
MySQL MCP Server FAQ
Is it safe to connect an AI assistant to a production MySQL database?
ALLOW_INSERT, ALLOW_UPDATE, ALLOW_DELETE). Additional safeguards include prepared statements for SQL injection prevention, rate limiting, and query complexity analysis.Which MySQL MCP Server implementation should I use?
@designcomputer/mysql_mcp_server (Node.js). A Python implementation from @benborla29/mcp-server-mysql is also available. Both provide schema inspection and query execution. Choose based on your deployment environment and language preference.Can it handle large databases with hundreds of tables?
Does it support MySQL-compatible databases like MariaDB or PlanetScale?
MYSQL_HOST, MYSQL_PORT, MYSQL_USER, and MYSQL_PASSWORD environment variables.Source: github.com