Skip to main content
Glama
awand795

mysql-explorer

by awand795

MySQL Explorer MCP Server

Implementasi Model Context Protocol (MCP) yang memungkinkan Claude Desktop untuk berinteraksi langsung dengan database MySQL Anda. Server ini menyediakan tool untuk membaca seluruh skema dan data tabel secara otomatis.


🚀 Fitur Utama

  • Schema Discovery: Mendeteksi semua tabel dan struktur kolom secara otomatis.

  • Full Data Retrieval: Mengambil seluruh baris data dari database untuk dianalisis oleh Claude.

  • Deep Integration: Berjalan sebagai sidecar process untuk Claude Desktop.


Related MCP server: MySQL MCP Server

🛠 Prasyarat

Sebelum memulai, pastikan perangkat Anda sudah terpasang:

  • Node.js (v18 atau lebih baru)

  • MySQL Server (Lokal atau Remote)

  • Claude Desktop App (Versi terbaru)


📦 Instalasi

  1. Clone atau Masuk ke Direktori Proyek:

    cd path/to/your/mysql-mcp-server
  2. Instal Dependensi:

    npm install
  3. Build Proyek (Compile TypeScript ke JS):

    npm run build

⚙️ Konfigurasi Claude Desktop

Untuk menghubungkan server ini, Anda harus mengedit file claude_desktop_config.json.

Lokasi File Konfigurasi:

  • macOS: ~/Library/Application Support/Claude/claude_desktop_config.json

  • Windows: %APPDATA%\Claude\claude_desktop_config.json

Tambahkan konfigurasi berikut:

{
  "mcpServers": {
    "mysql-explorer": {
      "command": "node",
      "args": ["C:/absolute/path/to/your/project/build/index.js"],
      "env": {
        "DB_HOST": "localhost",
        "DB_PORT": "3306",
        "DB_USER": "root",
        "DB_PASSWORD": "your_password",
        "DB_NAME": "your_database_name"
      }
    }
  }
}

Related MCP Connectors

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude Desktop to interact with MySQL databases through secure query execution, schema discovery, and multi-database support with configurable read/write permissions and built-in SQL injection protection.
    109 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to securely interact with MySQL databases for schema discovery, data querying, and record management with configurable access controls. It provides specialized tools for listing tables, describing structures, and performing CRUD operations within environments like Claude and VS Code.
    10 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language querying of MySQL databases via Claude Code, allowing SELECT queries, table listing, and schema inspection.
    371 npm
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables Claude AI to execute MySQL queries, list tables, and describe table structures through natural language, with support for parameterized queries and connection pooling.
    109 npm
    MIT