Skip to main content

Database MCP Server for SQL operations

Project description

Database MCP Server

📋 Documentation Languages | 文档语言

English 中文


🚀 Quick Start | 快速开始

A powerful database MCP (Model Context Protocol) server with multi-data source management and advanced SQL operations including table structure comparison and synchronization capabilities.

一个强大的数据库 MCP(模型上下文协议)服务器,支持多数据源管理和高级 SQL 操作,包括表结构对比和同步功能。

🎨 Key Features | 主要特性

  • Multi-Data Source Support | 多数据源支持
  • Table Structure Comparison | 表结构对比
  • SQL Generation | SQL 生成
  • Data Export/Import | 数据导出/导入
  • Connection Pooling | 连接池管理

📚 Full Documentation | 完整文档

Please choose your preferred language for detailed documentation:

请选择您偶爱的语言查看详细文档:

🌍 Language Options | 语言选项

Language Documentation Description
🇺🇸 English README_en.md Complete English documentation with installation, configuration, and usage examples
🇨🇳 中文 README_zh.md 完整的中文文档,包括安装、配置和使用示例

⚡ Quick Installation | 快速安装

# Using uv (recommended) | 使用 uv(推荐)
uvx database-mcp-server

# Or install uv first | 或者先安装 uv
curl -LsSf https://astral.sh/uv/install.sh | sh  # Linux/macOS
powershell -c "irm https://astral.sh/uv/install.ps1 | iex"  # Windows
uv tool install database-mcp-server

# Traditional pip installation | 传统 pip 安装
pip install database-mcp-server

📁 Project Structure | 项目结构

database-mcp-python/
├── README.md                        # This file | 本文件 (多语言导航)
├── docs/                            # Documentation | 文档目录
│   ├── README_en.md                 # English documentation | 英文文档
│   └── README_zh.md                 # Chinese documentation | 中文文档
├── src/                             # Source code | 源代码
│   ├── __init__.py                  # MCP service entry | MCP 服务入口
│   ├── factory/                     # Factory pattern | 工厂模式
│   ├── strategy/                    # Strategy pattern | 策略模式
│   ├── model/                       # Data models | 数据模型
│   └── tools/                       # Utility tools | 工具类
├── test/                            # Test directory | 测试目录
│   └── test_datasource.py           # Testing script | 测试脚本
├── database-config.example.yaml     # Config example | 配置示例
├── pyproject.toml                   # Project config | 项目配置
├── uv.lock                          # UV lock file | UV 锁定文件
├── CLAUDE.md                        # Project notes | 项目说明
└── LICENSE                          # MIT License | MIT 许可证

🔗 Quick Links | 快速链接


📄 License | 许可证

MIT License

🤝 Contributing | 贡献

Issues and Pull Requests are welcome! | 欢迎提交 Issue 和 Pull Request!

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

database_mcp_server-1.0.3.tar.gz (109.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

database_mcp_server-1.0.3-py3-none-any.whl (39.7 kB view details)

Uploaded Python 3

File details

Details for the file database_mcp_server-1.0.3.tar.gz.

File metadata

  • Download URL: database_mcp_server-1.0.3.tar.gz
  • Upload date:
  • Size: 109.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for database_mcp_server-1.0.3.tar.gz
Algorithm Hash digest
SHA256 b47d5a327d46125d2caf92a9e3a32d035b9cac5d956f0cb89cc68df65e570a91
MD5 aeffcfb564adcb2b239e982b3f095884
BLAKE2b-256 7c32c77a7fe7509a7e37e24df7fa76af6dbcb367cc88a6a9b9c650e84dd10f6b

See more details on using hashes here.

File details

Details for the file database_mcp_server-1.0.3-py3-none-any.whl.

File metadata

  • Download URL: database_mcp_server-1.0.3-py3-none-any.whl
  • Upload date:
  • Size: 39.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.2 {"installer":{"name":"uv","version":"0.11.2","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"Linux Mint","version":"22.3","id":"zena","libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for database_mcp_server-1.0.3-py3-none-any.whl
Algorithm Hash digest
SHA256 4e7d5322ba0cc295e2a635a83caf4dd70c4c13809e2a5a2481e98a13a3ca7721
MD5 d11eb9b84fb11e6538bfd4940e10a5c7
BLAKE2b-256 70fcc3c62b6d7d97dc12d64dd9af017a8730919ce349669e91e473d5ec901aa2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page