MySQL

MySQL

Installable
designcomputer
GitHubnpm

About

A Model Context Protocol (MCP) implementation that enables secure interaction with MySQL databases. This server facilitates communication between AI applications and MySQL databases, making database exploration and analysis safer and more structured through a controlled interface.

Features

  • List available MySQL tables as resources
  • Read table contents
  • Execute SQL queries with proper error handling
  • Secure database access through environment variables
  • Comprehensive logging

Installation

Manual Installation

pip install mysql-mcp-server

Installing via Smithery

npx -y @smithery/cli install mysql-mcp-server --client claude

Security Considerations

  • Never commit environment variables or credentials
  • Use a database user with minimal required permissions
  • Consider implementing query whitelisting for production use
  • Monitor and log all database operations
  • Create a dedicated MySQL user with minimal permissions
  • Never use root credentials or administrative accounts
  • Restrict database access to only necessary operations
  • Enable logging for audit purposes
  • Regular security reviews of database access

See the MySQL Security Configuration Guide for detailed instructions.

This server runs through your single 1Server connection. No extra config required.

0Installs
--Stars

Categories

DatabaseDevelopment