MCP Database Manager
Enables LLM agents to perform CRUD (Create, Read, Update, Delete) operations on MySQL databases.
Enables LLM agents to perform CRUD (Create, Read, Update, Delete) operations on PostgreSQL databases.
Integrates with SQLAlchemy to provide a unified interface for LLM agents to perform CRUD operations across multiple supported database systems.
Enables LLM agents to perform CRUD (Create, Read, Update, Delete) operations on SQLite databases.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@MCP Database ManagerShow me the schema for the users table"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
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_connectionsredacts passwords from connection URLs in its output
Related MCP server: SQLite MCP Server
Database Support
This MCP server supports multiple databases. You can enable specific database drivers using installation extras:
Extra | Database | Drivers Installed |
| PostgreSQL |
|
| MySQL |
|
| SQL Server |
|
| 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: trueCursor 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-managerwith 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.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- Alicense-qualityDmaintenanceEnables secure interaction with multiple SQL database engines (MySQL, PostgreSQL, SQLite, SQL Server) through a standardized interface. Supports schema inspection, safe query execution, and controlled write operations with built-in security restrictions.Last updated5MIT
- Alicense-qualityDmaintenanceEnables LLM agents to perform complete database operations on SQLite databases, including creating tables, executing queries, and managing data through CRUD operations with schema inspection capabilities.Last updated51MIT
- AlicenseAqualityAmaintenanceEnables LLMs to interact with MySQL databases through standardized protocol, supporting database management, table operations, data queries, and modifications with configurable permission controls.Last updated15871MIT
- Alicense-qualityAmaintenanceConnect AI agents to SQL databases (SQLite, PostgreSQL, MySQL) with a unified interface for querying data, exploring schemas, inserting rows, and exporting results to CSV. Includes safety features like dangerous query blocking and write guards.Last updated16MIT
Related MCP Connectors
Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.
Gateway between LLM agents and world data through eight tools and a bundled endpoint catalog.
The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/meimingqi222/mcp-database-manager'
If you have feedback or need assistance with the MCP directory API, please join our Discord server