rdb-mcp-server MCP Server

Experimental MCP server based on Spring AI for low-level SQL operations using JDBC.

Local serverstdio

What is the rdb-mcp-server MCP Server?

rdb-mcp-server is an MCP project maintained in the 31san/rdb_mcp_server repository. The maintainer describes its purpose as “Experimental MCP server based on Spring AI for low-level SQL operations using JDBC”. Read the project documentation for the complete scope.

Local setup

The project provides a local client configuration using java. Follow the repository’s build and installation steps before copying it, and replace example paths with the paths on your own computer.

Configuration values

The example declares DB_URL, DB_USER, DB_PASSWORD, API_PASSWORD, LOG_FILE. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

How to install the rdb-mcp-server MCP Server

{
  "mcpServers": {
    "rdb_mcp_server": {
      "command": "java",
      "args": [
        "-jar",
        "/path/to/jar"
      ],
      "env": {
        "DB_URL": "jdbc:mysql://localhost:3306/your_database",
        "DB_USER": "your_username",
        "DB_PASSWORD": "YOUR_DB_PASSWORD",
        "API_PASSWORD": "YOUR_API_PASSWORD",
        "LOG_FILE": "./rdb-mcp-server.log"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
DB_URLDeclared in the maintainer’s client configuration.Check documentation
DB_USERDeclared in the maintainer’s client configuration.Check documentation
DB_PASSWORDDeclared in the maintainer’s client configuration.Check documentation
API_PASSWORDDeclared in the maintainer’s client configuration.Optional
LOG_FILEDeclared in the maintainer’s client configuration.Optional