MCP·279A32
C

mcp-dbs

By cuongtl1992·Visit Source
实现数据库连接的MCP协议
2025年4月18日
Today
1 Clicks
About mcp-dbs

实现数据库连接的MCP协议. mcp-dbs is a Model Context Protocol (MCP) server maintained by cuongtl1992. It connects to MCP-compatible clients such as Claude Desktop, Cursor, Cline, and other agents that speak the protocol. It exposes 4 tools, including connect-database, disconnect-database, execute-query and execute-update, that an agent can call directly. It is categorized under Tool/Database and Integration/Claude.

什么是MCP

这是一个模型上下文协议(MCP)实现,为多种数据库系统提供连接和操作支持,包括SQLite、PostgreSQL、SQL Server和MongoDB。

如何使用MCP

通过npm安装,可在SSE(服务器发送事件)模式或STDIO模式下运行。使用环境变量配置数据库连接,并通过MCP工具如connect-databaseexecute-query及模式探索工具进行交互。

MCP的用途

使Claude等AI助手能够连接并操作数据库,执行查询,探索模式,在支持的数据库系统中执行CRUD操作。

Repository Info
Stars:
21
Forks:
7
Watchers:
21
Last Updated: 2 months ago

AIMCP authority

DR and traffic signal for the AIMCP public domain.

FAQ

Frequently asked questions

What is the mcp-dbs MCP server?

mcp-dbs is a Model Context Protocol server from cuongtl1992. It lets MCP-compatible AI clients call its tools over a standard interface, so agents like Claude, Cursor, and Cline can use it without custom integration.

How do I connect mcp-dbs to my AI client?

Add mcp-dbs to your client's MCP configuration using the stdio or SSE connection shown in the usage examples on this page, then restart the client to load the server.

What tools does mcp-dbs provide?

mcp-dbs provides 4 tools: connect-database, disconnect-database, execute-query and execute-update.

Is mcp-dbs free to use?

mcp-dbs is listed on AIMCP for free. Any API keys or accounts required by the underlying service are set by its provider.

Sponsored

Vernclaw Plugins for OpenClaw

Ready-to-use connectors for SEO data, social reading & content generation. Pay-as-you-go credits with audit logs.