Devart MCP Server for MySQL (ADO.NET)

Self-hosted MCP server that gives AI clients schema-aware read/write access to MySQL via Devart dotConnect for MySQL. Free .NET tool on NuGet (Windows x64); requires a commercial dotConnect license (free 30-day trial).

Documentation

Prefix Reserved

.NET 8.0 This package targets.NET 8.0. The package is compatible with this framework or higher.

{
  "inputs": [
    {
      "type": "promptString",
      "id": "server",
      "description": "MySQL host name or network address.",
      "password": false,
      "default": "localhost"
    },
    {
      "type": "promptString",
      "id": "port",
      "description": "Port the MySQL server listens on.",
      "password": false,
      "default": "3306"
    },
    {
      "type": "promptString",
      "id": "database",
      "description": "Database to connect to.",
      "password": false
    },
    {
      "type": "promptString",
      "id": "user",
      "description": "MySQL account to authenticate as.",
      "password": false,
      "default": "root"
    },
    {
      "type": "promptString",
      "id": "password",
      "description": "Password for the account.",
      "password": true
    },
    {
      "type": "promptString",
      "id": "license_key",
      "description": "Devart dotConnect for MySQL license key, from the Devart Customer Portal.",
      "password": true
    }
  ],
  "servers": {
    "Devart.Mcp.MySql": {
      "type": "stdio",
      "command": "dnx",
      "args": ["Devart.Mcp.MySql@1.1.0", "--yes", "--", "run"],
      "env": {
        "DEVART_MCP_MYSQL_CONNECTION": "Server=${input:server};Port=${input:port};Database=${input:database};User Id=${input:user};Password=${input:password};License Key=${input:license_key};"
      }
    }
  }
}

[!brand-info] Brand-info This package contains an MCP Server. The server can be used in VS Code by copying the generated JSON to your VS Code workspace's .vscode/mcp.json settings file.

dotnet tool install --global Devart.Mcp.MySql --version 1.1.0

[!brand-info] Brand-info This package contains a .NET tool you can call from the shell/command line.

dotnet new tool-manifest
                    

                            if you are setting up this repo
dotnet tool install --local Devart.Mcp.MySql --version 1.1.0

[!brand-info] Brand-info This package contains a .NET tool you can call from the shell/command line.

#tool dotnet:?package=Devart.Mcp.MySql&version=1.1.0

[!brand-warning] Brand-warning The NuGet Team does not provide support for this client. Please contact its maintainers for support.

nuke :add-package Devart.Mcp.MySql --version 1.1.0

[!brand-warning] Brand-warning The NuGet Team does not provide support for this client. Please contact its maintainers for support.