mcp_db
Enables retrieval of database metadata (tables, columns, relationships, dependencies) from PostgreSQL databases, supporting search, object description, and dependency analysis.
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_dbshow me the relationships for the orders 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_db — MCP-сервер метаданных корпоративных БД
MCP-сервер для Cursor: структура таблиц, неявные связи (из JOIN/WHERE в процедурах, функциях, триггерах и VIEW), зависимости объектов, экспорт в PlantUML.
Статус
v0.1.0 — каркас, metadata store, HTTP MCP-сервер, SQL-анализатор, extractors MS SQL / PostgreSQL, индексация refresh.
Related MCP server: onec-meta-mcp
Быстрый старт
cd MCP_DB
python -m venv .venv311
.venv311\Scripts\activate
pip install -e ".[dev]"
copy config\config.example.yaml config\config.yaml
# задать GBD_USER, GBD_PASSWORD и т.д.
python -m mcp_db refresh --verbose
python -m mcp_db serveСервер: http://0.0.0.0:8765/mcp (Streamable HTTP). Health: http://localhost:8765/health.
MCP Tools
Tool | Описание |
| Источники и время индексации |
| Поиск объектов |
| Колонки и определение |
| Входящие/исходящие зависимости |
| Граф связей, PlantUML / Mermaid |
| Дерево зависимостей |
| Запуск индексации |
| Выполнение SQL (если |
Права учётной записи БД: docs/db-permissions.md.
Документация
Документ | Содержание |
Техническое задание | |
Развёртывание | |
Права пользователя БД (MS SQL, PostgreSQL) |
Тесты
pytestDocker
docker compose -f docker/docker-compose.yml up -dThis server cannot be installed
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-qualityDmaintenanceMCP server for connecting to databases (PostgreSQL, MySQL, SQL Server, Redis) enabling SQL queries, table exploration, and Redis key-value operations.1MIT
- Flicense-qualityCmaintenanceMCP server for searching and analyzing 1C enterprise metadata and BSL code using a SQLite backend. Enables querying configuration structure, code routines, and performing compliance checks via natural language.
- Alicense-qualityCmaintenanceMCP server for accessing Oracle databases, enabling schema exploration, query execution, and performance analysis.MIT
- Alicense-qualityCmaintenanceEnterprise-grade MCP server for Microsoft SQL Server, enabling semantic schema discovery, table profiling, safe data operations with preview/confirm, and multi-environment support.30MIT
Related MCP Connectors
MCP server for AI access to Swagger by SmartBear.
Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.
MCP server for managing Prisma Postgres.
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/ayuriiuni-prog/MCP_DB'
If you have feedback or need assistance with the MCP directory API, please join our Discord server