package.json•2.52 kB
{
"name": "mcp-db-bridge",
"version": "2.0.7",
"description": "MCP server for MySQL, PostgreSQL & SQLite with granular permissions, multi-DB support, and cloud-ready SSL/TLS. Built with adapter pattern for extensibility.",
"license": "MIT",
"repository": {
"type": "git",
"url": "git+https://github.com/LucasSiqueiraSurreco/mcp-db-bridge.git"
},
"bugs": {
"url": "https://github.com/LucasSiqueiraSurreco/mcp-db-bridge/issues"
},
"homepage": "https://github.com/LucasSiqueiraSurreco/mcp-db-bridge#readme",
"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": "tsx 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": "eslint ."
},
"dependencies": {
"@modelcontextprotocol/sdk": "1.15.1",
"better-sqlite3": "^9.4.0",
"dotenv": "^16.5.0",
"express": "^5.1.0",
"mysql2": "^3.14.1",
"node-sql-parser": "^5.3.9",
"pg": "^8.11.0",
"zod": "^3.25.67"
},
"devDependencies": {
"@types/better-sqlite3": "^7.6.9",
"@types/express": "^5.0.3",
"@types/node": "^20.17.50",
"@types/pg": "^8.11.0",
"@typescript-eslint/eslint-plugin": "^8.35.0",
"@typescript-eslint/parser": "^8.35.0",
"eslint": "^9.27.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"
},
"keywords": [
"node",
"mcp",
"ai",
"cursor",
"mcp-server",
"modelcontextprotocol",
"smithery",
"mcp-get",
"mcp-put",
"mcp-post",
"mcp-delete",
"mcp-patch",
"mcp-head"
]
}