Dameng 8 database MCP server

Dameng 8 database MCP server

dameng-mcp-server•by1092705638

An MCP server that provides interaction with a Dameng 8 database, including SQL query execution and table resource access.

License: Not specified•Runtime: Awaiting documentation review•Category: databases storage

WHAT IT DOES

  • •Executes SQL statements against the Dameng database and returns results.
  • •Lists database tables as MCP resources.
  • •Reads the content data of database tables.
  • •Supports configuring database connection information through environment variables.

BEST FOR

  • •Running SQL queries and retrieving results from a Dameng 8 database through an MCP client.
  • •Exposing Dameng database tables as resources and reading their contents for MCP-based workflows.

ABOUT DAMENG-MCP-SERVER

Dameng 8 database MCP server is cataloged as an MCP server attributed to 1092705638. An MCP server that provides interaction with a Dameng 8 database, including SQL query execution and table resource access. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Dameng 8 database MCP server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What database does this MCP server connect to?

It connects to a Dameng 8 database and requires the dmPython driver.

How is the database connection information configured?

Database connection information is configured through environment variables, such as user, password, host and database name.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 503d4b36ade9 · 采集于 2026-11-13 11:01:52 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

dameng-mcp-server

达梦8数据库的MCP服务

项目简介

dameng-mcp-server 是一个基于 MCP (Model Context Protocol) 协议的达梦8数据库服务,提供了与达梦数据库交互的能力,支持执行SQL查询、列出数据库表资源和读取表内容等功能。

功能特性

  • 执行SQL查询:支持在达梦数据库上执行SQL语句并返回结果
  • 列出数据库表:将数据库表作为资源列出
  • 读取表内容:支持读取表的内容数据
  • 基于MCP协议:通过MCP协议与客户端进行通信
  • 环境变量配置:支持通过环境变量配置数据库连接信息

项目结构

dameng-mcp-server/
├── dameng/
│   ├── __init__.py    # 包初始化文件,提供main入口
│   ├── client.py      # MCP客户端实现
│   └── server.py      # MCP服务器实现
└── README.md          # 项目说明文档

依赖要求

  • Python 3.7+
  • dmPython(达梦数据库驱动)
  • mcp(MCP协议库)
  • pydantic
  • openai(客户端使用)
  • dotenv(加载环境变量)

安装方法

  1. 克隆项目到本地
git clone <repository-url>
cd dameng-mcp-server
  1. 安装依赖
pip install -r requirements.txt

环境变量配置

在项目根目录创建 .env 文件,配置以下环境变量:

# 数据库连接信息
DAMENG_USER=SYSDBA        # 数据库用户名
DAMENG_PASSWORD=SYSDBA    # 数据库密码
DAMENG_HOST=localhost     # 数据库主机
DAMENG_DATABASE=IDP_JH    # 数据库名

# OpenAI API配置(客户端使用)
DASHSCOPE_API_KEY=<your-api-key>  # OpenAI API Key
BASE_URL=<api-base-url>           # API基础URL
MODEL=<model-name>                # 使用的模型名称

使用方法

启动服务器

python -m dameng.server

运行客户端

python -m dameng.client

示例

执行SQL查询

客户端启动后,可以输入SQL查询语句,例如:

你: execute_sql {"query": "SELECT * FROM TABLE_NAME LIMIT 10"}

列出数据库表

服务器会自动列出数据库中的所有表作为资源。

注意事项

  • 确保已安装达梦数据库驱动 dmPython
  • 确保数据库服务已启动并可访问
  • 配置正确的环境变量信息

许可证

MIT License

更新日志

  • 初始版本:实现基本的MCP服务功能,支持执行SQL查询、列出表资源和读取表内容

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Dameng 8 database MCP server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/dameng-mcp-server)

REPOSITORY STATS

GitHub StarsUnavailable
ForksUnavailable

Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related databases storage MCP Servers

Alternative and complementary servers in the same category

View all in databases storage →
AIStor MCP server
mcp-server-aistor•minio

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

Repository stats unavailable
Databases & Storage
InfluxDB v2 MCP Server
influxdb-mcp-server•idoru

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.

Repository stats unavailable
Databases & Storage