MySQL MCP Server

# MySQL MCP Server Spring Boot server implementing Model Context Protocol (MCP) for MySQL database operations. ## Features - Execute SELECT queries -

Local serverstdio

What is the MySQL MCP Server?

MySQL MCP Server Spring Boot server implementing Model Context Protocol (MCP) for MySQL database operations. Features - Execute SELECT queries - List all

What the server does

  • Execute SELECT queries
  • List all tables in database
  • Get table schema information

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
queryExecute a SELECT SQL query and return results
listAllTablesNameList all table names in the database
getTableSchemaGet schema information for a specific table

Configuration

VariableDescriptionRequired
SPRING_DATASOURCE_URLEndpoint or connection string the server talks to.Yes

Example prompts to try

  • “Use MySQL to query.”
  • “Use MySQL to Input.”
  • “Use MySQL to Returns.”

Frequently asked questions

Only SELECT queries are allowed; write operations are not supported.