This MySQL MCP server, developed by designcomputer, provides a secure interface for language models to interact with MySQL databases. It enables AI agents to list tables, read data, and execute SQL queries through a controlled interface. The server integrates with Claude Desktop and can be run standalone, offering flexibility in deployment. By focusing on read-only access and using environment variables for configuration, it maintains data security while allowing AI systems to explore and analyze relational data. This implementation is particularly useful for AI assistants designed to perform database schema exploration, generate SQL queries, or provide data-driven insights using MySQL as the backend.
暂无评论. 成为第一个评论的人!
登录以参与讨论
Executes any standard SQL query. Arguments: query (string). Features: Supports SELECT, SHOW, DESCRIBE, and DML (INSERT, UPDATE, DELETE). DML operations are marked with a destructive hint. Limitation: Single statements only. Multi-statement queries are not supported. Cross-database: Use database.table notation to query any database regardless of the MYSQL_DATABASE setting.
Provides detailed metadata about database structures. Arguments: table_name (optional string). Output: Column names, types, nullability, default values, and comments. Cross-database: Pass database.table to query a table outside MYSQL_DATABASE; bare names use the configured database.
Fetches a representative sample of data. Arguments: table_name (string), limit (optional integer, max 20). Use Case: Quickly understand data formats and content without fetching large result sets. Cross-database: Pass database.table to sample a table outside MYSQL_DATABASE; bare names use the configured database.