{
"mcpServers": {
"dm-mcp-server": {
"command": "<see-readme>",
"args": []
}
}
}No install config available. Check the server's README for setup instructions.
Are you the author?
Add this badge to your README to show your security score and help users find safe servers.
本项目是一个基于达梦数据库的 MCP(Microservice Communication Protocol)服务,提供了以下功能: - 列出数据库中的表:通过 list_tables 工具列出指定数据库中的所有表。 - 执行只读 SQL 查询:通过 execute_query 工具执行只读 SQL 查询(仅支持 SELECT、SHOW、DESCRIBE 和 EXPLAIN 语句)。 - 显示表结构:通过 describe_table 工具显示指定表的结构。
Is it safe?
No package registry to scan.
No authentication — any process on your machine can connect.
License not specified.
Is it maintained?
Last commit 348 days ago. 12 stars.
Will it work with my client?
Transport: stdio, http. Works with Claude Desktop, Cursor, Claude Code, and most MCP clients.
No automated test available for this server. Check the GitHub README for setup instructions.
No known vulnerabilities.
Have you used this server?
Share your experience — it helps other developers decide.
Sign in to write a review.
Persistent memory using a knowledge graph
Privacy-first. MCP is the protocol for tool access. We're the virtualization layer for context.
Pre-build reality check. Scans GitHub, HN, npm, PyPI, Product Hunt — returns 0-100 signal.
Monitor browser logs directly from Cursor and other MCP compatible IDEs.
MCP Security Weekly
Get CVE alerts and security updates for Dm Mcp Server and similar servers.
Start a conversation
Ask a question, share a tip, or report an issue.
Sign in to join the discussion.
本项目是一个基于达梦数据库的 MCP(Microservice Communication Protocol)服务,提供了以下功能:
list_tables 工具列出指定数据库中的所有表。execute_query 工具执行只读 SQL 查询(仅支持 SELECT、SHOW、DESCRIBE 和 EXPLAIN 语句)。describe_table 工具显示指定表的结构。windows 下可以直接下载 dm-mcp-server 二进制文件,并添加到 PATH 中。
go install github.com/wangzhaobo168/dm-mcp-server
{
"mcpServers": {
"db-mcp-server": {
"command": "dm-mcp-server",
"args": [
],
"env": {
"DM_PORT": "端口号,默认5236",
"DM_HOST": "主机地址",
"DM_USERNAME": "账号",
"DM_PASSWORD": "密码",
"DM_SCHEMA": "模式名"
}
}
}
dm-mcp-server --version
github.com/mark3labs/mcp-go 库。在项目根目录下运行以下命令初始化 Go Modules 并下载依赖:
go mod init dm-mcp-server
go mod tidy
在运行服务之前,需要配置达梦数据库的连接信息。可以通过以下方式设置:
go run main.go \
-username <用户名> \
-password <密码> \
-host <主机地址> \
-port <端口> \
-schema <模式名>
dm-mcp-server/
├── main.go # 主程序入口
├── tools/ # 工具实现
│ ├── list_tables.go # 列出表工具
│ ├── execute_query.go # 执行查询工具
│ └── describe_table.go # 显示表结构工具
├── utils/ # 工具函数
│ ├── config.go # 配置管理
│ └── db.go # 数据库连接
├── go.mod # Go Modules 文件
└── README.md # 项目文档
欢迎提交 Issue 和 Pull Request 来改进本项目。请确保代码风格一致,并通过测试。
本项目采用 MIT 许可证。
github.com/mark3labs/mcp-go 库不可用,请替换为其他兼容的 MCP 实现。tools 包中添加新的工具。