JDBC-MCP - Database Access for AI Assistants
@guanghuang
About JDBC-MCP - Database Access for AI Assistants
JDBC MCP modified from quarkus-mcp-servers
Basic information
Config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"jdbc-mcp": {
"command": "docker",
"args": [
"run",
"-d",
"--name",
"jdbc-mcp",
"\\"
]
}
}
}Tools
No tools detected
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
Overview
What is JDBC-MCP - Database Access for AI Assistants?
JDBC-MCP is a Model Context Protocol (MCP) server that enables AI assistants to interact with databases through JDBC connections. It allows large language models (LLMs) to inspect, query, create, and modify database content. This fork of the Quarkus MCP JDBC Server adds Docker deployment support and enhanced security with write queries disabled by default.
How to use JDBC-MCP - Database Access for AI Assistants?
Run the server as a Docker container using either SSE (Streaming Server Events) or STDIO transport. Set required environment variables (jdbc.url, jdbc.user, jdbc.password) and optionally enable.write.sql. For STDIO with Claude Desktop, configure the Docker command in claude_desktop_config.json. An environment file (.env) can be used for configuration.
Key features of JDBC-MCP - Database Access for AI Assistants
- Docker deployment via SSE or STDIO transport.
- Write queries (INSERT, UPDATE, DELETE) disabled by default for security.
- Supports multiple database types through JDBC.
- Configurable via environment variables.
- Compatible with Claude Desktop and other MCP clients.
Use cases of JDBC-MCP - Database Access for AI Assistants
- AI assistants querying read-only database content.
- Developers inspecting database schemas with a language model.
- Securely modifying database records when explicitly enabled.
- Automating database interactions from containerized environments.
FAQ from JDBC-MCP - Database Access for AI Assistants
How do I enable write operations?
Set the environment variable enable.write.sql=true when running the Docker container.
What database types are supported?
For details on supported JDBC variants, refer to the original Quarkus MCP JDBC Server documentation.
How can I restrict the server to read-only access?
Leave enable.write.sql unset or set to false (the default). Also use a read-only database user for additional security.
What transport modes are available?
SSE (HTTP) and STDIO. For SSE, the endpoint is http://localhost:8080/mcp/sse. STDIO requires the environment variables quarkus.mcp.server.stdio.enabled=true, quarkus.log.console.enable=false, and quarkus.log.console.stderr=false.
Where does the data live?
The server connects to an external database specified by the jdbc.url; data remains in that database. The server itself does not store data persistently.
More Databases MCP servers
Postgres Mcp
crystaldbaPostgres MCP Pro provides configurable read/write access and performance analysis for you and your AI agents.
Meilisearch MCP Server
meilisearchA Model Context Protocol (MCP) server for interacting with Meilisearch through LLM interfaces.
Dbhub
bytebaseZero-dependency, token-efficient database MCP server for Postgres, MySQL, SQL Server, MariaDB, SQLite.
Neon MCP Server
neondatabaseMCP server for interacting with Neon Management API and databases
mcp_mysql_server
wenb1n-devModel Context Protocol (MCP) server that supports secure interaction with MySQL databases and has anomaly analysis capabilities.更加牛逼!更加好用!不仅止于mysql的增删改查功能; 还包含了数据库异常分析能力;且便于开发者们进行个性化的工具扩展
Comments