MCP.so
登录

Database Tools for Claude AI MCP Server

@elber-code

基本信息

分类

数据库

传输方式

stdio

作者

elber-code

关于 Database Tools for Claude AI MCP Server

MCP tool that allows you to interact with MySQL databases

Database Tools for Claude AI MCP Server 配置

使用下面的配置,将此服务器添加到你的 MCP 客户端。

{
  "mcpServers": {
    "database-tools": {
      "command": "npx",
      "args": [
        "-y",
        "@smithery/cli",
        "install",
        "@elber-code/database-tools",
        "--client",
        "claude"
      ]
    }
  }
}

Database Tools for Claude AI MCP Server 工具

工具列表暂未提供

当前收录暂时没有可展示的工具列表,不代表服务没有工具。请查阅项目文档了解支持的能力。

点击上方按钮,在临时沙箱中运行此服务器并实时获取工具列表。

概览

What is Database Tools for Claude AI?

Database Tools for Claude AI is an MCP (Model Context Protocol) server that enables Claude AI to interact directly with MySQL databases. It allows executing SQL queries, retrieving table information, and viewing formatted results within Claude.

How to use Database Tools for Claude AI?

The server is installed via Smithery (npx -y @smithery/cli install @elber-code/database-tools --client claude) or manually by cloning the repository, installing dependencies with npm install, and adding the configuration to claude_desktop_config.json. Once configured, users can ask Claude to list databases, view tables, check table sizes, or execute custom SQL queries.

Key features of Database Tools for Claude AI

  • Query MySQL databases directly through Claude.
  • Execute any valid SQL query.
  • Retrieve information about tables, including size and structure.
  • Provides formatted results for easy reading in Claude.

Use cases of Database Tools for Claude AI

  • List all databases available in a MySQL server.
  • Display the tables inside a specific database.
  • Check the size of a given table.
  • Run ad‑hoc custom SQL queries based on natural language descriptions.
  • Explore database schema and table structures interactively.

常见问题

1

What does Database Tools for Claude AI do?

It is an MCP server that lets Claude AI connect to MySQL databases, execute SQL queries, and display the results in a readable format.

2

How do I install Database Tools for Claude AI?

You can install it automatically via Smithery (`npx -y @smithery/cli install @elber-code/database-tools --client claude`) or manually by cloning the repository, running `npm install`, and configuring the path in `claude_desktop_config.json`.

3

How do I configure Database Tools for Claude AI?

Add the server to your `claude_desktop_config.json` file with the command `node` and the argument pointing to the full path of `index.js`.

4

What security considerations are there?

The tool uses the credentials configured in the `mysql.js` file. Ensure that those credentials have only the minimum permissions required for the operations you intend to allow.

5

What should I do if I have connection problems?

Verify that MySQL is running, that the credentials in `mysql.js` are correct, and that the path in the Claude configuration file points to the right location.

评论

数据库 分类下的更多 MCP 服务器