Claude AI를 위한 데이터베이스 도구
이는 Claude AI가 MySQL 데이터베이스와 직접 상호 작용할 수 있게 해주는 MCP(Model Context Protocol) 서버입니다.
특징
- Claude를 통해 MySQL 데이터베이스 쿼리
- 유효한 SQL 쿼리를 실행합니다.
- 크기와 구조를 포함한 테이블에 대한 정보를 얻으세요
- Claude에서 쉽게 읽을 수 있도록 형식화된 결과
설치
Smithery를 통해 설치
Smithery를 통해 Claude Desktop용 데이터베이스 도구를 자동으로 설치하려면:
지엑스피1
이 도구를 설치하고 사용하려면 다음 단계를 따르세요.
- 저장소를 복제하거나 다운로드하세요또는 ZIP 파일을 다운로드해서 압축을 푸세요.
- 종속성 설치 프로젝트 디렉토리로 이동하여 다음을 실행합니다.
구성
Claude가 이 도구를 사용하려면 claude_desktop_config.json
파일에 구성을 추가해야 합니다. 이 파일은 일반적으로 다음 위치에 있습니다.
다음과 같은 구조로:
용법
구성이 완료되면 Claude에서 다음과 같은 명령을 사용하여 MySQL 데이터베이스와 상호 작용할 수 있습니다.
- 모든 데이터베이스 나열
"MySQL에서 쿼리를 실행하여 데이터베이스를 보여주세요." - 데이터베이스의 테이블 보기
"MySQL에서 쿼리를 실행하여 테이블name_table
보여주세요." - 테이블 크기 쿼리
"MySQL에서 쿼리를 실행하여name_table
테이블의 크기를 보여주세요." - 사용자 정의 쿼리 실행
MySQL에서 쿼리 실행: '쿼리로 수행하고자 하는 작업에 대한 설명.'
보안
이 도구는 mysql.js
파일에 설정된 권한으로 실행됩니다. 제공된 자격 증명에 허용하려는 작업에 필요한 권한만 있는지 확인하세요.
문제 해결
연결 문제가 있는 경우 다음을 확인하세요.
- MySQL이 실행 중입니다
mysql.js
의 자격 증명이 올바른지- Claude 구성 파일의 경로가 올바른지
구현
데이터베이스를 쿼리하려면 Claude에게 "MySQL에 있는 모든 데이터베이스를 보여주세요" 또는 "users 테이블의 크기는 얼마인가요?"와 같이 질문하면 됩니다.
You must be authenticated.
hybrid server
The server is able to function both locally and remotely, depending on the configuration or use case.
Tools
Claude AI가 MySQL 데이터베이스와 직접 상호 작용하여 자연어를 통한 쿼리 실행 및 테이블 정보 검색을 가능하게 하는 MCP 서버입니다.
Related MCP Servers
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -718045TypeScriptMIT License
- AsecurityAlicenseAqualityAn MCP server implementation that integrates Claude with Salesforce, enabling natural language interactions with Salesforce data and metadata for querying, modifying, and managing objects and records.Last updated -7184TypeScriptMIT License
- -securityFlicense-qualityA natural language interface that allows Claude to execute SQL queries on your local MySQL databases, enabling database interaction using natural language.Last updated -2Python
- -securityAlicense-qualityAn MCP server that enables MySQL database integration with Claude. You can execute SQL queries and manage database connections.Last updated -1PythonMIT License