News for hackers. Stuff that matters.
Re:Show HN: Pgmcp, an MCP server to query any Postgres datab... by cahaya on Thursday September 18, 2025 @08:00AM (#45288554)
Nice, but can somebody tell me if this performs better than my simple Postgres MCP using npx? My current setup uses the LLM to search through my local Postgres in multiple steps. I guess this Pgmcp is doing multiple steps in the background and returns the final result to the LLM calling the MCP tool?

Codex: ``` [mcp_servers.postgresMCP] command = "npx" args = ["-y", "@modelcontextprotocol/server-postgres", "postgresql://user:password@localhost:5432/db"] ```

Cursor: ``` "postgresMCP": { "command": "npx", "args": [ "-y", "@modelcontextprotocol/server-postgres", "postgresql://user:password@localhost:5432/db" ] }, ```

With my setup i can easily switch between LLM's

Re:Show HN: Pgmcp, an MCP server to query any Postgres datab... by oulipo2 on Thursday September 18, 2025 @09:06AM (#45289177)
nice! is there a way for the agent to know about it's own queries / resource usage?

eg the agent could actively monitor memory/cpu/time usage of a query and cancel it if it's taking too long?