Database Updater MCP Server
database-updater MCP 服务器
一个用于从 CSV 和 Excel 文件更新数据库的模型上下文协议(MCP)服务器。
功能
工具
update_database- 从 CSV/Excel 文件更新数据库支持 CSV 和 Excel (.xlsx, .xls) 文件格式
兼容多种数据库类型(PostgreSQL、MySQL、MongoDB、SQLite)
可配置连接设置和表映射
create_note- 创建并管理笔记(用于文档记录)存储有关数据库更新的重要信息
跟踪更改和修改
Related MCP server: MCP Database Server
使用方法
更新数据库
使用带有以下参数的 update_database 工具:
{
"filePath": "/path/to/your/file.csv",
"databaseType": "PostgreSQL",
"connectionString": "postgresql://user:pass@localhost:5432/db",
"tableName": "target_table"
}支持的数据库类型
PostgreSQL
MySQL
MongoDB
SQLite
开发
安装依赖:
npm install构建服务器:
npm run build用于自动重新构建的开发模式:
npm run watch安装
要在 Claude Desktop 中使用,请添加服务器配置:
MacOS 上:~/Library/Application Support/Claude/claude_desktop_config.json
Windows 上:%APPDATA%/Claude/claude_desktop_config.json
{
"mcpServers": {
"database-updater": {
"command": "/path/to/database-updater/build/index.js"
}
}
}调试
由于 MCP 服务器通过 stdio 进行通信,调试可能具有挑战性。我们建议使用 MCP Inspector:
npm run inspectorInspector 将提供一个 URL,以便在浏览器中访问调试工具。
Available Tools
2 toolscreate_noteB
Create a new note
Inputs: title (required), content (required).
update_databaseC
Update the database from a CSV or Excel file
Inputs: filePath (required), databaseType (required), connectionString (required), tableName (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 2 tools
The two tools have completely distinct purposes with no overlap: create_note is for creating a new note, while update_database is for updating a database from a file. An agent can easily tell them apart based on their different functions and target resources (note vs. database).
The naming is inconsistent: create_note follows a verb_noun pattern, but update_database uses a verb_noun pattern with a different verb style (update vs. create) and lacks a clear object for the update action. While both are readable, they do not follow a predictable or uniform convention across the set.
With only 2 tools, this server feels thin for a 'Database Updater' purpose. The scope suggests operations like querying, deleting, or managing database entries, but only update_database directly relates, while create_note seems out of place. This mismatch makes the count inappropriate for the apparent domain.
The tool surface is significantly incomplete for a database updater server. There are no tools for reading, deleting, or querying the database, and create_note does not align with the core domain. This leaves obvious gaps that will hinder agents in performing typical database operations.
Maintenance
Related MCP Connectors
Work with your database from AI tools: ask, export, approved changes, and scheduled jobs.
Query, explore, and manage your databases through natural conversation.
Push rows from a dataset, file or Google Sheet into a Postgres, Supabase, Neon or MySQL table.
Query 40 databases from Claude, ChatGPT, or Cursor — on any device. Read-only, encrypted, audited.
Related MCP Servers
- FlicenseNot gradedqualityDmaintenanceProvides Claude Desktop with secure access to multiple database connections, allowing users to query MySQL, PostgreSQL, SQLite, and SQL Server databases directly through natural language.-
- AlicenseNot gradedqualityDmaintenanceProvides Claude with direct access to databases including SQLite, SQL Server, PostgreSQL, and MySQL, enabling execution of SQL queries and table management through natural language.1MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to connect to and interact with SQLite, SQL Server, PostgreSQL, and MySQL databases through natural language. Supports executing queries, managing tables, exporting data, and storing business insights with authentication options including AWS IAM.MIT
- AlicenseNot gradedqualityDmaintenanceEnables Claude to query and manage databases (SQLite, SQL Server, PostgreSQL, MySQL) through natural language, supporting read/write operations and schema management.MIT