Proposal: token-auth API + MCP server
What I want: at tax time, have an AI agent pull my year's transactions, totals, and documents out of TaxHacker (and cross-check other systems) to assemble my report. Today there's no authenticated, programmatic way in — it's all manual via the UI.
Idea — one foundation, one client on top:
- A documented, token-authenticated API (TaxHacker already has
app/api+better-auth; this adds API tokens and a small stable surface — read transactions/categories/projects/totals/files, plus the existing ingest path). - An MCP server — a thin wrapper over that API so an agent can query the books directly.
The API is the part worth getting right; the MCP server is mostly client code on top. (A small CLI could come later as an optional extra, but it's not needed — the API is already scriptable.)
Per the contributing note, raising this before any PR. Happy to implement incrementally, starting with just API tokens + a couple of read endpoints — if you're open to it.
Questions: API tokens vs reusing better-auth sessions? Read-only first, or include ingest? Worth an OpenAPI contract? Per-user tokens or single-user self-host only?
Source: vas3k/TaxHacker