MCP server wrapper for PostgreSQL - reads credentials from .env with configurable key mapping and safe read-only defaults.
| Tool name | Description | Destructive? |
|---|---|---|
| pg_execute_query⚠ | ⚠ yes | |
| pg_manage_schema | ✓ no | |
| pg_inspect_schema | ✓ no | |
| pg_manage_indexes | ✓ no | |
| pg_manage_constraints | ✓ no |
| pg_manage_functions | ✓ no | |
| pg_manage_triggers | ✓ no | |
| pg_manage_rls | ✓ no | |
| pg_manage_query | ✓ no | |
| pg_manage_users | ✓ no | |
| pg_analyze_database | ✓ no | |
| pg_monitor_database | ✓ no | |
| pg_debug_database | ✓ no | |
| pg_get_setup_instructions | ✓ no | |
| pg_execute_mutation⚠ | ⚠ yes | |
| pg_execute_sql⚠ | ⚠ yes | |
| pg_inspect_database_graph | ✓ no | |
| pg_describe_table_semantics | ✓ no | |
| pg_find_related_tables | ✓ no | |
| pg_classify_query_risk | ✓ no |
{
"mcpServers": {
"edelciomolinapostgres": {
"command": "npx",
"args": [
"-y",
"@edelciomolina/postgres-mcp"
]
}
}
}