package.json•1.54 kB
{
"name": "@zhaoxin34/mcp-server-mysql",
"version": "1.0.12",
"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"
],
"scripts": {
"build": "tsc && shx chmod +x dist/*.js",
"prepare": "npm run build",
"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"
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.0.1",
"mysql2": "^3.13.0"
},
"devDependencies": {
"@modelcontextprotocol/sdk": "^0.1.0",
"@types/jest": "^29.5.12",
"@types/node": "^20.11.24",
"dotenv": "^16.0.0",
"mysql2": "^3.0.0",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"@typescript-eslint/parser": "^7.1.0",
"eslint": "^8.57.0",
"typescript": "^5.3.3",
"vitest": "^1.3.1"
},
"publishConfig": {
"access": "public"
},
"keywords": [
"node",
"mcp",
"ai"
]
}