mcpField
P
PostgreSQL

PostgreSQL

FeaturedLocal
modelcontextprotocol.ioDatabases91.6kUpdated today

About PostgreSQL

Model Context Protocol Servers

Configuration

Local server config is the same for every client. Copy it into your client’s MCP config file.

mcp.json · Universal config
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres"
]
}
}
}
Run commandnpx -y @modelcontextprotocol/server-postgres

Local servers need a runtime on your machine (e.g. Node.js 18+). Config file locations differ by client; see your client’s docs.

Packages
npm@modelcontextprotocol/server-postgres

Tools

1

Saved tool list · updated 2w ago

ParameterTypeRequiredDescription
sqlstringNo

Details

The maintainer has not added details yet. Check the README in the repository.

Comments

Markdown supported

New to MCP?

From what the protocol is to installing your first server, these answers cover most first questions.

An open protocol that defines how AI applications connect to external tools and data in a uniform way. Clients talk to the model; MCP servers provide tools, resources and prompt templates. They exchange standard messages, so one server can be reused by many clients.