What database schema does the server require?
The server connects to any PostgreSQL database, but it is designed for a schema containing product information. No specific table structure is enforced beyond being reachable by SELECT queries.
@michael7736
Basic information
MCP server for interacting with a PostgreSQL products database.
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"postgres-products": {
"command": "node",
"args": [
"/path/to/your/postgres-mcp-server/build/index.js"
],
"env": {
"PGHOST": "",
"PGPORT": "",
"PGUSER": "",
"PGPASSWORD": "",
"PGDATABASE": ""
}
}
}
}Tool list not available yet
This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.
We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.
PostgreSQL Products MCP Server is a Model Context Protocol server that allows AI assistants to query a PostgreSQL database containing product information using read-only SQL SELECT statements. It is intended for developers who need to integrate product data into MCP-compatible clients.
Configure the server in your MCP client settings (e.g., cline_mcp_settings.json) with environment variables for PostgreSQL connection details (PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE). Build the TypeScript code with npm run build, then point the client to the built build/index.js file. The server exposes a single tool called run_sql_query that accepts a SQL SELECT query string.
The server connects to any PostgreSQL database, but it is designed for a schema containing product information. No specific table structure is enforced beyond being reachable by SELECT queries.
The server uses PostgreSQL connection credentials provided via environment variables (PGHOST, PGPORT, PGUSER, PGPASSWORD, PGDATABASE). It does not implement additional authentication or transport layers beyond standard MCP.
No. The `run_sql_query` tool only accepts SQL SELECT statements, making it read-only by design.
Node.js v18 or later, npm or yarn, and access to a PostgreSQL database with the appropriate credentials.
No. It works with any MCP-compatible client that supports the configuration format (e.g., Claude Desktop, Cline).

Model Context Protocol Servers
A Model Context Protocol server to connect to MongoDB databases and MongoDB Atlas Clusters.
Drop-in Apache Spark replacement written in Rust, unifying batch processing, stream processing, and compute-intensive AI workloads.

Oracle MCP server with no run-sql tool: It generates tools for each of the PL/SQL procedures, tables and approved SQL you choose. The server doesn't expose a SQL prompt, and can't reveal how it's connected to Oracle.
Comments