{"_id":"@ahngbeom/mysql-mcp-server","_rev":"2-3b33669e922a0fad8fd67aa7b2bca7ad","name":"@ahngbeom/mysql-mcp-server","dist-tags":{"latest":"1.0.1"},"versions":{"1.0.0":{"name":"@ahngbeom/mysql-mcp-server","version":"1.0.0","keywords":["mcp","model-context-protocol","mysql","claude","claude-code","ai","database"],"author":{"name":"ahngbeom"},"license":"MIT","_id":"@ahngbeom/mysql-mcp-server@1.0.0","maintainers":[{"name":"ahngbeom","email":"bbu0704@gmail.com"}],"homepage":"https://github.com/ahngbeom/mysql-mcp-server#readme","bugs":{"url":"https://github.com/ahngbeom/mysql-mcp-server/issues"},"bin":{"mysql-mcp-server":"dist/index.js"},"dist":{"shasum":"ce6782e0e5d55ceb785d4bc1ab6ab503ad6122ba","tarball":"https://registry.npmjs.org/@ahngbeom/mysql-mcp-server/-/mysql-mcp-server-1.0.0.tgz","fileCount":5,"integrity":"sha512-1m6YH5neELSbudIxM7rY247xOZU3jlajXA9Srl8cr6Ju0tk0a0E5DYMOAKWSzhmYDItdtV4RfbzjeafGRWV5OQ==","signatures":[{"sig":"MEYCIQDCVruQN3mg3dYnG6/Gkvho3EK751JZc7fKFTZVmkLWcwIhAOIpigDRswtY9SVgTNteIJZlKCmLpkichwqVF/eKqhHt","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":15050},"main":"dist/index.js","type":"module","types":"./dist/index.d.ts","engines":{"node":">=18.0.0"},"gitHead":"c24e4ecc67ff85ea345858274f6c638a8f4fc952","scripts":{"dev":"tsx src/index.ts","build":"tsc","start":"node dist/index.js","prepublishOnly":"npm run build"},"_npmUser":{"name":"ahngbeom","email":"bbu0704@gmail.com"},"repository":{"url":"git+https://github.com/ahngbeom/mysql-mcp-server.git","type":"git"},"_npmVersion":"10.8.2","description":"Read-only MySQL MCP Server for Claude Code","directories":{},"_nodeVersion":"20.19.5","dependencies":{"mysql2":"^3.11.0","@modelcontextprotocol/sdk":"^1.0.0"},"_hasShrinkwrap":false,"devDependencies":{"tsx":"^4.19.0","typescript":"^5.5.0","@types/node":"^20.0.0"},"_npmOperationalInternal":{"tmp":"tmp/mysql-mcp-server_1.0.0_1768284958261_0.9733513270265699","host":"s3://npm-registry-packages-npm-production"}},"1.0.1":{"name":"@ahngbeom/mysql-mcp-server","version":"1.0.1","description":"Read-only MySQL MCP Server for Claude Code","type":"module","main":"dist/index.js","bin":{"mysql-mcp-server":"dist/index.js"},"scripts":{"build":"tsc","start":"node dist/index.js","dev":"tsx src/index.ts","prepublishOnly":"npm run build"},"keywords":["mcp","model-context-protocol","mysql","claude","claude-code","ai","database"],"author":{"name":"ahngbeom"},"license":"MIT","repository":{"type":"git","url":"git+https://github.com/ahngbeom/mysql-mcp-server.git"},"bugs":{"url":"https://github.com/ahngbeom/mysql-mcp-server/issues"},"homepage":"https://github.com/ahngbeom/mysql-mcp-server#readme","engines":{"node":">=18.0.0"},"dependencies":{"@modelcontextprotocol/sdk":"^1.0.0","mysql2":"^3.11.0"},"devDependencies":{"@types/node":"^20.0.0","tsx":"^4.19.0","typescript":"^5.5.0"},"_id":"@ahngbeom/mysql-mcp-server@1.0.1","gitHead":"04f9df5289cd8024aa305509d21b4fc83d9cf54d","types":"./dist/index.d.ts","_nodeVersion":"20.19.5","_npmVersion":"10.8.2","dist":{"integrity":"sha512-S4lMmqOzwdBGPMbvsEo0XKzrNSK1tObcj3n338VG4R0o8noFDGEEITA4QBiP7g7xgCqAsu/7V0k/a7Y6hXGeww==","shasum":"d3f724dfa6360abd3b0ef378da77f41f49fda27c","tarball":"https://registry.npmjs.org/@ahngbeom/mysql-mcp-server/-/mysql-mcp-server-1.0.1.tgz","fileCount":5,"unpackedSize":14901,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIFIk1Av46950tCSFzmbRC6TmvLwaDtxNXGLOBUTyH0bEAiBOhcxLVG2JFhhT4L7Hff7VuhY1IenE5GiHnoGqE0njAw=="}]},"_npmUser":{"name":"ahngbeom","email":"bbu0704@gmail.com"},"directories":{},"maintainers":[{"name":"ahngbeom","email":"bbu0704@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/mysql-mcp-server_1.0.1_1768370626654_0.8370566548458425"},"_hasShrinkwrap":false}},"time":{"created":"2026-01-13T06:15:58.126Z","modified":"2026-01-14T06:03:46.923Z","1.0.0":"2026-01-13T06:15:58.399Z","1.0.1":"2026-01-14T06:03:46.802Z"},"bugs":{"url":"https://github.com/ahngbeom/mysql-mcp-server/issues"},"author":{"name":"ahngbeom"},"license":"MIT","homepage":"https://github.com/ahngbeom/mysql-mcp-server#readme","keywords":["mcp","model-context-protocol","mysql","claude","claude-code","ai","database"],"repository":{"type":"git","url":"git+https://github.com/ahngbeom/mysql-mcp-server.git"},"description":"Read-only MySQL MCP Server for Claude Code","maintainers":[{"name":"ahngbeom","email":"bbu0704@gmail.com"}],"readme":"# MySQL MCP Server\n\nClaude Code에서 MySQL 데이터베이스에 접근하기 위한 **읽기 전용** MCP(Model Context Protocol) 서버입니다.\n\n## 특징\n\n- **읽기 전용**: `SELECT`, `SHOW`, `DESCRIBE`, `EXPLAIN` 쿼리만 허용\n- **안전한 연결**: Connection Pool 사용 (최대 5개 연결)\n- **6가지 도구 제공**: 쿼리 실행, 테이블 목록, 스키마 조회, 인덱스 확인, DDL 조회, 실행 계획 분석\n\n## 설치\n\n```bash\nnpm install @ahngbeom/mysql-mcp-server\n```\n\n## Claude Code 설정\n\n`~/.claude.json` 또는 프로젝트의 `.mcp.json`에 추가:\n\n```json\n{\n  \"mcpServers\": {\n    \"mysql\": {\n      \"command\": \"npx\",\n      \"args\": [\"@ahngbeom/mysql-mcp-server\"],\n      \"env\": {\n        \"MYSQL_HOST\": \"localhost\",\n        \"MYSQL_PORT\": \"3306\",\n        \"MYSQL_USER\": \"your_user\",\n        \"MYSQL_PASS\": \"your_password\",\n        \"MYSQL_DB\": \"your_database\"\n      }\n    }\n  }\n}\n```\n\n## 환경 변수\n\n| 변수 | 설명 | 기본값 |\n|------|------|--------|\n| `MYSQL_HOST` | MySQL 호스트 | `localhost` |\n| `MYSQL_PORT` | MySQL 포트 | `3306` |\n| `MYSQL_USER` | 사용자 이름 | `root` |\n| `MYSQL_PASS` | 비밀번호 | (없음) |\n| `MYSQL_DB` | 데이터베이스 이름 | `mysql` |\n\n## 제공 도구\n\n| 도구 | 설명 | 예시 |\n|------|------|------|\n| `query` | 읽기 전용 SQL 쿼리 실행 | `SELECT * FROM users LIMIT 10` |\n| `list_tables` | 데이터베이스의 모든 테이블 조회 | - |\n| `describe_table` | 테이블 구조 (컬럼, 타입, 키) 확인 | `users` |\n| `show_indexes` | 테이블의 인덱스 정보 조회 | `users` |\n| `show_create_table` | CREATE TABLE 문 확인 | `users` |\n| `explain` | 쿼리 실행 계획 분석 | `SELECT * FROM users WHERE id = 1` |\n\n## 보안\n\n- `INSERT`, `UPDATE`, `DELETE`, `DROP` 등 쓰기 쿼리는 차단됩니다\n- 프로덕션 환경에서는 **읽기 전용 DB 계정** 사용을 권장합니다\n\n## 라이선스\n\nMIT\n","readmeFilename":"README.md"}