# db-mcp-server

> A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

- **URL**: https://www.freshcrate.ai/projects/db-mcp-server
- **Author**: FreePeak
- **Category**: MCP Servers
- **Latest version**: `v1.9.0` (2026-04-11)
- **License**: MIT
- **Source**: https://github.com/FreePeak/db-mcp-server
- **Language**: Go
- **GitHub**: 365 stars, 63 forks
- **Registry**: github
- **Tags**: `database-mcp-server`, `go`, `mcp-server`

## Description

A powerful multi-database server implementing the Model Context Protocol (MCP) to provide AI assistants with structured access to databases.

## Recent releases

| Version | Date | Urgency | Changes |
| --- | --- | --- | --- |
| `v1.9.0` | 2026-04-11 | High | ## New Features  - Add `--unified-tools` flag for consolidated MCP tool registration (#55)  ## How it works  When connecting many databases (e.g. 30+), the server previously registered 5 tools per database — resulting in 150+ tools. With `--unified-tools`, only 6 shared tools are registered (`query`, `execute`, `transaction`, `performance`, `schema`, `list_databases`) that accept a `database` parameter.  ## Usage  ```bash # Default mode — per-database tools (no changes) ./db-mcp-server -c config |
| `v1.8.0` | 2025-05-09 | Low | **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.7.0...v1.8.0 |
| `v1.7.0` | 2025-04-24 | Low | ## What's Changed * fix: add command build multi arch docker image by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/27 * Feat/query config timeout by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/31   **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.6.4...v1.7.0 |
| `v1.6.4` | 2025-04-11 | Low | ## What's Changed * Chore/update readme by @dienvt in https://github.com/FreePeak/db-mcp-server/pull/25 * fix: update logic postgres query by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/24  ## New Contributors * @dienvt made their first contribution in https://github.com/FreePeak/db-mcp-server/pull/25  **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.6.3...v1.6.4 |
| `v1.6.3` | 2025-04-10 | Low | ## What's Changed * Fix/checking issue by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/23   **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.6.2...v1.6.3 |
| `v1.6.2` | 2025-04-05 | Low | ## What's Changed * Feat: enhance posgtress connection by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/20   **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.6.1...v1.6.2 |
| `v1.6.1` | 2025-04-01 | Low | **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.6.0...v1.6.1  ## [v1.6.1] - 2025-04-01  ### Added - OpenAI Agents SDK compatibility by adding Items property to array parameters - Test script for verifying OpenAI Agents SDK compatibility  ### Fixed - Issue #8: Array parameters in tool definitions now include required `items` property - JSON Schema validation errors in OpenAI Agents SDK integration |
| `v1.6.0` | 2025-03-31 | Low | ## What's Changed * Feat/internal logging by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/15   **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.5.1...v1.6.0 |
| `v1.5.1` | 2025-03-31 | Low | ## What's Changed * fix: sever name register by @linhdmn in https://github.com/FreePeak/db-mcp-server/pull/12   **Full Changelog**: https://github.com/FreePeak/db-mcp-server/compare/v1.5.0...v1.5.1 |
| `v1.5.0` | 2025-03-30 | Low | # Release Notes: Switch to Cortex Platform  ## Major Features  ### Cortex Platform Integration - Migrated core server architecture to Cortex platform - Restored functionality for all database tools - Added comprehensive Docker support with docker-compose  ## Improvements  ### Database Enhancements - Fixed database connection fallback mechanism - Ensured all database tools work properly with the new platform  ### API Refinements - Improved JSON RPC formatting - Fixed response f |

## Citation

- HTML: https://www.freshcrate.ai/projects/db-mcp-server
- Markdown: https://www.freshcrate.ai/projects/db-mcp-server.md
- Dependencies JSON: https://www.freshcrate.ai/api/projects/db-mcp-server/deps

_Generated by freshcrate.ai. Indexes github releases for AI-agent ecosystem packages._
