Devart MCP Server for MySQL (ODBC)
Servidor MCP auto-hospedado para acesso seguro de IA a bancos de dados MySQL. Gratuito para uso no Windows; requer o Devart ODBC Driver for MySQL comercial (avaliação gratuita de 30 dias).
Documentação
MCP
ODBC ADO.NET MCP Python SSIS Excel Add-in dbExpress Delphi DAC
MCP Server for MySQLFree Product
- Secure self-hosted deployment in your environment
- Compatibility with Claude, VS Code, Cursor, Codex, and other MCP-ready tools
- Fast setup without custom integrations
MCP Server for MySQL MCP Server for MySQL
Overview
Connect your AI tools to live MySQL data
MCP Server for MySQL is a free, self-hosted solution that gives AI tools access to live MySQL data. Natural-language access makes it easier to investigate database content and resolve everyday data questions without developing and maintaining a custom AI integration.
- Explore schemas, tables, and relationships
- Inspect keys, indexes, and database objects
- Investigate slow queries and performance issues
- Keep MySQL data within your environment
What is Devart MCP Server for MySQL?
Devart MCP Server for MySQL provides a self-hosted bridge between MySQL and AI assistants or agents that support the Model Context Protocol (MCP). Instead of connecting an AI tool directly to the database, the server provides access to MySQL through MCP tools. Your AI client turns a plain-language request into a tool call, the server executes the requested operation against MySQL, and structured results are returned to the client. This gives AI tools a standard way to interact with MySQL while the connection remains within your infrastructure.
Database communication is provided through Devart ODBC Driver for MySQL. The driver manages connectivity and gives the MCP Server access to MySQL data and metadata, eliminating the need to develop a separate integration for each AI client.
Why connect AI to MySQL data through MCP?
Connecting AI to MySQL through MCP turns a conventional AI chat into a practical way of working with live data. It is much faster than manual data export or SQL querying.
Ask MySQL in plain language
Retrieve data, inspect schemas, and investigate issues in the most natural and convenient way.
Built for teams working with MySQL
MCP Server for MySQL gives teams a natural-language interface to MySQL for analysis, development, troubleshooting, validation, and controlled AI access.
Team
Request
How MCP Server for MySQL helps
Analysts & BI teams
Show total sales by region for the last 12 months.
Queries MySQL and returns sales grouped by region, without requiring analysts to write SQL or prepare manual exports.
Developers, DBAs & data engineers
Which queries scan whole tables?
Examines table structures, indexes, and query plans to help teams investigate inefficient queries and database performance issues.
QA, support & operations teams
Find the data related to ticket #774105.
Retrieves related records across tables to help teams reproduce, investigate, and verify issues without manual lookups.
Platform & security teams
How can we give teams AI access to MySQL without giving them direct database access?
Provides a self-hosted layer for controlled AI access to MySQL while keeping database connectivity within your environment.
Built for simpler, safer MySQL AI access
Devart MCP Server for MySQL gives teams a more practical way to bring AI into data workflows — with secure deployment, easier setup, and less custom integration work.
Self-hosted and controlled
Keep AI-to-data access inside your environment with a secure, controlled MySQL MCP layer.
Fast setup in a few clicks
Start faster with a ready MCP Server instead of building and maintaining a custom integration from scratch.
Easy AI tool integration
Connect Claude, VS Code, Cursor, Codex, and other MCP-compatible tools to MySQL with less friction.
Free to use
The MCP Server is free — no license key, no activation, no expiry. It connects through Devart ODBC Driver for MySQL, which is licensed separately.
Built for real MySQL workflows
Support analysis, troubleshooting, investigation, and plain-language access across everyday data work.
Backed by support
Adopt MySQL AI workflows with expert product guidance and dedicated support throughout setup and rollout.
How to get started with an MCP Server for MySQL
1
2
3
4
1
Download MCP Server
Install the self-hosted server and open the setup.
2
Access your MySQL
Use an existing DSN or create a custom MySQL connection.
3
Connect your AI tool
Integrate Claude, VS Code, Cursor, Codex, or another compatible MCP tool.
4
Ask in plain language
Begin querying your MySQL data in natural language through the MCP layer.
Get started with MCP Server for MySQL
Download and set up the free, self-hosted MCP Server to securely connect your AI tools to MySQL and start asking questions in plain language.
WhoBenefitsTitle


TechnicalTeams
Developers, DBAs, data engineers, analytics engineers, and architects who need to understand MySQL databases and troubleshoot issues without leaving their AI tools. They can use natural-language queries to explore schemas, tables, relationships, and indexes, inspect live data and query plans, investigate inefficient queries, validate data, and get the context they need when developing, debugging, or maintaining MySQL applications.
BusinessTeams
Sales ops, RevOps, finance, support, accounting, and operations teams that need answers from MySQL data in plain language, without waiting on SQL queries or manual exports.

AiAndAutomationTeams
Teams building copilots, agent workflows, and internal assistants that need secure, governed access to live MySQL data as part of automated workflows.

Need an MCP Server for multiple data sources?
A single MCP layer for all your databases and cloud services.
Explore other MCP servers
AlloyDB
Clipper
dBase
Dynamics 365
Dynamics 365 Business Central
Firebird
FoxPro
Heroku Postgres
HubSpot
Microsoft Access
NetSuite
Oracle
PostgreSQL
QuickBooks Online
Salesforce
Salesforce Marketing Cloud
SAP Sybase ASE
Snowflake
SQL Server
SQLite
Visual FoxPro
xBase
Zoho CRM
Zoho Desk
AlloyDB
Clipper
dBase
Firebird
FoxPro
Heroku Postgres
Microsoft Access
Oracle
PostgreSQL
SAP Sybase ASE
SQL Server
SQLite
Visual FoxPro
xBase
Dynamics 365
Dynamics 365 Business Central
HubSpot
NetSuite
QuickBooks Online
Salesforce
Salesforce Marketing Cloud
Snowflake
Zoho CRM
Zoho Desk
Frequently asked questions
What is MCP Server for MySQL?
Devart MCP Server for MySQL is a free, self-hosted solution that connects MCP-compatible AI assistants and agents to MySQL databases. It enables natural-language interaction with live data and database objects without requiring a custom integration.
How does MCP Server connect AI to MySQL?
The server acts as an intermediary between your AI client and MySQL. It receives MCP tool calls, executes SQL queries through the configured database connection, and returns structured results. Database connectivity is provided by Devart ODBC Driver for MySQL.
Can AI query live MySQL data through MCP?
Yes. AI assistants can retrieve current records, examine table relationships, and analyze database content directly from MySQL. Results reflect the data available when each query runs, rather than relying on previously exported datasets.
Is MCP Server for MySQL secure?
The server runs within your own infrastructure, allowing you to manage database connections and permissions. AI clients interact with MySQL through the MCP Server rather than connecting to the database themselves. Database privileges determine which operations are permitted.
Can I keep AI access to MySQL read-only?
Yes. Configure the MCP Server to use a MySQL account with only the required SELECT privileges. Queries execute under that account, preventing modifications to data when the account has no additional write permissions.
Is MCP Server for MySQL free?
Yes. The MCP Server is free to download and use, with no license key, activation, or expiration. The required Devart ODBC Driver for MySQL is licensed separately and includes a 30-day trial.
What can AI assistants do with MySQL through MCP?
AI assistants can help with a range of database development and analysis tasks:
- Examine tables, columns, indexes, and relationships.
- Investigate slow queries and full table scans.
- Retrieve related records for troubleshooting.
- Generate SQL for ad-hoc analysis and reporting.
Available operations depend on the configured database permissions and the capabilities of your AI client.
Do I need to build a custom API integration to connect MySQL to AI?
No. Install the MCP Server, configure your MySQL connection, and register the server with an MCP-compatible AI client. The Model Context Protocol provides the communication interface, eliminating the need to develop a separate API integration.
Can one MCP Server for MySQL connect to multiple databases?
Yes. A single instance can manage multiple MySQL connections, allowing AI assistants to work with different databases. For environments that combine MySQL with other database systems, such as PostgreSQL or SQL Server, Devart MCP Server Universal provides a multi-database solution.
Which AI tools work with MCP Server for MySQL?
The server works with MCP-compatible clients, including Claude, Visual Studio Code, Cursor, Codex, Windsurf, Cline, and Zed. Compatibility depends on each client's MCP support and configuration.
{"@context":"https://schema.org","@graph":[{"@type":"Organization","@id":"https://www.devart.com/#organization","name":"Devart","url":"https://www.devart.com/","logo":"https://www.devart.com/images/logo/Logo_negative.png"},{"@type":"WebSite","@id":"https://www.devart.com/#website","url":"https://www.devart.com/","name":"Devart","publisher":{"@id":"https://www.devart.com/#organization"}},{"@type":"WebPage","@id":"https://www.devart.com/mcp/mysql/#webpage","url":"https://www.devart.com/mcp/mysql/","name":"Free MCP Server for MySQL — Secure AI Data Access | Devart","isPartOf":{"@id":"https://www.devart.com/#website"},"publisher":{"@id":"https://www.devart.com/#organization"},"inLanguage":"en","description":"Connect Claude, Cursor, VS Code, and other AI tools to your MySQL data. Free, self-hosted MCP Server — query your database in plain language.","about":{"@id":"https://www.devart.com/mcp/mysql/#software"},"mainEntity":{"@id":"https://www.devart.com/mcp/mysql/#software"},"breadcrumb":{"@id":"https://www.devart.com/mcp/mysql/#breadcrumb"},"hasPart":[{"@id":"https://www.devart.com/mcp/mysql/#faq"}]},{"@type":"SoftwareApplication","@id":"https://www.devart.com/mcp/mysql/#software","name":"MCP Server for MySQL","url":"https://www.devart.com/mcp/mysql/","applicationCategory":"DeveloperApplication","publisher":{"@id":"https://www.devart.com/#organization"},"operatingSystem":"Windows","offers":[{"@type":"Offer","price":0,"priceCurrency":"USD"}],"softwareVersion":"1.1.0"},{"@type":"FAQPage","@id":"https://www.devart.com/mcp/mysql/#faq","mainEntity":[{"@type":"Question","name":"What is MCP Server for MySQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EDevart MCP Server for MySQL is a free, self-hosted solution that connects MCP-compatible AI assistants and agents to MySQL databases. It enables natural-language interaction with live data and database objects without requiring a custom integration.\u003C/p\u003E"}},{"@type":"Question","name":"How does MCP Server connect AI to MySQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EThe server acts as an intermediary between your AI client and MySQL. It receives MCP tool calls, executes SQL queries through the configured database connection, and returns structured results. Database connectivity is provided by Devart ODBC Driver for MySQL.\u003C/p\u003E"}},{"@type":"Question","name":"Can AI query live MySQL data through MCP?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. AI assistants can retrieve current records, examine table relationships, and analyze database content directly from MySQL. Results reflect the data available when each query runs, rather than relying on previously exported datasets.\u003C/p\u003E"}},{"@type":"Question","name":"Is MCP Server for MySQL secure?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EThe server runs within your own infrastructure, allowing you to manage database connections and permissions. AI clients interact with MySQL through the MCP Server rather than connecting to the database themselves. Database privileges determine which operations are permitted.\u003C/p\u003E"}},{"@type":"Question","name":"Can I keep AI access to MySQL read-only?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. Configure the MCP Server to use a MySQL account with only the required SELECT privileges. Queries execute under that account, preventing modifications to data when the account has no additional write permissions.\u003C/p\u003E"}},{"@type":"Question","name":"Is MCP Server for MySQL free?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. The MCP Server is free to download and use, with no license key, activation, or expiration. The required Devart ODBC Driver for MySQL is licensed separately and includes a 30-day trial.\u003C/p\u003E"}},{"@type":"Question","name":"What can AI assistants do with MySQL through MCP?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EAI assistants can help with a range of database development and analysis tasks:\u003C/p\u003E\u003Cul\u003E\u003Cli\u003EExamine tables, columns, indexes, and relationships.\u003C/li\u003E\u003Cli\u003EInvestigate slow queries and full table scans.\u003C/li\u003E\u003Cli\u003ERetrieve related records for troubleshooting.\u003C/li\u003E\u003Cli\u003EGenerate SQL for ad-hoc analysis and reporting.\u003C/li\u003E\u003C/ul\u003E\u003Cp\u003EAvailable operations depend on the configured database permissions and the capabilities of your AI client.\u003C/p\u003E"}},{"@type":"Question","name":"Do I need to build a custom API integration to connect MySQL to AI?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003ENo. Install the MCP Server, configure your MySQL connection, and register the server with an MCP-compatible AI client. The Model Context Protocol provides the communication interface, eliminating the need to develop a separate API integration.\u003C/p\u003E"}},{"@type":"Question","name":"Can one MCP Server for MySQL connect to multiple databases?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EYes. A single instance can manage multiple MySQL connections, allowing AI assistants to work with different databases. For environments that combine MySQL with other database systems, such as PostgreSQL or SQL Server, Devart MCP Server Universal provides a multi-database solution.\u003C/p\u003E"}},{"@type":"Question","name":"Which AI tools work with MCP Server for MySQL?","acceptedAnswer":{"@type":"Answer","text":"\u003Cp\u003EThe server works with MCP-compatible clients, including Claude, Visual Studio Code, Cursor, Codex, Windsurf, Cline, and Zed. Compatibility depends on each client\u0027s MCP support and configuration.\u003C/p\u003E"}}]},{"@type":"BreadcrumbList","@id":"https://www.devart.com/mcp/mysql/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https://www.devart.com/"},{"@type":"ListItem","position":2,"name":"Devart MCP Servers","item":"https://www.devart.com/mcp/"},{"@type":"ListItem","position":3,"name":"MCP Server for MySQL","item":"https://www.devart.com/mcp/mysql/"}]}]}