UNPKG

@kohlarnhin/mcp-server-postgres

Version:

MCP server for interacting with PostgreSQL databases based on Node

66 lines (65 loc) 1.42 kB
{ "name": "@kohlarnhin/mcp-server-postgres", "version": "1.0.0", "description": "MCP server for interacting with PostgreSQL databases based on Node", "license": "MIT", "type": "module", "main": "dist/index.js", "preferGlobal": true, "bin": { "@kohlarnhin/mcp-server-postgres": "dist/index.js" }, "files": [ "dist", "README.md", ".npmignore", ".gitignore" ], "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", "stdio": "node dist/index.js --stdio" }, "dependencies": { "@modelcontextprotocol/sdk": "1.8.0", "dotenv": "^16.4.7", "node-sql-parser": "^5.3.8", "pg": "^8.11.3", "pg-format": "^1.0.4" }, "devDependencies": { "@types/node": "^20.17.28", "@types/pg": "^8.11.0", "@types/pg-format": "^1.0.5", "@typescript-eslint/parser": "^7.18.0", "eslint": "^8.57.1", "shx": "^0.3.4", "ts-node": "^10.9.2", "tslib": "^2.8.1", "typescript": "^5.8.2" }, "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", "postgres", "postgresql" ] }