package.json•2.25 kB
{
"name": "postgres-mcp",
"version": "1.0.0",
"description": "MCP server for PostgreSQL database management and operations",
"main": "dist/index.js",
"type": "module",
"scripts": {
"build": "tsc",
"build:production": "npm run clean && tsc && npm run verify",
"dev": "tsx src/index.ts",
"dev:watch": "tsx watch src/index.ts",
"start": "node dist/index.js",
"start:production": "NODE_ENV=production node dist/index.js",
"test": "jest",
"test:coverage": "jest --coverage",
"test:watch": "jest --watch",
"test:smoke": "npx tsx scripts/smoke-test.ts",
"test:schema": "npx tsx scripts/test-schema.ts",
"test:connection": "npx tsx scripts/test-connection.ts",
"verify": "npx tsx scripts/verify-build.ts",
"watch": "tsc -w --preserveWatchOutput",
"lint": "eslint \"src/**/*.ts\" \"scripts/**/*.ts\"",
"lint:fix": "npm run lint -- --fix",
"format": "prettier --write src/**/*.ts scripts/**/*.ts",
"format:check": "prettier --check src/**/*.ts scripts/**/*.ts",
"clean": "rimraf dist coverage .nyc_output",
"health:check": "npx tsx scripts/health-check.ts",
"security:audit": "npm audit --audit-level moderate",
"deps:check": "npm outdated",
"precommit": "npm run lint:fix && npm run format && npm run test",
"prepush": "npm run build:production && npm run test:coverage"
},
"keywords": [
"mcp",
"postgresql",
"database",
"sql",
"ai-agents"
],
"author": "",
"license": "MIT",
"dependencies": {
"@modelcontextprotocol/sdk": "^0.5.0",
"@types/lru-cache": "^7.10.9",
"@types/ws": "^8.18.1",
"dotenv": "^16.6.1",
"joi": "^17.13.0",
"lru-cache": "^11.2.1",
"pg": "^8.12.0",
"uuid": "^10.0.0",
"winston": "^3.11.0",
"ws": "^8.18.3"
},
"devDependencies": {
"@jest/globals": "^29.7.0",
"@types/jest": "^29.5.0",
"@types/node": "^20.19.9",
"@types/pg": "^8.11.10",
"@types/uuid": "^10.0.0",
"@typescript-eslint/eslint-plugin": "^8.43.0",
"@typescript-eslint/parser": "^8.43.0",
"eslint": "^8.57.0",
"jest": "^29.7.0",
"prettier": "^3.0.0",
"rimraf": "^6.0.1",
"ts-jest": "^29.1.0",
"tsx": "^4.0.0",
"typescript": "^5.8.3"
}
}