MCP Database Agent
Click on "Deploy 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 Agentexplain the last query run by the orders service"
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 Agent
Project guide
Project architecture · Interview questions and answers
Use the architecture document for the component diagram, implementation boundaries, and verification entry points. The interview guide includes source-backed answers and project walkthroughs.
Implementation map
Component | Responsibility |
HTTP handlers: | |
Functions: | |
Implementation or supporting configuration | |
Implementation or supporting configuration | |
Executable checks and regression examples | |
GitHub Actions job definitions | |
Project explanations or operating notes |
Local setup and verification
From the repository root (the commands follow the checked-in manifests):
python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python -m pytest -qTo serve the FastAPI application locally, install the server separately if it is not already available:
python -m pip install uvicorn
PYTHONPATH=src python -m uvicorn mcpdb.main:app --reloadLevel: 10 — MCP & Tool-Using Agents
Skills: Python, read-only DB tools
Tools: explain, sample_rows, list_indexes. Apply/delete refused.
pip install -r requirements.txt
pytest -qThis is a local laptop proof. It does not call a hosted model and it does not apply production changes.
This server cannot be deployed
Maintenance
Related MCP Connectors
Read-only access to a Lumin project's logs, metrics, uptime checks, alerts and infrastructure.
Safe, read-only Postgres and MySQL access for AI agents. Audit log + column-level controls.
Read-only MCP access to a documented IT fleet: state, changes, posture. 15 tools.
Read-only Search Console analytics, URL inspection, indexing diagnostics, and sitemaps.
Related MCP Servers
- AlicenseNot gradedqualityDmaintenanceProvides secure, read-only access to PostgreSQL databases for schema inspection and data querying. It enables users to list tables, describe structures, and execute SELECT statements while strictly blocking destructive operations.7 npm1MIT
- AlicenseAqualityDmaintenanceEnables read-only MySQL database access, allowing listing databases, tables, describing schemas, and executing SELECT/SHOW/DESCRIBE/EXPLAIN queries.788 npm4MIT
- AlicenseAqualityCmaintenanceEnables read-only PostgreSQL interaction through safe query execution, query planning, table and column inspection, and privilege checks, with multi-layer defenses against write operations and transaction-control exploits.5MIT
- AlicenseNot gradedqualityBmaintenanceEnables read-only MySQL/MariaDB schema exploration and safe query cost estimation across multiple instances, with server-enforced write refusal and execution limits.Apache 2.0