MySQL MCP Server
@kioyong
关于 MySQL MCP Server
暂无概览
基本信息
配置
工具
3Execute a SELECT SQL query and return results
List all table names in the database
Get schema information for a specific table
概览
What is MySQL MCP Server?
A Spring Boot server implementing the Model Context Protocol (MCP) for MySQL database operations. It lets AI assistants like Claude Desktop or Cline execute SELECT queries, list tables, and retrieve table schemas.
How to use MySQL MCP Server?
Build the project with mvn install, then add the provided JSON configuration to your MCP server config file, specifying the path to the JAR and the MySQL JDBC URL via the SPRING_DATASOURCE_URL environment variable.
Key features of MySQL MCP Server
- Execute SELECT SQL queries (results truncated at 4000 characters)
- List all table names in the connected database
- Retrieve schema information (name, type, nullable, default) for a specific table
Use cases of MySQL MCP Server
- Allow an AI assistant to read data from a MySQL database.
- Let users explore database tables and schemas through natural language.
- Integrate MySQL querying into MCP‑compatible tools like Claude Desktop.
FAQ from MySQL MCP Server
What SQL operations does it support?
Only SELECT queries are allowed; write operations are not supported.
How do I configure the database connection?
Set the SPRING_DATASOURCE_URL environment variable to a JDBC URL in the format jdbc:mysql://username:password@host:port/database.
How is the server built?
It uses Maven: run mvn install to build the JAR file.
What license is this server under?
The MIT License.
数据库 分类下的更多 MCP 服务器
mcp-server-duckdb
ktanaka101A Model Context Protocol (MCP) server implementation for DuckDB, providing database interaction capabilities
mcp-server-qdrant: A Qdrant MCP server
qdrantAn official Qdrant Model Context Protocol (MCP) server implementation
MCP Alchemy
runekaagaardA MCP (model context protocol) server that gives the LLM access to and knowledge about relational databases like SQLite, Postgresql, MySQL & MariaDB, Oracle, and MS-SQL.
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Neon MCP Server
neondatabase-labsMCP server for interacting with Neon Management API and databases
评论