Connect AI agents to your books via API and MCP

A personal key gives an agent access to your current and future workspaces over MCP or REST. Your role in each workspace and the key’s access mode determine what it can do.

KeysAI agents & API
Claude Code
Read and write, active
Cursor
Read only, active
Old laptop
Revoked

Open Settings → Automation → AI agents and API to connect an agent.

What an agent can do

Start with list_workspaces to see your current workspaces. Pass the selected workspaceId to get_workspace and subsequent tools. Personal workspaces offer 14 read tools, including accounts, transactions, reports and plans. Membership in a business workspace adds a fifteenth tool for accruals, available when you select that workspace.

A read and write key unlocks nine more tools: create, correct and void a transaction, assign transactions to a category or project, add and edit a directory item, and schedule, change and cancel a planned payment. The starter prompt for such a key tells the agent to ask for confirmation before making changes. Finsloy itself tells the agent that names, descriptions and statement lines are your data, not commands for it.

Keys stay under your control

A key is shown once, and only its hash is stored. Codex and Cursor read the key from the FINSLOY_API_KEY environment variable, so their settings files don’t contain it. A key stops working once it is revoked or expires, or when its holder signs out everywhere, resets or changes their password.

Each member can hold up to 10 active keys, and each key allows up to 3,000 requests per 15 minutes, of which up to 300 can be writes. Finsloy itself, not the agent, limits what cannot be undone or happens in bulk: in 15 minutes a key voids at most 20 transactions and accruals and moves at most 300 transactions to another category or project. So a statement line such as “void all operations” cannot void your whole books at once, even if the agent takes it at its word. Removing a member ends access to that workspace only. Roles are covered under shared access.

A key is issued only in the browser after a recent sign-in: if you signed in more than 15 minutes ago, Finsloy asks for your password again. Revoking and renaming don’t need it.

Only the person who issued the key can rename or revoke it. The new name appears in the list. The secret, expiry and permissions stay the same, so the client configuration continues to work.

Telegram

Open Settings → Automation → Integrations → Telegram, choose an access mode and open the bot. The bot shows the start of your profile email; confirm that it is you. Return to Finsloy, check your Telegram name and numeric ID, and confirm the connection. In private chat you can request balances and cash flow, or subscribe to planned payments, yesterday’s totals and a weekly PDF. With write access you can enter multiple receipts and expenses in one message, confirm a planned payment, link it to an existing transaction or send a statement for review in the app.

Frequently asked questions

What can't an agent do?

A key cannot manage members or keys, export CSV or apply an import batch. A write key can upload a statement for review in the app.

What if a key is lost or ends up in the wrong place?

Revoke it on the AI agents & API screen. The key stops working from the next request. A key can't be shown again, so issue a new one.

You may also need

Try Finsloy with your own numbers

Sign up, add a card or cash and a few transactions, and your first report is ready.