Open jzillmann opened 1 day ago
It looks like npx
is interpreting the postgresql://
argument. Can you try the following config instead:
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"--",
"postgresql://plex_user:plex@localhost/plex_db_dev"
]
}
}
}
Having now
{
"mcpServers": {
"postgres": {
"command": "npx",
"args": [
"-y",
"@modelcontextprotocol/server-postgres",
"--",
"postgresql://plex_user:plex@localhost/plex_db_dev"
]
}
}
}
but It doesn't make a difference, still getting Error: Unsupported URL Type "postgresql:"
Describe the bug Getting
in
mcp-server-postgres.log
when starting claude desktop.To Reproduce Steps to reproduce the behavior:
~/Library/Logs/Claude/mcp-server-postgres.log
Expected behavior No error and the postgres should be usable
Logs see above
Additional context
npx @modelcontextprotocol/inspector npx -d -y @modelcontextprotocol/server-postgres postgresql://plex_user:plex@localhost/plex_db_dev