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.
连接能力
rdb-mcp-server 为 AI Agent 提供什么
来源目录未提供结构化功能列表,请在使用前阅读源仓库文档。
安全
MCP 收录不等于安全审核
MCP 服务器可能获得模型上下文、凭据、本地文件或调用外部系统的权限。连接 Agent 前,请检查代码、环境变量、网络行为、软件包来源与维护状态。
README
仓库文档
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.
社区