Skip to main content

MCP Database Manager

An MCP server that enables LLM agents to perform CRUD operations across multiple databases.

Features

  • Multi-Database Support
  • Permission Management (Read-only by default)
  • SQLAlchemy Integration
  • list_connections redacts passwords from connection URLs in its output

Database Support

This MCP server supports multiple databases. You can enable specific database drivers using installation extras:

Extra Database Drivers Installed
postgres PostgreSQL psycopg2-binary
mysql MySQL pymysql, cryptography
mssql SQL Server pymssql
all All of the above All drivers

Configuration

The configuration file is located at:

  • ~/.mcp-database-manager/config.yaml (on all platforms)

Example config.yaml:

connections:
  - name: "main_db"
    url: "sqlite:///./main.db"
    readonly: true

Cursor Configuration

To use this MCP server in Cursor, add the following to your MCP settings (Settings > Features > MCP):

Option 1: Local Development (Recommended for debugging)

Use this if you have the source code locally and want to test changes immediately.

{
  "mcpServers": {
    "database-manager": {
      "command": "uv",
      "args": [
        "run",
        "--extra",
        "all",
        "mcp-database-manager"
      ],
      "cwd": "/absolute/path/to/mcp-database-manager"
    }
  }
}

Note: Replace /absolute/path/to/mcp-database-manager with the actual path to your project directory.

Option 2: Using PyPI (Published version)

Use this to run the stable version published on PyPI without cloning the repository.

{
  "mcpServers": {
    "database-manager": {
      "command": "uvx",
      "args": [
        "--from",
        "mcp-database-manager[all]",
        "mcp-database-manager"
      ]
    }
  }
}

Troubleshooting

If you see "Module not found" errors, ensure you are using uv run which handles the virtual environment automatically.

Metadata

Release files for mcp-database-manager 0.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for mcp-database-manager 0.1.4
File Size Uploaded Provenance
mcp_database_manager-0.1.4.tar.gz 78.2 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for mcp-database-manager 0.1.4
File Interpreter ABI Platform
mcp_database_manager-0.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 85.6 kB

Release files / mcp_database_manager-0.1.4.tar.gz

Download URL mcp_database_manager-0.1.4.tar.gz
Size 78.2 kB
Tags Source
SHA-256 checksum
How to use checksums
a35eed6d54e2d9100e311f4e970dcac8742d23c339db95697663d0e0f7a03377
BLAKE2b-256 checksum
How to use checksums
74287209daf0a2f3c56d2fe03fe8cc22688f8b15b6bccafa6dbaed0d4ad9b732
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Release files / mcp_database_manager-0.1.4-py3-none-any.whl

Download URL mcp_database_manager-0.1.4-py3-none-any.whl
Size 7.4 kB
Tags Python 3
SHA-256 checksum
How to use checksums
80a5ca1faea2c1076c4c6986a9ccde8b32a41749fd520dfbba7f056650c09ddf
BLAKE2b-256 checksum
How to use checksums
3e4f090925112623d4e45c50ef48a5d238207e163b19c5f710c32c9afed3f10e
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via uv/0.8.0

Security for mcp-database-manager 0.1.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page