Life Dashboard for VS Code
io.github.owen282000/life-dashboard
Read-only health and screen time history from the Postgres of a self-hosted Life Dashboard Stack
client:VS Code
transport:stdio
runtime:oci
Install Life Dashboard in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "mcp-transport",
"description": "MCP_TRANSPORT",
"password": true
},
{
"type": "promptString",
"id": "pghost",
"description": "PGHOST",
"password": true
},
{
"type": "promptString",
"id": "pgdatabase",
"description": "PGDATABASE",
"password": true
},
{
"type": "promptString",
"id": "pguser",
"description": "PGUSER",
"password": true
},
{
"type": "promptString",
"id": "pgpassword",
"description": "PGPASSWORD",
"password": true
}
],
"servers": {
"life-dashboard": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/owen282000/life-dashboard-mcp:1.1.2"
],
"env": {
"MCP_TRANSPORT": "${input:mcp-transport}",
"PGHOST": "${input:pghost}",
"PGDATABASE": "${input:pgdatabase}",
"PGUSER": "${input:pguser}",
"PGPASSWORD": "${input:pgpassword}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs