{
  "name": "@benborla29/mcp-server-mysql",
  "version": "2.0.9",
  "description": "MCP server for interacting with MySQL databases with write operations support",
  "license": "MIT",
  "author": "Ben Borla (https://github.com/benborla)",
  "type": "module",
  "main": "dist/index.js",
  "module": "index.ts",
  "preferGlobal": true,
  "bin": {
    "mcp-server-mysql": "dist/index.js"
  },
  "files": [
    "dist",
    "README.md",
    "assets"
  ],
  "scripts": {
    "start": "node dist/index.js",
    "dev": "ts-node index.ts",
    "build": "tsc && shx chmod +x dist/*.js",
    "prepare": "npm run build",
    "watch": "tsc --watch",
    "setup:test:db": "tsx scripts/setup-test-db.ts",
    "pretest": "pnpm run setup:test:db",
    "test": "pnpm run setup:test:db && vitest run",
    "test:socket": "pnpm run setup:test:db && vitest run tests/integration/socket-connection.test.ts",
    "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",
    "exec": " pnpm build && npx node --env-file=.env dist/index.js",
    "lint": "npm run lint:eslint && npm run lint:markdown",
    "lint:eslint": "eslint .",
    "lint:markdown": "markdownlint .",
    "lint:fix": "npm run lint:eslint:fix && npm run lint:markdown:fix",
    "lint:eslint:fix": "eslint . --fix",
    "lint:markdown:fix": "markdownlint . --fix"
  },
  "dependencies": {
    "@ai-sdk/openai": "^1.3.22",
    "@modelcontextprotocol/sdk": "1.15.1",
    "dotenv": "^16.5.0",
    "express": "^5.1.0",
    "mcp-evals": "^1.0.18",
    "mysql2": "^3.14.1",
    "node-sql-parser": "^5.3.9",
    "zod": "^3.25.67"
  },
  "devDependencies": {
    "@types/express": "^5.0.3",
    "@types/jest": "^29.5.14",
    "@types/node": "^20.17.50",
    "@typescript-eslint/eslint-plugin": "^8.35.0",
    "@typescript-eslint/parser": "^8.35.0",
    "eslint": "^9.27.0",
    "markdownlint-cli": "^0.45.0",
    "shx": "^0.3.4",
    "ts-node": "^10.9.2",
    "tslib": "^2.8.1",
    "tsx": "^4.19.4",
    "typescript": "^5.8.3",
    "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"
  ],
  "repository": {
    "type": "git",
    "url": "git+https://github.com/benborla/mcp-server-mysql.git"
  },
  "bugs": {
    "url": "https://github.com/benborla/mcp-server-mysql/issues"
  },
  "homepage": "https://github.com/benborla/mcp-server-mysql"
}
