mcp-database-server
by executeautomation·★ 351·综合分 47
MCP 数据库服务器将 SQLite、SQL Server、PostgreSQL 和 MySQL 数据库连接到 Claude。
databasedeveloper-tools
96
Forks
21
活跃 Issue
9 个月前
最近提交
2 天前
收录于
概述
这个 MCP 服务器通过统一接口使 Claude 能够与多个数据库系统交互。它提供执行 SQL 查询、管理数据库架构、导出数据以及存储业务洞察的工具。该服务器既支持通过 NPM 包直接使用,也支持本地开发配置。
试试问 AI
装完之后,这里有 5 个你可以让 AI 做的事:
你:通过 Claude 查询数据库进行数据分析和报告
你:使用 Claude 的自然语言界面进行数据库架构管理和修改
你:数据导出与基于 Claude 的工作流集成
你:支持哪些数据库?
你:如何使用 AWS RDS 进行身份验证?
什么时候选它
当您需要通过 Claude 统一访问多种数据库类型(SQLite、SQL Server、PostgreSQL、MySQL)且无需编写自定义集成时,选择此 MCP 服务器。
什么时候不要选它
如果您需要基本 SQL 操作之外的专业数据库功能,或需要比文档所述更高级的企业级安全控制,请避免使用。
此 server 暴露的工具
从 README 抽取出 10 个工具read_queryExecute SELECT queries to read data
write_queryExecute INSERT, UPDATE, or DELETE queries
create_tableCreate new tables in the database
alter_tableModify existing table schema
drop_tableRemove a table from the database
list_tablesGet a list of all tables
describe_tableView schema information for a table
export_queryExport query results as CSV/JSON
append_insightAdd a business insight to memo
list_insightsList all business insights
可对比工具
db-mcpsqlai-mcppostgres-mcpneon-mcp
安装
安装
- 全局安装包:
npm install -g @executeautomation/database-server- 配置 Claude Desktop 示例:
{
"mcpServers": {
"sqlite": {
"command": "npx",
"args": [
"-y",
"@executeautomation/database-server",
"/path/to/your/database.db"
]
}
}
}FAQ
- 支持哪些数据库?
- 支持 SQLite、SQL Server、PostgreSQL 和 MySQL 数据库。
- 如何使用 AWS RDS 进行身份验证?
- 使用 --mysql --aws-iam-auth 标志,并在环境中配置适当的 AWS 凭据。
mcp-database-server 对比
最后更新于 · 由 README + GitHub 公开数据自动生成。