Skip to main content
Glama

Postgres MCP Server

package.json1.64 kB
{ "name": "pg-mcp-server", "version": "0.2.0", "description": "A Model Context Protocol server for PostgreSQL databases", "module": "index.ts", "type": "module", "private": false, "bin": { "pg-mcp-server": "lib/index.js" }, "files": [ "bin/", "lib/", "index.ts", "src/", "README.md", "LICENSE" ], "publishConfig": { "access": "public" }, "repository": { "type": "git", "url": "https://github.com/ericzakariasson/pg-mcp-server.git" }, "license": "MIT", "scripts": { "dev": "tsc -w -p tsconfig.build.json", "inspector:stdio": "DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npx @modelcontextprotocol/inspector bun run index.ts --transport=stdio", "inspector:http": "DATABASE_URL=postgresql://postgres:postgres@localhost:5432/postgres npx @modelcontextprotocol/inspector bun run index.ts --transport=http", "build:js": "tsc -p tsconfig.build.json", "prepublishOnly": "bun run typecheck && bun test && bun run build:js", "db:start": "docker-compose up -d", "db:stop": "docker-compose down", "db:reset": "docker-compose down -v && docker-compose up -d", "typecheck": "tsc --noEmit", "lint": "tsc --noEmit", "test": "bun test", "format": "prettier --write \"**/*.{ts,js,json,md}\"" }, "devDependencies": { "@types/bun": "latest", "@types/node": "^20.0.0", "prettier": "^3.0.0" }, "peerDependencies": { "typescript": "^5" }, "dependencies": { "@modelcontextprotocol/sdk": "^1.17.3", "postgres": "^3.4.7", "zod": "^3.23.8" }, "engines": { "bun": ">=1.0.0" } }

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/ericzakariasson/pg-mcp-server'

If you have feedback or need assistance with the MCP directory API, please join our Discord server