Skip to main content
Glama
Database Updater MCP Server

Database Updater MCP Server

by AnuragRai017

database-updater MCP 服务器

database-updater-MCP-Server MCP server

一个用于从 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 inspector

Inspector 将提供一个 URL,以便在浏览器中访问调试工具。

Available Tools

2 tools
create_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

    C2.8/5.0

    Scored across 2 tools

    Disambiguation5/5

    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).

    Naming Consistency2/5

    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.

    Tool Count2/5

    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.

    Completeness2/5

    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

    ActivityNo data
    ResponsivenessOutdated data

    Related MCP Connectors

    Related MCP Servers

    • F
      license
      Not graded
      quality
      D
      maintenance
      Provides Claude Desktop with secure access to multiple database connections, allowing users to query MySQL, PostgreSQL, SQLite, and SQL Server databases directly through natural language.
      -
    • A
      license
      Not graded
      quality
      D
      maintenance
      Provides Claude with direct access to databases including SQLite, SQL Server, PostgreSQL, and MySQL, enabling execution of SQL queries and table management through natural language.
      1
      MIT
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables 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
    • A
      license
      Not graded
      quality
      D
      maintenance
      Enables Claude to query and manage databases (SQLite, SQL Server, PostgreSQL, MySQL) through natural language, supporting read/write operations and schema management.
      MIT