@microsoft/postgres-mcp
github.comExplore documented capabilities and connections for @microsoft/postgres-mcp.
What your agent can do
PostgreSQL MCP server for AI assistants over the Model Context Protocol.
Via CLI.
Tasks depend on the interface and permissions.
Connection methods
Choose a route that fits your agent.
CLI
For agents with a terminal
View setup for CLICLI connection
CLI package
@microsoft/postgres-mcp