Command Palette

Search for a command to run...

UnylyUnyly
Browse all

Mysql Mcp Server Java

FreeNot checked

Mysql Mcp Server Java — Model Context Protocol server

GitHubEmbed

About

Mysql Mcp Server Java — Model Context Protocol server

README

Spring Boot server implementing Model Context Protocol (MCP) for MySQL database operations.

Features

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

API

Tools

  • query

    • Execute a SELECT SQL query and return results
    • Input: sql (string)
    • Returns: List of query results (truncated after 4000 characters)
    • Note: Only SELECT queries are allowed
  • listAllTablesName

    • List all table names in the database
    • No input required
    • Returns: Comma-separated list of table names
  • getTableSchema

    • Get schema information for a specific table
    • Input: tableName (string)
    • Returns: Comma-separated list of column information including:
      • Column name
      • Data type
      • Nullable constraint
      • Default value

Build

Maven build:

mvn install

Usage with Claude Desktop or Cline

Add this to your mcp server config file:

{
  "mysql-server": {
    "command": "java",
    "args": [
      "-jar",
      "{{ProjectDirectory}}\\target\\mcp-mysql-server-1.0.0.jar"
    ],
    "env": {
      "SPRING_DATASOURCE_URL": "jdbc:mysql://username:password@localhost:3306/database"
    }
  }
}

001.png

Example

002.png

License

This MCP server is licensed under the MIT License. This means you are free to use, modify, and distribute the software, subject to the terms and conditions of the MIT License. For more details, please see the LICENSE file in the project repository.

from github.com/kioyong/mysql-mcp-server-java

Installing Mysql Mcp Server Java

This server has no published package — it is built from source. Open the repository and follow its README.

▸ github.com/kioyong/mysql-mcp-server-java

FAQ

Is Mysql Mcp Server Java MCP free?

Yes, Mysql Mcp Server Java MCP is free — one-click install via Unyly at no cost.

Does Mysql Mcp Server Java need an API key?

No, Mysql Mcp Server Java runs without API keys or environment variables.

Is Mysql Mcp Server Java hosted or self-hosted?

Self-hosted: the server runs locally on your machine via the install command above.

How do I install Mysql Mcp Server Java in Claude Desktop, Claude Code or Cursor?

Open Mysql Mcp Server Java on unyly.org, pick your client tab (Claude Desktop, Claude Code, Cursor) and press Install — the config is generated automatically, no JSON editing.

Related MCPs

Compare Mysql Mcp Server Java with

Not sure what to pick?

Find your stack in 60 seconds

Author?

Embed badge for your README

Browse similar

All data MCPs