Skip to main content

Database MCP Server for SQL operations

Project description

database-mcp-python/ ├── src/ │ ├── init.py │ ├── core/ │ │ ├── init.py │ │ ├── database_mcp.py # 主MCP类 │ │ └── manager.py # 管理器类 │ ├── datasource/ │ │ ├── init.py │ │ ├── base.py # DataSource基类 │ │ ├── mysql_datasource.py # MySQL数据源 │ │ ├── oracle_datasource.py # Oracle数据源 │ │ └── factory.py # 数据源工厂 │ ├── strategy/ │ │ ├── init.py │ │ ├── database_strategy.py # 数据库策略基类(当前文件) │ │ ├── mysql_strategy.py # MySQL策略 │ │ └── oracle_strategy.py # Oracle策略 │ ├── model/ │ │ ├── init.py │ │ ├── data_group.py # DataGroup类 │ │ ├── delete_condition.py # DeleteCondition类 │ │ ├── query_condition.py # 查询条件类 │ │ └── table_metadata.py # 表元数据类 │ ├── config/ │ │ ├── init.py │ │ ├── config_loader.py # 配置加载器 │ │ └── database_config.py # 数据库配置类 │ ├── exception/ │ │ ├── init.py │ │ ├── database_error.py # 数据库异常类 │ │ └── connection_error.py # 连接异常类 │ └── utils/ │ ├── init.py │ ├── connection_pool.py # 连接池工具 │ └── validator.py # 验证工具 ├── tests/ │ ├── init.py │ ├── core/ │ ├── datasource/ │ ├── strategy/ │ ├── model/ │ └── utils/ ├── examples/ │ ├── init.py │ └── usage_example.py ├── docs/ │ └── README.md ├── requirements.txt └── setup.py

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.0.tar.gz (44.0 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.0-py3-none-any.whl (8.0 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: database_mcp_server-1.0.0.tar.gz
  • Upload date:
  • Size: 44.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.8.0

File hashes

Hashes for database_mcp_server-1.0.0.tar.gz
Algorithm Hash digest
SHA256 ee45eff8c7264ea8d37dab2470748302b7df868cfff18e5364355cd2826a1058
MD5 893381bcc99a82c691978e0ba5b82305
BLAKE2b-256 7573bb757825ad69bbbff77303be1c87f6abd84fdc4e5c64cd8d1948eec85eda

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for database_mcp_server-1.0.0-py3-none-any.whl
Algorithm Hash digest
SHA256 8a27c44ab350275a5619f4e1b5bede7e7a744f771153c93c094914bcccd7a0b8
MD5 068059ef9fef8f9bf05c655bcbf59f63
BLAKE2b-256 9562ff88f943678871a4038a0801112b56bae1001b74c004d284917247ba618f

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