-
securityF
license-
qualityA server implementing the Model Context Protocol (MCP) for Cursor that allows using a PostgreSQL database as storage for model contexts, enabling secure database exploration and querying.
Last updated -
JavaScript
强大的模型上下文协议 (MCP) 工具,用于探索和管理不同类型的数据库,包括 PostgreSQL、MySQL 和 Firestore。
在将工具添加到 Cursor 之前,您需要构建项目:
要将工具添加到光标:
/path/to/project
替换为项目目录的实际路径。使用工具:
!pg
并附带连接详细信息!mysql
并附带连接详细信息!firestore
并附带连接详细信息!tables
列出所有表!triggers
查看触发器!functions
列出函数!query
执行 SQL 查询!export-db
导出表模式!export-data
导出表数据有关详细的使用示例,请参阅下面的命令部分。
!pg
连接到 PostgreSQL 数据库!mysql
连接到 MySQL 数据库!firestore
连接到 Firestore 数据库!tables
列出所连接数据库中的所有表!triggers
- 列出所连接数据库中的所有触发器!functions
- 列出所连接数据库中的所有函数!query
执行 SQL 查询(仅限 PostgreSQL 和 MySQL)!export-db
- 导出表模式!export-data
- 将表数据导出为 INSERT 语句pg
mysql2
@google-cloud/firestore
用于 FirestoreYou must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
强大的模型上下文协议 (MCP) 工具,用于探索和管理不同类型的数据库,包括 PostgreSQL、MySQL 和 Firestore。
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/wirdes/db-mcp-tool'
If you have feedback or need assistance with the MCP directory API, please join our Discord server