package.json•992 B
{
"name": "postgres-mcp-server",
"version": "1.0.0",
"description": "A Model Context Protocol server that provides read-only access to PostgreSQL databases. This server enables LLMs to inspect database schemas and execute read-only queries.",
"main": "dist/index.js",
"type": "module",
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1",
"build": "tsc && shx chmod +x dist/*.js",
"start": "node dist/index.js postgresql://postgres:postgres@localhost:5432/Employees",
"dev": "nodemon --exec 'node --loader ts-node/esm' index.ts postgresql://postgres:postgres@localhost:5432/Employees"
},
"author": "",
"license": "ISC",
"dependencies": {
"@modelcontextprotocol/sdk": "^1.5.0",
"dotenv": "^16.4.5",
"pg": "^8.13.1",
"zod": "^3.23.8"
},
"devDependencies": {
"@types/node": "^22.13.5",
"@types/pg": "^8.11.10",
"nodemon": "^3.1.9",
"shx": "^0.3.4",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
}
}