
This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that connects to a PostgreSQL database containing product information and lets MCP clients query it using SQL.
PostgreSQL Products MCP Server is cataloged as an MCP server attributed to michael7736. A Model Context Protocol server that connects to a PostgreSQL database containing product information and lets MCP clients query it using SQL. It is categorized under databases storage. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.
Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.
Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.
能力定义尚未审核。未核验的采集内容不会作为可信接口展示。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
暂无可展示的已审核记录。这不表示上游不支持此能力。
Email delivery is not connected. This page does not collect email addresses or create subscriptions.
Browse the registry for current listings instead.
Reviews for PostgreSQL Products MCP Server are not available yet
Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.
Only read-only SELECT statements are supported.
A PostgreSQL database containing a products schema, configured through environment variables at client setup.
README.md · 18940f7a2c43 · 采集于 2026-11-13 10:58:43 UTC
保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。
当前显示最后一次成功采集的文档快照,请以来源页面为准。
This is a Model Context Protocol (MCP) server designed to interact with a PostgreSQL database containing product information. It allows clients (like AI assistants) to query the database using SQL.
git clone https://github.com/michael7736/postgres-mcp-server.git
cd postgres-mcp-server
npm install
# or
yarn install
Compile the TypeScript code to JavaScript:
npm run build
# or
yarn build
This will create the executable file in the build/ directory (build/index.js).
This server requires PostgreSQL connection details to be provided via environment variables when it's configured in your MCP client settings (e.g., cline_mcp_settings.json or claude_desktop_config.json).
The required environment variables are:
PGHOST: Hostname of the PostgreSQL server.PGPORT: Port number of the PostgreSQL server (default: 5432).PGUSER: Username for the database connection.PGPASSWORD: Password for the database connection.PGDATABASE: Name of the database to connect to.Example MCP Settings Configuration:
{
"mcpServers": {
"postgres-products": {
"command": "node",
"args": ["/path/to/your/postgres-mcp-server/build/index.js"],
"env": {
"PGHOST": "your_db_host",
"PGPORT": "5432",
"PGUSER": "your_db_user",
"PGPASSWORD": "your_db_password",
"PGDATABASE": "your_db_name"
},
"disabled": false, // Ensure it's enabled
"autoApprove": [] // Configure auto-approval if needed
}
// ... other servers
}
}
Replace /path/to/your/postgres-mcp-server/build/index.js with the actual path to the built server file on your system, and fill in your specific database credentials in the env section.
Once configured and running via your MCP client, this server provides the following tool:
run_sql_queryExecutes a read-only SQL query (SELECT statements only) against the configured products database.
Input Schema:
{
"type": "object",
"properties": {
"query": {
"type": "string",
"description": "The SQL SELECT query to execute."
}
},
"required": ["query"]
}
Example Tool Call:
<use_mcp_tool>
<server_name>postgres-products</server_name>
<tool_name>run_sql_query</tool_name>
<arguments>
{
"query": "SELECT product_name, stock_quantity FROM products WHERE category = 'Electronics';"
}
</arguments>
</use_mcp_tool>
Claim this server with your GitHub account to request manual ownership verification.
Link to the catalog listing for PostgreSQL Products MCP Server from your README. This badge does not certify ownership, compatibility or security.
[](https://awesome-mcp.com/servers/postgres-mcp-server)Public repository statistics could not be verified. Check the configured source address; unavailable counts are not zero.
来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。
尚无已审核的包 / 镜像标识,暂不展示下载统计。
Alternative and complementary servers in the same category

This is a Model Context Protocol (MCP) server for interacting with AIStor object stores.

A Model Context Protocol server that lets AI assistants run SQL queries against AWS Athena databases and retrieve results.

A Model Context Protocol (MCP) server that exposes access to an InfluxDB v2 instance using the InfluxDB OSS API v2.