MCP server for database management
Project description
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
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)
Use this if you have the source code locally.
{
"mcpServers": {
"database-manager": {
"command": "uv",
"args": [
"run",
"--extra",
"postgres",
"mcp-database-manager"
],
"cwd": "d:/code/mcp-database-manager"
}
}
}
Option 2: Using uvx (If published)
{
"mcpServers": {
"database-manager": {
"command": "uvx",
"args": [
"--with",
"mcp-database-manager[postgres]",
"mcp-database-manager"
]
}
}
}
Troubleshooting
If you see "Module not found" errors, ensure you are using uv run which handles the virtual environment automatically.
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
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file mcp_database_manager-0.1.0.tar.gz.
File metadata
- Download URL: mcp_database_manager-0.1.0.tar.gz
- Upload date:
- Size: 75.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b601d0c6ad4f24da9177a68687f216b982c6c910ba2375d3c35ed94d4ec4732d
|
|
| MD5 |
870a572908c1311cdc9c8927cc7cf136
|
|
| BLAKE2b-256 |
d557d97334fdb36c2973ce880aa3eee33323f844afe339a1615c2f258a32a9a5
|
File details
Details for the file mcp_database_manager-0.1.0-py3-none-any.whl.
File metadata
- Download URL: mcp_database_manager-0.1.0-py3-none-any.whl
- Upload date:
- Size: 5.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.8.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
844fcd095b21a4b6f21f47f770d8c55a25837827c28fcd2f576c4870ce4287ec
|
|
| MD5 |
c1ac4a89ebfa51a2995549c9ee4317b1
|
|
| BLAKE2b-256 |
9600fbed8103dcc1368a9810728c48afb92b8b7fafb6237eee4ca3909c532097
|