Basic information
About PostgreSQL Products MCP Server
MCP server for interacting with a PostgreSQL products database.
PostgreSQL Products MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by michael7736. Supported transport: stdio. Runtime: node. The repository has 1 GitHub stars. Source code is hosted on github.com. Related topics: database-interaction, mcp-server, postgresql.
Setup
{
"mcpServers": {
"postgres-products": {
"command": "node",
"args": [
"/path/to/your/postgres-mcp-server/build/index.js"
],
"env": {
"PGHOST": "",
"PGPORT": "",
"PGUSER": "",
"PGPASSWORD": "",
"PGDATABASE": ""
}
}
}
}
{
"mcpServers": {
"postgres-products": {
"command": "node",
"args": [
"/path/to/your/postgres-mcp-server/build/index.js"
],
"env": {
"PGHOST": "",
"PGPORT": "",
"PGUSER": "",
"PGPASSWORD": "",
"PGDATABASE": ""
}
}
}
}
{
"servers": {
"postgres-products": {
"command": "node",
"args": [
"/path/to/your/postgres-mcp-server/build/index.js"
],
"env": {
"PGHOST": "",
"PGPORT": "",
"PGUSER": "",
"PGPASSWORD": "",
"PGDATABASE": ""
}
}
}
}
PostgreSQL Products MCP Server config
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": ""
}
}
}
}
PostgreSQL Products MCP Server tools
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.
Overview
What is PostgreSQL Products MCP Server?
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.
How to use PostgreSQL Products MCP Server?
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.
Key features of PostgreSQL Products MCP Server
- Executes read-only SQL SELECT queries against PostgreSQL.
- Simple configuration via environment variables.
- Built with TypeScript and compiled to Node.js.
- Single focused tool for database interaction.
- Designed for product-related database schemas.
Use cases of PostgreSQL Products MCP Server
- Allow an AI assistant to fetch product details from a database.
- Query stock quantities or pricing information for inventory.
- Retrieve product listings filtered by category or other criteria.
- Enable natural language questions about products via an MCP client.
Frequently asked questions
1 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.
2 What transport or authentication does the server use?
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.
3 Can the server modify or insert data?
No. The run_sql_query tool only accepts SQL SELECT statements, making it read-only by design.
4 What are the runtime dependencies?
Node.js v18 or later, npm or yarn, and access to a PostgreSQL database with the appropriate credentials.
5 Is the server limited to a specific MCP client?
No. It works with any MCP-compatible client that supports the configuration format (e.g., Claude Desktop, Cline).
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In