drio
Open app

Mysql-Mcp-Server

Source

mysql-mcp-server. java version

Catalog onlyCatalog onlySTDIO

Overview

mysql-mcp-server is a Java-based server designed to facilitate the management and operation of MySQL databases.

To use mysql-mcp-server, run the Java command with the necessary arguments for your MySQL database connection, including the datasource URL, username, and password.

  • Java-based implementation for easy integration with Java applications. - Configurable datasource settings for flexible database management. - Supports standard MySQL operations and commands.
  1. Managing MySQL databases in Java applications.
  2. Automating database operations and tasks.
  3. Integrating MySQL with other Java-based services.

Add to your AI client

Use these steps to connect Mysql-Mcp-Server in Cursor, Claude, VS Code, and other MCP-compatible apps. The same JSON appears in the Use with menu above for one-click copy.

Cursor

Add this to your .cursor/mcp.json file in your project root, then restart Cursor.

.cursor/mcp.json

{
  "mcpServers": {
    "mysql-mcp-server-jasondeepny": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

Claude Desktop

Add this server entry to the mcpServers object in your Claude Desktop config, then restart the app.

~/Library/Application Support/Claude/claude_desktop_config.json (macOS) or %APPDATA%\Claude\claude_desktop_config.json (Windows)

{
  "mcpServers": {
    "mysql-mcp-server-jasondeepny": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

Claude Code

Add this to your project's .mcp.json file. Claude Code will detect it automatically.

.mcp.json (project root)

{
  "mcpServers": {
    "mysql-mcp-server-jasondeepny": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

VS Code (Copilot)

Add this to your .vscode/mcp.json file. Requires the GitHub Copilot extension with MCP support enabled.

.vscode/mcp.json

{
  "servers": {
    "mysql-mcp-server-jasondeepny": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

Windsurf

Add this to your Windsurf MCP config file, then restart Windsurf.

~/.codeium/windsurf/mcp_config.json

{
  "mcpServers": {
    "mysql-mcp-server-jasondeepny": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

Cline

Open Cline settings, navigate to MCP Servers, and add this server configuration.

Cline MCP Settings (via UI)

{
  "mcpServers": {
    "mysql-mcp-server-jasondeepny": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-mysql-mcp-server-jasondeepny"
      ]
    }
  }
}

FAQ

What programming language is mysql-mcp-server written in?

mysql-mcp-server is written in Java.

How do I configure the database connection?

You can configure the database connection by providing the datasource URL, username, and password in the command arguments.

Is mysql-mcp-server open source?

Yes, mysql-mcp-server is available on GitHub and can be used freely.