docker command: docker run -p 9092:9092 -v "${PWD}/config.json:/app/config.json" -e "TRANSPORT_MODE=sse" -e "CONFIG_PATH=/app/config.json" freepeak/db-mcp-server
config file : config.json
{
"connections": [
{
"id": "postgre",
"type": "postgres",
"host": "xx.xx.xx.xx",
"port": 5352,
"name": "xx",
"user": "xx",
"password": "xx"
}
]
}
postgres version: PostgreSQL 15.8
result: in cline,only find list_databases Tool
pic:

docker command:
docker run -p 9092:9092 -v "${PWD}/config.json:/app/config.json" -e "TRANSPORT_MODE=sse" -e "CONFIG_PATH=/app/config.json" freepeak/db-mcp-serverconfig file : config.json
{
"connections": [
{
"id": "postgre",
"type": "postgres",
"host": "xx.xx.xx.xx",
"port": 5352,
"name": "xx",
"user": "xx",
"password": "xx"
}
]
}
postgres version: PostgreSQL 15.8
result: in cline,only find list_databases Tool
pic: