rdb_mcp_server

rdb_mcp_server

3.1

If you are the rightful owner of rdb_mcp_server and would like to certify it and/or have it hosted online, please leave a comment on the right or send an email to henry@mcphub.com.

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

The rdb-mcp-server is an experimental Model Context Protocol (MCP) server designed to facilitate low-level SQL operations using JDBC. It leverages Spring AI and uses standard input/output (stdio) as its transport mechanism. This project is a prototype generated by AI and supports multiple databases including MySQL, PostgreSQL, and SQLite. The server requires Java 17 or later to run and can be configured using environment variables for database connection details and logging. It is designed to be integrated with MCP clients like Cline and Cursor, providing a flexible solution for executing SQL queries and statements.

Features

  • Supports multiple databases: MySQL, PostgreSQL, and SQLite.
  • Uses stdio as the transport mechanism for communication.
  • Configurable via environment variables for database connection and logging.
  • Integrates with MCP clients like Cline and Cursor.
  • Requires Java 17 or later for execution.

Tools

  1. executeQuery

    Executes read-only SQL queries. No authentication required. Vulnerable to SQL injection.

  2. executeRawSql

    Executes raw SQL statements. Requires password for non-read-only operations.

  3. executePreparedSql

    Executes parameterized SQL operations using PreparedStatement.