Skip to main content
Glama

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

Описание

list_sources

Источники и время индексации

search_objects

Поиск объектов

describe_object

Колонки и определение

get_object_usages

Входящие/исходящие зависимости

get_table_relationships

Граф связей, PlantUML / Mermaid

get_dependencies_tree

Дерево зависимостей

refresh_metadata

Запуск индексации

execute_query

Выполнение SQL (если query_execution.enabled: true)

Права учётной записи БД: docs/db-permissions.md.

Документация

Документ

Содержание

docs/TZ.md

Техническое задание

docs/deployment.md

Развёртывание

docs/db-permissions.md

Права пользователя БД (MS SQL, PostgreSQL)

Тесты

pytest

Docker

docker compose -f docker/docker-compose.yml up -d
F
license - not found
-
quality - not tested
C
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

  • A
    license
    -
    quality
    D
    maintenance
    MCP server for connecting to databases (PostgreSQL, MySQL, SQL Server, Redis) enabling SQL queries, table exploration, and Redis key-value operations.
    Last updated
    1
    MIT
  • F
    license
    -
    quality
    C
    maintenance
    MCP 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.
    Last updated
  • A
    license
    -
    quality
    C
    maintenance
    MCP server for accessing Oracle databases, enabling schema exploration, query execution, and performance analysis.
    Last updated
    MIT

View all related MCP servers

Related MCP Connectors

  • Autopilot MCP server for GEO analyses, reports, content, audits, memories and agents.

  • MCP server for managing Prisma Postgres.

  • Remote MCP server for XDaLa workflow preparation on XGR.Network.

View all MCP Connectors

Latest Blog Posts

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