Agentβ™₯︎Age
Catalog

PostgreSQL MCP Server

Official

by neverinfamous Β· TypeScript

PostgreSQL MCP server with 203 tools, connection pooling, HTTP/SSE, OAuth 2.1, and tool filtering

io.github.neverinfamous/postgres-mcp β€” Model Context Protocol Server

The io.github.neverinfamous/postgres-mcp server binds the Model Context Protocol to a secure PostgreSQL sandbox. It provides database access via 203 tools, with connection pooling and HTTP/SSE transport. The server uses OAuth 2.1 authentication and supports extensions listed in its readme excerpt.

πŸ› οΈ Key Features

  • PostgreSQL sandbox for MCP access
  • 203 tools
  • Connection pooling
  • HTTP/SSE transport
  • OAuth 2.1 authentication
  • β€œCode Mode” using a true V8 isolate (worker_threads)
  • Schema introspection and migration tracking
  • Smart tool filtering and deterministic error handling
  • Extension support: citext, ltree, pgcrypto (as named in the excerpt)

πŸš€ Use Cases

  • MCP-based PostgreSQL operations with sandboxed execution
  • Schema introspection and migration tracking workflows
  • Tool selection via smart tool filtering for database tasks

⚑ Developer Benefits

  • Reduced token overhead via Code Mode (single, V8 isolate execution)
  • Deterministic error handling
  • TypeScript-focused tooling ecosystem (repo topics include typescript, npm)

⚠️ Limitations

  • Tool availability is described as 278 total in Code Mode, while the server data lists 203 tools; exact coverage may depend on filtering/tool mode.

Topics

databasemcppostgresqltypescriptdeveloper-toolsdatabase-managementpostgispg-cronpgvectorcitextkcacheltreepgcryptooauth2code-modehypopgdata-sciencenpmai-agentspg-partman