Devart MySQL — Claude Code MCP server: install
This MCP server lets Claude Code read and write MySQL data through Devart dotConnect ADO.NET when database access from an AI client is needed.
Open on GitHubWhat Devart MCP Server for MySQL (ADO.NET) does
Devart MCP Server for MySQL connects an AI client to a MySQL database through a server running in your environment. The client sends a natural-language request, the server turns it into a structured query, runs it through Devart dotConnect ADO.NET, and returns the result. Both data retrieval and writes are supported.
A manual build requires the .NET 8 SDK. The ADO.NET project is Devart.AI.McpServer.AdoNet.MySql.csproj; its Devart dotConnect for MySQL package is restored through NuGet during the build. Database settings live in mcpserver.json, where an ADO.NET connection uses ConnectionString and the transport can be stdio or http.
The server will not build without the .NET 8 SDK. With stdio, the AI client starts it automatically; with http, you must start the server yourself and provide HttpPort.
What it helps with
- read MySQL rows through natural-language requests
- build a report from database records
- write changes to MySQL tables from an AI client
- inspect database contents before analysis
Example prompts for the agent
- Show the latest rows from the
orderstable in MySQL and group them by status. - Find customers with overdue orders and save the result to the database.
- Inspect the
my_mysqlschema and explain the relationships between its tables.
How to install Devart MCP Server for MySQL (ADO.NET)
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about Devart MCP Server for MySQL (ADO.NET)
How do I install Devart MCP Server for MySQL (ADO.NET) in Claude Code?
Install the .NET 8 SDK, then run git clone https://github.com/devart-ai-connectivity/devart-mcp-server-mysql.git followed by cd devart-mcp-server-mysql. Build the ADO.NET version with dotnet publish Devart.AI.McpServer.AdoNet/Devart.AI.McpServer.AdoNet.MySql/Devart.AI.McpServer.AdoNet.MySql.csproj -c ReleaseMySql /p:TargetFramework=net8.0, then create mcpserver.json beside the executable and set the MySQL connection with ConnectionString.
What does Devart MCP Server for MySQL (ADO.NET) do?
It lets an AI client query and modify MySQL data using natural-language requests. The server converts the request into a structured query, runs it through ADO.NET, and returns the result.
What is required for a MySQL connection through ADO.NET?
You need the .NET 8 SDK and a connection string in mcpserver.json. Devart dotConnect for MySQL is restored through NuGet during the build.