UNPKG

@benborla29/mcp-server-mysql

Version:

MCP server for interacting with MySQL databases based on Node

69 lines 1.8 kB
{ "name": "@benborla29/mcp-server-mysql", "version": "2.0.0", "description": "MCP server for interacting with MySQL databases based on Node", "license": "MIT", "author": "Ben Borla (https://github.com/benborla)", "type": "module", "main": "dist/index.js", "preferGlobal": true, "bin": { "mcp-server-mysql": "dist/index.js" }, "files": [ "dist", "README.md", "assets" ], "dependencies": { "@modelcontextprotocol/sdk": "1.8.0", "dotenv": "^16.4.7", "mysql2": "^3.14.0", "node-sql-parser": "^5.3.8" }, "devDependencies": { "@types/jest": "^29.5.14", "@types/node": "^20.17.28", "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.57.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.8.2", "vitest": "^1.6.1" }, "publishConfig": { "access": "public" }, "keywords": [ "node", "mcp", "ai", "cursor", "mcp-server", "modelcontextprotocol", "smithery", "mcp-get", "mcp-put", "mcp-post", "mcp-delete", "mcp-patch", "mcp-options", "mcp-head" ], "scripts": { "start": "node dist/index.js", "dev": "ts-node index.ts", "build": "tsc && shx chmod +x dist/*.js", "watch": "tsc --watch", "setup:test:db": "node --loader ts-node/esm scripts/setup-test-db.ts", "pretest": "pnpm run setup:test:db", "test": "pnpm run setup:test:db && vitest run", "test:watch": "pnpm run setup:test:db && vitest", "test:coverage": "vitest run --coverage", "test:unit": "vitest run --config vitest.unit.config.ts", "test:integration": "vitest run --config vitest.integration.config.ts", "test:e2e": "vitest run --config vitest.e2e.config.ts", "stdio": "node dist/index.js --stdio" } }