Skip to content
MCP-BridgeMCP-Bridge
Databases

PostgreSQL (MCP) MCP Config

Query and manage PostgreSQL databases directly from your AI agent. Read schemas, run queries, and manage data.

Config URL

Use this URL in any MCP-compatible client to fetch the config automatically.

https://mcpbridge.org/config/postgres.json

One-Click Install

Copy the snippet for your MCP client and paste it in — zero editing required.

Claude Desktop

Add to claude_desktop_config.json

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": [
        "-y",
        "@modelcontextprotocol/server-postgres"
      ],
      "env": {
        "DATABASE_URL": "postgresql://user:pass@host:5432/db"
      }
    }
  }
}

Cursor

Settings → MCP Servers → Add

{
  "mcpServers": {
    "postgres": {
      "url": "https://mcpbridge.org/config/postgres.json"
    }
  }
}

VS Code

Use with MCP extension

{
  "mcpServers": {
    "postgres": {
      "url": "https://mcpbridge.org/config/postgres.json"
    }
  }
}

Configuration JSON

Use curl https://mcpbridge.org/config/postgres.json to fetch programmatically.

{
  "mcpServers": {
    "postgres": {
      "command": "npx",
      "args": ["-y","@modelcontextprotocol/server-postgres"],
      "env": {
      "DATABASE_URL": "postgresql://user:pass@host:5432/db"
}
    }
  }
}

How to Use

Claude Desktop

Paste the config JSON into your claude_desktop_config.json.

Full instructions →

Cursor

Go to Cursor Settings → MCP Servers → Add with the JSON above.

CLI / curl

Fetch the config programmatically:

curl https://mcpbridge.org/config/postgres.json

Environment Variables

DATABASE_URL

Replace postgresql://user:pass@host:5432/db with your actual database url

Endpoints

POST/query

Execute SQL query

GET/schema

Get database schema

Similar APIs

Other APIs in the Databases category.

Notion API

Hello and welcome! To make use of this API collection collection as it's written, please duplicate [this database template](https://www.notion.so/8e2c2b769e1d47d287b9ed3035d607ae?v=dc1b92875fb94f10834ba8d36549bd2a). [Create an integration](https://www.notion.so/my-integrations) to retrieve an API

https://mcpbridge.org/config/notion-com.json

Application Auto Scaling

<p>With Application Auto Scaling, you can configure automatic scaling for the following resources:</p> <ul> <li> <p>Amazon AppStream 2.0 fleets</p> </li> <li> <p>Amazon Aurora Replicas</p> </li> <li> <p>Amazon Comprehend document classification and entity recognizer endpoints</p> </li> <li> <p>Amazo

https://mcpbridge.org/config/amazonaws-com-application-autoscaling.json

Amazon CloudWatch Application Insights

<fullname>Amazon CloudWatch Application Insights</fullname> <p> Amazon CloudWatch Application Insights is a service that helps you detect common problems with your applications. It enables you to pinpoint the source of issues in your applications (built with technologies such as Microsoft IIS, .NET,

https://mcpbridge.org/config/amazonaws-com-application-insights.json

AWS Cost Explorer Service

<p>You can use the Cost Explorer API to programmatically query your cost and usage data. You can query for aggregated data such as total monthly costs or total daily usage. You can also query for granular data. This might include the number of daily write operations for Amazon DynamoDB database tabl

https://mcpbridge.org/config/amazonaws-com-ce.json