跳转到内容
Doc Record

postgres使用记录

官方文档

  • docker方式
终端窗口
{
"mcpServers": {
"postgres": {
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"mcp/postgres",
"postgresql://host.docker.internal:5432/mydb"]
}
}
}