MySQL MCP Server

MySQL MCP Server

Public
yuki777/mysql-mcp-server

Connect local MySQL databases with large language models via Model Context Protocol, enabling direct SQL query execution, database schema retrieval, profile-based connection management, and secure stdio communication without port binding.

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

Supercharge Your AI with MySQL MCP Server

MCP Server

Unlock the full potential of MySQL MCP Server 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
config
Optional
string

Path to configuration file

host
Optional
string

MySQL host

Default: localhost
password
Optional
string

MySQL password

query-timeout
Optional
string

Query timeout in milliseconds

Default: 30000
server-host
Optional
string

MCP server host

Default: localhost
port
Optional
string

MySQL port

Default: 3306
server-port
Optional
string

MCP server port

Default: 3000
user
Optional
string

MySQL user

Default: root
max-results
Optional
string

Maximum number of result rows

Default: 1000
database
Optional
string

Default database (optional)

debug
Optional
string

Debug mode

Default: false

Security Notice

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

Related MCPs5
  • MCP-MySQL Server

    Enables AI models to perform secure MySQL database operations via Model Context Protocol, offering connection management, query execution, schema manipulation, and prepared statement support for seamless integration.

    7 tools
    Added May 30, 2025
  • MCP MySQL Server

    Enables Model Context Protocol integration with MySQL databases by providing secure, read-only schema inspection and query execution capabilities for large language models.

    Added May 29, 2025
  • MCP MySQL Server

    Enables AI models to interact with MySQL databases via Model Context Protocol, offering secure connection handling, prepared statement support, schema management, and comprehensive database operations including querying, executing, and table management.

    Added May 30, 2025
  • SQL MCP Server for Claude Desktop

    Enables natural language interaction with local MySQL databases via Model Context Protocol, supporting secure SQL query execution, transaction management, connection pooling, and multi-database access through Claude Desktop.

    Added May 30, 2025
  • mcp-mysql-server

    Enables AI models to securely connect, query, and manage MySQL databases through a standardized Model Context Protocol interface with support for prepared statements, automatic connection handling, and comprehensive error management.

    5 tools
    Added May 30, 2025