Track MCP LogoTrack MCP
Track MCP LogoTrack MCP

The world's largest repository of Model Context Protocol servers. Discover, explore, and submit MCP tools.

Product

  • Categories
  • Top MCP
  • New & Updated
  • Submit MCP

Company

  • About

Legal

  • Privacy Policy
  • Terms of Service
  • Cookie Policy

© 2026 TrackMCP. All rights reserved.

Built with ❤️ by Krishna Goyal

    Mysql Mcp

    An MCP server implementation that integrates with MySQL databases, providing secure database access capabilities for LLMs.

    17 stars
    JavaScript
    Updated Sep 26, 2025

    Table of Contents

    • Features
    • Installation
    • Usage with Dive Desktop
    • Tool Documentation
    • Usage Examples
    • Manual Start
    • Requirements
    • License
    • Author
    • Keywords

    Table of Contents

    • Features
    • Installation
    • Usage with Dive Desktop
    • Tool Documentation
    • Usage Examples
    • Manual Start
    • Requirements
    • License
    • Author
    • Keywords

    Documentation

    MySQL MCP Server

    An MCP server implementation that integrates with MySQL databases, providing secure database access capabilities for LLMs.

    Features

    • Read Operations
    • Execute read-only SELECT queries
    • List all database tables
    • Show table structures
    • View schema information
    • Write Operations
    • Execute INSERT/UPDATE/DELETE with transaction support
    • Parameterized queries for data safety
    • Returns affected rows and insert IDs
    • Security
    • Read-only transaction mode for SELECT queries
    • Query length and result size limits
    • Performance monitoring and logging
    • Automatic transaction handling

    Installation

    bash
    npm install -g @kevinwatt/mysql-mcp

    Usage with Dive Desktop

    1. Click "+ Add MCP Server" in Dive Desktop

    2. Copy and paste this configuration:

    json
    {
      "mcpServers": {
        "mysql": {
          "command": "npx",
          "args": [
            "-y",
            "@kevinwatt/mysql-mcp"
          ],
          "env": {
            "MYSQL_HOST": "127.0.0.1",
            "MYSQL_PORT": "3306",
            "MYSQL_USER": "root",
            "MYSQL_PASS": "",
            "MYSQL_DB": "your_database"
          }
        }
      }
    }

    3. Click "Save" to install the MCP server

    Tool Documentation

    • mysql_query
    • Execute read-only SELECT queries
    • Inputs:
    • sql (string): SQL SELECT query to execute
    • Limits:
    • Maximum query length: 4096 characters
    • Maximum result rows: 1000
    • Query timeout: 30 seconds
    • mysql_execute
    • Execute data modification operations
    • Inputs:
    • sql (string): SQL statement (INSERT/UPDATE/DELETE)
    • params (array, optional): Parameters for the SQL statement
    • Features:
    • Returns affected rows count
    • Returns last insert ID
    • Automatic transaction handling
    • list_tables
    • List all tables in current database
    • No inputs required
    • describe_table
    • Show table structure
    • Inputs:
    • table (string): Table name to describe

    Usage Examples

    Ask your LLM to:

    code
    "Show me all tables in the database"
    "Describe the structure of users table"
    "Select all active users from the database"
    "Insert a new record into orders table"

    Manual Start

    If needed, start the server manually:

    bash
    npx @kevinwatt/mysql-mcp

    Requirements

    • Node.js 18+
    • MySQL Server
    • MCP-compatible LLM service

    License

    MIT

    Author

    Dewei Yen

    Keywords

    • mcp
    • mysql
    • database
    • dive
    • llm
    • ai

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k
    View All MCP Servers

    Similar MCP

    Based on tags & features

    • WA

      Waha Mcp

      JavaScript00
    • WI

      Wizzy Mcp Tmdb

      JavaScript00
    • RI

      Rijksmuseum Mcp

      JavaScript·
      59
    • MC

      Mcp Server Playwright

      JavaScript·
      262

    Trending MCP

    Most active this week

    • PL

      Playwright Mcp

      TypeScript·
      22.1k
    • SE

      Serena

      Python·
      14.5k
    • MC

      Mcp Playwright

      TypeScript·
      4.9k
    • MC

      Mcp Server Cloudflare

      TypeScript·
      3.0k