Feedback

PostgreSQL MCP Server — by 1Levick3

@1levick3 Claim

Basic information

Runtime
node
Category
License
MIT license
Transports
stdio
Author
1levick3
Submitted by
Community
Quality
10
Stars
1

About PostgreSQL MCP Server

Mcp server for postgres

PostgreSQL MCP Server is a MCP server in the Databases category listed in the AddMCP.net directory, published by 1Levick3. Supported transport: stdio. Runtime: node. License: MIT license. The repository has 1 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "postgresql-mcp-server-1levick3": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "@1Levick3/postgresql-mcp-server",
                "--client",
                "claude"
            ]
        }
    }
}

PostgreSQL MCP Server — by 1Levick3 config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "postgresql-mcp-server-1levick3": {
            "command": "npx",
            "args": [
                "-y",
                "@smithery/cli",
                "install",
                "@1Levick3/postgresql-mcp-server",
                "--client",
                "claude"
            ]
        }
    }
}

PostgreSQL MCP Server — by 1Levick3 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 MCP Server?

A Model Context Protocol server that enables direct PostgreSQL database query execution with support for parameterized queries and configurable timeouts. It is designed specifically for use with the Cursor IDE.

How to use PostgreSQL MCP Server?

Install via Smithery with npx -y @smithery/cli install @1Levick3/postgresql-mcp-server --client claude or manually by cloning the repository, installing dependencies, building, and adding to your MCP settings file with a POSTGRES_CONNECTION_STRING environment variable and optional SSL certificate path.

Key features of PostgreSQL MCP Server

  • Execute custom SQL queries against PostgreSQL databases
  • Supports parameterized queries for safe variable interpolation
  • Configurable connection timeouts
  • Uses connection pooling for efficient resource management
  • Validates connection strings and supports SSL/TLS
  • Designed for integration with Cursor IDE

Use cases of PostgreSQL MCP Server

  • Running ad‑hoc database queries from an AI assistant in Cursor IDE
  • Performing database exploration and data retrieval via natural language prompts
  • Building AI‑powered tools that need to query PostgreSQL directly
  • Automating SQL‑based tasks within development workflows

Frequently asked questions

1 What is the purpose of this server?

It provides an MCP interface for executing PostgreSQL queries, enabling AI assistants (specifically within Cursor IDE) to interact with a PostgreSQL database.

2 What are the dependencies?

Node.js version 18.0.0 or higher, a running PostgreSQL server for target operations, and network access to that PostgreSQL instance.

3 How do I configure the connection?

Set the POSTGRES_CONNECTION_STRING environment variable in your MCP settings. Optionally, set POSTGRES_SSL_CERT_PATH to the path of an SSL root certificate.

4 Does it support SSL/TLS?

Yes. The server validates connection strings and supports SSL/TLS connections for secure communication with the database.

5 Where does the data live?

The server only queries the remote PostgreSQL database specified in the connection string; it does not store data locally.

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬