Basic information
About Postgres Connector MCP Server
Manage PostgreSQL connections, create a Postgres database, inspect schemas, and run SQL queries. Supports setting PostgreSQL port and showing tables.
Postgres Connector is a MCP server in the Databases category listed in the AddMCP.net directory, published by martymarkenson. Supported transport: stdio. Runtime: TypeScript. License: MIT. The repository has 9 GitHub stars. Source code is hosted on github.com. Related topics: community, databases.
Setup
{
"mcpServers": {
"PostgreSQL MCP Server": {
"command": "npx",
"args": [
"-y",
"postgres-mcp-server"
],
"env": {
"POSTGRES_HOST": "your-postgres-host",
"POSTGRES_PORT": "5432",
"POSTGRES_DB": "your-database-name",
"POSTGRES_USER": "your-database-username",
"POSTGRES_PASSWORD": "your-database-password"
}
}
}
}
{
"mcpServers": {
"PostgreSQL MCP Server": {
"command": "npx",
"args": [
"-y",
"postgres-mcp-server"
],
"env": {
"POSTGRES_HOST": "your-postgres-host",
"POSTGRES_PORT": "5432",
"POSTGRES_DB": "your-database-name",
"POSTGRES_USER": "your-database-username",
"POSTGRES_PASSWORD": "your-database-password"
}
}
}
}
{
"servers": {
"PostgreSQL MCP Server": {
"command": "npx",
"args": [
"-y",
"postgres-mcp-server"
],
"env": {
"POSTGRES_HOST": "your-postgres-host",
"POSTGRES_PORT": "5432",
"POSTGRES_DB": "your-database-name",
"POSTGRES_USER": "your-database-username",
"POSTGRES_PASSWORD": "your-database-password"
}
}
}
}
Postgres Connector MCP Server config
Add this server to your MCP-compatible client using the configuration below.
{
"mcpServers": {
"PostgreSQL MCP Server": {
"command": "npx",
"args": [
"-y",
"postgres-mcp-server"
],
"env": {
"POSTGRES_HOST": "your-postgres-host",
"POSTGRES_PORT": "5432",
"POSTGRES_DB": "your-database-name",
"POSTGRES_USER": "your-database-username",
"POSTGRES_PASSWORD": "your-database-password"
}
}
}
}
Postgres Connector 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 Postgres Connector?
Connects to PostgreSQL databases for SQL query execution, table schema inspection, and database connection management through environment-based configuration
Comments
No comments yet
Be the first to share feedback about this listing. Sign in to leave a comment.
Sign In