mcp-database-tools
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
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
- AlicenseNot gradedqualityAmaintenanceEnables AI assistants to query databases using natural language, with automatic schema discovery and SQL compilation.1,1183,147Apache 2.0
- AlicenseNot gradedqualityDmaintenanceEnables executing SQL queries, schema introspection, and data management for PostgreSQL and MySQL databases via natural language, supporting local, SSH, and AWS RDS connections.92MIT
- AlicenseNot gradedqualityDmaintenanceEnables natural language querying of SQL databases using AI, supporting multiple database types and automatic schema discovery.1MIT
- FlicenseNot gradedqualityBmaintenanceEnables AI tools to understand a database, inspect schema, and run safe SELECT queries with SQL guardrails, plus optional codebase reading.
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.
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/rog0x/mcp-database-tools'
If you have feedback or need assistance with the MCP directory API, please join our Discord server