Browser Automation · MODEL CONTEXT PROTOCOL
rdb-mcp-server
rdb-mcp-server is a community-listed Model Context Protocol server. Review the source repository before installation.
WHAT IT CONNECTS
What rdb-mcp-server gives an AI Agent
The source catalog does not include a structured feature list. Review the repository documentation before use.
SECURITY
An MCP listing is not a security review
An MCP server may receive model context, credentials, local files, or permission to call external systems. Review its code, requested environment variables, network behavior, package provenance, and maintenance status before connecting it to an agent.
README
Repository documentation
Experimental MCP server based on Spring AI for low-level SQL operations using JDBC.
Uses stdio as the transport mechanism.
Project prototype is AI generated.
- MySQL
- PostgreSQL
- SQLite
- Java 17 or later
Download the JAR from the GitHub releases page.
Available environment variables:
DB_URL: Database connection URL (default:jdbc:sqlite:./sqlite.db)DB_USER: Database usernameDB_PASSWORD: Database passwordAPI_PASSWORD: Password for non-read-only operations (optional)LOG_FILE: Log file path (optional, default:./rdb-mcp-server.log)
java -jar x.x.x.jar{
"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_password",
"API_PASSWORD": "your_password_here",
"LOG_FILE": "./rdb-mcp-server.log"
},
"disabled": false,
"autoApprove": []
}
}
}{
"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_password",
"API_PASSWORD": "your_password_here",
"LOG_FILE": "./rdb-mcp-server.log"
}
}
}
}Executes read-only SQL queries. No authentication required.
Vulnerable to SQL injection。
Executes raw SQL statements. Requires password for non-read-only operations.
Executes parameterized SQL operations using PreparedStatement.
Add the appropriate database driver to the pom.xml file and rebuild.
COMMUNITY