database/config/database.local.json
2025-12-27 16:21:09 +08:00

39 lines
719 B
JSON

{
"server": {
"listen": {
"host": "127.0.0.1",
"port": 7700
},
"auth": {
"type": "token",
"token": "ENV:MCP_AUTH_TOKEN"
},
"maxConcurrentClients": 10,
"logLevel": "info"
},
"environments": {
"local": {
"type": "postgres",
"connection": {
"host": "localhost",
"port": 5432,
"database": "postgres",
"user": "postgres",
"password": "postgres"
},
"defaultSchema": "public",
"pool": {
"max": 5
},
"statementTimeoutMs": 30000,
"mode": "readonly"
}
},
"audit": {
"enabled": true,
"output": "stdout",
"redactParams": true,
"maxSqlLength": 200
}
}