Get the FREE Ultimate OpenClaw Setup Guide →

mcp -database-jdbc

A MCP (model context protocol) server that gives the LLM access to and knowledge about databases

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio delei-mcp-server-database-jdbc docker run -i delei/mcp-server-database-jdbc

How to use

This MCP server is a Database-enabled MCP backend that uses JDBC to connect to a relational database for storing MCP metadata and runtime information. It exposes the standard MCP endpoints and tooling for managing MCP resources while persisting state in an external database. Once running, you can interact with the server using the MCP tooling and APIs described by the MCP ecosystem, and rely on the JDBC-backed storage for durable data across restarts. Typical workflows include provisioning MCP entities, querying status, and performing migrations or upgrades that rely on a consistent database layer.

How to install

Prerequisites:

  • Docker installed and running on your machine or server
  • Access to the internet to pull the Docker image

Installation steps:

  1. Ensure Docker is up and running:
    • On Linux/macOS: docker info
    • On Windows: Docker Desktop should be running
  2. Pull the MCP Database JDBC image (or pull during run): docker pull delei/mcp-server-database-jdbc
  3. Run the MCP server in a container: docker run -i --rm delei/mcp-server-database-jdbc Optional: map ports if the server exposes a port (e.g., -p 25565:25565) and configure environment variables as needed
  4. Validate startup:
    • Check container logs for startup messages indicating the MCP server is ready
  5. Configure your MCP client/tools to point at the running server endpoint and test basic MCP operations

If you need to customize the database connection, refer to the image documentation for environment variables related to JDBC URL, credentials, and pool settings and launch the container with -e VAR=value accordingly.

Additional notes

Environment variables and configuration options for this image may include JDBC connection details (URL, user, password) and any MCP-specific toggles (enable/disable features, logging level). Ensure the database is accessible from the container network and that firewall rules permit the MCP port. If you encounter connection issues, verify that the JDBC driver matches the database type (e.g., PostgreSQL, MySQL) and that the database user has proper schema permissions. Review container logs for startup exceptions and consult the image’s docs for recommended database versions and migration notes.

Related MCP Servers

atmosphere

3.7k

Stream Real Time and LLM response data over WebSocket, SSE, and the MCP protocol

yu-ai-agent

1.7k

编程导航 2025 年 AI 开发实战新项目,基于 Spring Boot 3 + Java 21 + Spring AI 构建 AI 恋爱大师应用和 ReAct 模式自主规划智能体YuManus,覆盖 AI 大模型接入、Spring AI 核心特性、Prompt 工程和优化、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、AI Agent 开发(Manas Java 实现)、Cursor AI 工具等核心知识。用一套教程将程序员必知必会的 AI 技术一网打尽,帮你成为 AI 时代企业的香饽饽,给你的简历和求职大幅增加竞争力。

ai-code-helper

489

2025 年 AI 编程助手实战项目(作者:程序员鱼皮),基于 Spring Boot 3.5 + Java 21 + LangChain4j + AI 构建智能编程学习与求职辅导机器人,覆盖 AI 大模型接入、LangChain4j 核心特性、流式对话、Prompt 工程、RAG 检索增强、向量数据库、Tool Calling 工具调用、MCP 模型上下文协议、Web 爬虫、安全防护、Vue.js 前端开发、SSE 服务端推送等企业级 AI 应用开发技术。帮助开发者掌握 AI 时代必备技能,熟悉 LangChain 框架,提升编程学习效率和求职竞争力,成为企业需要的 AI 全栈开发人才。

spring-ai

200

Java SDK for the Model Context Protocol (MCP), providing seamless integration between Java and Spring applications and MCP-compliant AI models and tools.

RelaMind

193

基于 AI 的个人成长轨迹分析系统,通过记录生活、回顾历史、分析模式帮助用户更好地理解自己,实现持续成长。包含智能路由、RAG 检索、自主任务智能体等功能。

mcp-mianshiya

118

基于 Spring AI 的面试鸭搜索题目的 MCP Server 服务,快速让 AI 搜索企业面试真题和答案

Sponsor this space

Reach thousands of developers