jdbc-mcp

jdbc-mcp

0

JDBC-MCP is a fork of the Quarkus MCP JDBC Server that enables AI assistants to interact with databases using JDBC connections. It features Docker deployment and enhanced security measures, supporting multiple database types. The project is geared towards providing secure, containerized access for Large Language Models to inspect and query database contents.

JDBC-MCP - Database Access for AI Assistants

This project is a fork of the Quarkus MCP JDBC Server with added features, such as Docker deployment and enhanced security. It allows AI assistants to interact with databases through JDBC connections via the Model Context Protocol (MCP). New features include running the MCP SSE or MCP STDIO as a containerized application, with disabled write queries by default to enhance security. Supports multiple database types through JDBC connections.

Configuration

  • Environment Variables: Configure important variables like jdbc.url, jdbc.user, jdbc.password, and security-sensitive options like enable.write.sql.

Security Considerations

  • Enable write operations cautiously in production.
  • Use read-only database users and implement access controls.

Using with LLMs

  • Connect LLMs to databases via MCP server for read-only or read-write operations.

License

  • Apache License 2.0.

Acknowledgments

  • Based on Quarkiverse MCP Servers and built with Quarkus, containerized with Docker.