Best Database MCP Servers in 2026
A database MCP server turns "describe the bug" into "the agent inspected the schema, ran the query, and found the rows." It is one of the highest-leverage additions to any development setup.
The servers below are ranked by adoption across Postgres, SQLite, MySQL, and multi-database tools. Each detail page notes connection configuration and whether the server supports read-only modes — strongly recommended for anything touching real data.

开源桌面SQL工作空间,支持PostgreSQL、MySQL/MariaDB、SQLite以及15+个数据库,如DuckDB、ClickHouse、Redis和Firestore。

Token conscious database MCP Server for Postgres、MySQL、SQL Server、MariaDB、SQLite。

Postgres MCP Pro 为你和你的 AI 代理提供可配置的读写访问和性能分析。

密探渗透测试工具包含资产信息收集,子域名爆破,搜索语法,资产测绘(聚合测绘,FO FA,Hunter,Quake,Zoomeye,DayDayMap,censys,shodan, 零零信安),指纹识别,敏感信息采集,文件扫描、端口扫描、弱口令破解、jwt密钥爆破、Sessionkey,heapdump, 微信小程序,密码本,随机用户,社工字典,AI渗透(MCP、代码审计)等功能

syngnat/gonavi 是一个从 https://github.com/syngnat/gonavi. 导入的 MCP 服务器候选

MCP服务器简明列表

查询MCP通过聊天界面实现Supabase的端到端管理:读写查询执行、管理API支持、自动迁移版本管理、日志访问等功能。

hhszzzz/taibu 是从 https://github.com/hhszzzz/taibu. 导入的 MCP 服务器候选。

一个强大的多数据库服务器,实现了模型上下文协议(MCP),为人工智能助手提供对数据库的结构化访问。

一个集中式的MCP服务器反向代理平台——从单一端点管理、分组并导出为技能。

一个MCP(模型上下文协议)服务器,使LLM能够访问并了解关系数据库,如SQLite、Postgresql、MySQL & MariaDB、Oracle和MS-SQL。

一款适用于Microsoft SQL Server的模型上下文协议(MCP)服务器,通过受控接口实现安全的数据库交互。
FAQ
Is it safe to connect an agent to my database?
Use a read-only database user with access to non-production data wherever possible. Several servers below offer explicit read-only or query-timeout safeguards — prefer those for anything beyond a local dev database.
Postgres, SQLite, or a multi-database server?
A dedicated server usually understands its dialect better — introspection, EXPLAIN plans, specific types. Multi-database servers are convenient when your stack spans several engines. The scenario pages below compare the popular options per database.
Can the agent modify data through these servers?
Only if the server exposes write tools and your database user has write permissions. Both layers are configurable — lock down the database user first, then decide which tools to enable.