WaysAhead Global commited on
Commit
e2fa8ba
·
verified ·
1 Parent(s): f9f23e8

Update main.py

Browse files
Files changed (1) hide show
  1. main.py +5 -4
main.py CHANGED
@@ -32,10 +32,11 @@ MCP_CONFIG = {
32
  "failOnToolError": False
33
  },
34
  "postgres": {
35
- "command": "server-postgres",
36
- "args": [
37
- DATABASE_URI
38
- ]
 
39
  }
40
  }
41
  }
 
32
  "failOnToolError": False
33
  },
34
  "postgres": {
35
+ "command": "postgres-mcp",
36
+ "args": ["--access-mode=unrestricted"],
37
+ "env": {
38
+ "DATABASE_URI": DATABASE_URI
39
+ }
40
  }
41
  }
42
  }