Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 75 additions & 0 deletions servers/crystaldba.postgres-mcp-docker.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,75 @@
{
"$schema": "../schemas/server-definition.schema.json",
"id": "crystaldba.postgres-mcp-docker",
"name": "PostgreSQL (Docker)",
"alias": "postgres-docker",
"description": "Query PostgreSQL databases, analyze performance, and optimize indexes via Docker. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks.",
"icon": "https://www.postgresql.org/media/img/about/press/elephant.png",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"postgres",
"postgresql",
"database",
"sql",
"docker",
"index-tuning",
"performance"
],
"transport": {
"type": "stdio",
"command": "docker",
"args": [
"run", "-i", "--rm",
"-e", "DATABASE_URI",
"crystaldba/postgres-mcp",
"--access-mode=unrestricted"
],
"env": {
"DATABASE_URI": "${input:DATABASE_URI}"
},
"metadata": {
"inputs": [
{
"id": "DATABASE_URI",
"label": "PostgreSQL Connection URI",
"description": "PostgreSQL connection string. Use host.docker.internal instead of localhost for local instances.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "postgresql://username:password@host.docker.internal:5432/mydb",
"obtain": {
"url": "https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS",
"instructions": "1. Format: postgresql://username:password@host:port/database\n2. For local PostgreSQL via Docker: use host.docker.internal instead of localhost\n3. For cloud providers: check your dashboard for the connection string",
"button_label": "Connection Docs"
}
}
]
}
},
"auth": {
"type": "none"
},
"contributor": {
"name": "Crystal DBA",
"github": "crystaldba",
"url": "https://github.com/crystaldba"
},
"links": {
"repository": "https://github.com/crystaldba/postgres-mcp",
"homepage": "https://www.postgresql.org",
"documentation": "https://github.com/crystaldba/postgres-mcp#readme"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": true
},
"changelog_url": "https://github.com/crystaldba/postgres-mcp/releases"
}
74 changes: 74 additions & 0 deletions servers/crystaldba.postgres-mcp-uvx.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"$schema": "../schemas/server-definition.schema.json",
"id": "crystaldba.postgres-mcp-uvx",
"name": "PostgreSQL (uvx)",
"alias": "postgres",
"description": "Query PostgreSQL databases, analyze performance, and optimize indexes. Execute SQL, inspect schemas, get EXPLAIN plans, identify slow queries, and run health checks via Postgres MCP Pro.",
"icon": "https://www.postgresql.org/media/img/about/press/elephant.png",
"schema_version": "2.1",
"categories": [
"database"
],
"tags": [
"postgres",
"postgresql",
"database",
"sql",
"query",
"relational",
"index-tuning",
"performance"
],
"transport": {
"type": "stdio",
"command": "uvx",
"args": [
"postgres-mcp",
"--access-mode=unrestricted"
],
"env": {
"DATABASE_URI": "${input:DATABASE_URI}"
},
"metadata": {
"inputs": [
{
"id": "DATABASE_URI",
"label": "PostgreSQL Connection URI",
"description": "PostgreSQL connection string including host, port, database name, and credentials.",
"type": "text",
"required": true,
"secret": true,
"placeholder": "postgresql://username:password@localhost:5432/mydb",
"obtain": {
"url": "https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING-URIS",
"instructions": "1. Format: postgresql://username:password@host:port/database\n2. For local PostgreSQL: postgresql://postgres:password@localhost:5432/mydb\n3. For cloud providers: check your dashboard for the connection string",
"button_label": "Connection Docs"
}
}
]
}
},
"auth": {
"type": "none"
},
"contributor": {
"name": "Crystal DBA",
"github": "crystaldba",
"url": "https://github.com/crystaldba"
},
"links": {
"repository": "https://github.com/crystaldba/postgres-mcp",
"homepage": "https://www.postgresql.org",
"documentation": "https://github.com/crystaldba/postgres-mcp#readme"
},
"platforms": [
"all"
],
"capabilities": {
"tools": true,
"resources": false,
"prompts": false,
"read_only_mode": true
},
"changelog_url": "https://github.com/crystaldba/postgres-mcp/releases"
}