MCP Server for MySQL

MCP Server for MySQL

Public
benborla/mcp-server-mysql

Model Context Protocol server enabling LLMs to access MySQL databases by inspecting schemas and executing SQL queries with configurable permissions and multi-database support.

typescript
0 tools
May 30, 2025
Updated Jun 4, 2025

Supercharge Your AI with MCP Server for MySQL

MCP Server

Unlock the full potential of MCP Server for MySQL through LangDB's AI Gateway. Get enterprise-grade security, analytics, and seamless integration with zero configuration.

Unified API Access
Complete Tracing
Instant Setup
Get Started Now

Free tier available • No credit card required

Instant Setup
99.9% Uptime
10,000+Monthly Requests
Configuration Requirements
none
Configure authentication and required variables to access this MCP server
Required Environment Variables
MYSQL_DB
Optional
string

MySQL database name (leave blank to retrieve all databases)

MYSQL_PASS
Optional
string

MySQL password

MYSQL_USER
Optional
string

MySQL username

Default: root
MYSQL_PORT
Optional
string

MySQL server port

Default: 3306
PATH
Optional
string

Optional path to required binaries

Default: /path/to/node/bin:/usr/bin:/bin
MYSQL_HOST
Optional
string

MySQL server hostname or IP address

Default: 127.0.0.1

Security Notice

Your environment variables and credentials are securely stored and encrypted. LangDB never shares these configuration values with third parties.

Related MCPs5
  • MySQL MCP Server

    Provides read-only access to MySQL databases via Model Context Protocol, enabling LLMs to inspect database schemas and execute secure read-only SQL queries with authentication support.

    Added May 29, 2025
  • MCP Server for MySQL

    Provides read-only access to MySQL databases via Model Context Protocol, enabling LLMs to inspect database schemas and execute secure read-only SQL queries for seamless data exploration.

    Added May 30, 2025
  • MySQL MCP Server

    Implements a Model Context Protocol server enabling secure MySQL database interaction with capabilities for executing read-only SQL queries, retrieving table schemas, and listing database tables.

    Added May 29, 2025
  • Kuzu MCP server

    Model Context Protocol server enabling LLMs to access Kuzu databases by inspecting schemas and executing Cypher queries with support for read-only mode and seamless integration via Docker or Node.js.

    2 tools
    Added May 30, 2025
  • MySQL Query MCP Server

    Provides read-only MySQL query access via Model Context Protocol for AI assistants, enabling secure data exploration, database metadata retrieval, and multi-environment support without write capabilities.

    3 tools
    Added May 30, 2025