About
Node JDBC — Model Context Protocol server
README
这是一个基于Node.js的JDBC MCP服务器,支持MySQL、Oracle和SQLite数据库。
系统要求
- Node.js >= 18.0.0
- MySQL Server
- Oracle Database (可选)
- SQLite3
安装
- 克隆项目:
git clone [repository-url]
cd node-jdbc-server
- 安装依赖:
npm install
- 配置环境变量:
复制
.env.example文件为.env,并根据实际情况修改配置。
使用方法
- 启动服务器:
npm start
- 开发模式启动(支持热重载):
npm run dev
API接口
健康检查
GET /health
执行SQL查询
POST /query
Content-Type: application/json
{
"type": "mysql|oracle|sqlite",
"sql": "SELECT * FROM users WHERE id = ?",
"params": [1]
}
关闭数据库连接
POST /close
Content-Type: application/json
{
"type": "mysql|oracle|sqlite"
}
注意事项
- 使用Oracle数据库时,需要安装Oracle客户端
- 确保数据库服务器已启动并可访问
- 正确配置数据库连接信息
- 建议在生产环境中使用环境变量管理敏感信息
Installing Node JDBC
This server has no published package — it is built from source. Open the repository and follow its README.
▸ github.com/darkSheep404/Node-JDBC-MCP-ServerFAQ
Is Node JDBC MCP free?
Yes, Node JDBC MCP is free — one-click install via Unyly at no cost.
Does Node JDBC need an API key?
No, Node JDBC runs without API keys or environment variables.
Is Node JDBC hosted or self-hosted?
Self-hosted: the server runs locally on your machine via the install command above.
How do I install Node JDBC in Claude Desktop, Claude Code or Cursor?
Open Node JDBC 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
GitHub
PRs, issues, code search, CI status
by GitHubFilesystem
Secure file operations with configurable access controls.
Memory
Knowledge graph-based persistent memory system.
Template MCP Server
A CLI tool to create a new Model Context Protocol server project with TypeScript support, dual transport options, and an extensible structure
by mcpdotdirectCompare Node JDBC with
Not sure what to pick?
Find your stack in 60 seconds
Author?
Embed badge for your README
Browse similar
All development MCPs
