Ledgr for VS Code
io.github.kentaniguchi-r/ledgr
Self-hosted personal finance app with bank sync, budgets, net worth and investment tracking
client:VS Code
transport:stdio
runtime:oci
Install Ledgr in VS Code
.vscode/mcp.json
{
"inputs": [
{
"type": "promptString",
"id": "database-url",
"description": "DATABASE_URL",
"password": true
},
{
"type": "promptString",
"id": "mcp-enabled",
"description": "MCP_ENABLED",
"password": true
},
{
"type": "promptString",
"id": "ledgr-data-dir",
"description": "LEDGR_DATA_DIR",
"password": true
},
{
"type": "promptString",
"id": "ledgr-url",
"description": "LEDGR_URL",
"password": true
},
{
"type": "promptString",
"id": "better-auth-url",
"description": "BETTER_AUTH_URL",
"password": true
}
],
"servers": {
"ledgr": {
"type": "stdio",
"command": "docker",
"args": [
"run",
"-i",
"--rm",
"ghcr.io/kentaniguchi-r/ledgr:0.3.4"
],
"env": {
"DATABASE_URL": "${input:database-url}",
"MCP_ENABLED": "${input:mcp-enabled}",
"LEDGR_DATA_DIR": "${input:ledgr-data-dir}",
"LEDGR_URL": "${input:ledgr-url}",
"BETTER_AUTH_URL": "${input:better-auth-url}"
}
}
}
}
VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs