Skip to main content
Glama
rog0x

mcp-database-tools

by rog0x

mcp-database-tools

AI 에이전트를 위한 SQL 및 데이터베이스 도구를 제공하는 MCP 서버입니다. 모든 분석은 SQL 텍스트에서 수행되며, 실제 데이터베이스 연결이 필요하지 않습니다.

도구

sql_format

적절한 들여쓰기, 대문자 키워드, 정렬된 열로 SQL 쿼리를 포맷하고 정리합니다. MySQL, PostgreSQL, SQLite 구문을 지원합니다.

sql_explain

SQL 쿼리를 받아 단계별로 평이한 영어로 설명합니다. 쿼리 유형, 테이블, 열, 조건을 식별하고 최적화 팁을 제공합니다.

schema_analyze

CREATE TABLE 문을 파싱하여 테이블, 열, 유형, 제약 조건, 외래 키, 인덱스를 추출합니다. Mermaid 형식의 ER 다이어그램을 생성합니다.

query_build

자연어 설명에서 SQL 쿼리를 생성합니다. 날짜 필터링, 집계, 조인, 정렬, 페이지네이션과 같은 일반적인 패턴을 지원합니다.

migration_generate

두 스키마(이전 및 새 CREATE TABLE 문)를 비교하고 ALTER TABLE 마이그레이션 문을 생성합니다. 업(정방향) 및 다운(롤백) 마이그레이션을 모두 생성합니다.

Related MCP server: DB MCP Server

설치

npm install
npm run build

사용법

Claude Desktop 사용

Claude Desktop 구성(claude_desktop_config.json)에 추가하세요:

{
  "mcpServers": {
    "database-tools": {
      "command": "node",
      "args": ["path/to/mcp-database-tools/dist/index.js"]
    }
  }
}

독립 실행

npm start

개발

npm run build    # Compile TypeScript
npm start        # Run the server

라이선스

MIT

Install Server
A
license - permissive license
A
quality
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

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
    Not graded
    quality
    A
    maintenance
    Enables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.
    1,118
    3,147
    Apache 2.0
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables executing SQL queries, schema introspection, and data management for PostgreSQL and MySQL databases via natural language, supporting local, SSH, and AWS RDS connections.
    92
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables natural language querying of SQL databases using AI, supporting multiple database types and automatic schema discovery.
    1
    MIT

View all related MCP servers

Related MCP Connectors

  • Query PostgreSQL databases in plain English — LLM-generated, safety-validated SQL.

  • The grounded data layer for any LLM: governed SQL, metrics, lineage and catalog over your data.

  • JSON/YAML, regex, diff, JWT, SQL dialects — the keyless millisecond ops an agent needs mid-task.

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/rog0x/mcp-database-tools'

If you have feedback or need assistance with the MCP directory API, please join our Discord server