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.
- Claude Code
- Read and write, active
- Cursor
- Read only, active
- Old laptop
- Revoked
Ready-made settings
Claude Code, Codex, Cursor, Claude Desktop and REST (curl) each get ready-made settings, plus a starter prompt. Just copy them.
Key rights and validity
A key is Read only or Read and write, valid for 30, 90 or 365 days or with no expiry. It can never do more than the role of the person who issued it.
See what the agent did
In the history of a transaction or planned payment, changes made by an agent are marked "via key" with the key's name.
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
Shared access
Invite a partner, an accountant or a family member. Everyone gets a role of their own: owner, editor or viewer.Transactions and quick entry
Income, expenses and transfers in one register. Press N anywhere in the app to record a new transaction.Payment calendar and balance forecast
Planned income, expenses and transfers day by day. The forecast shows the day your balance would drop below zero.
Try Finsloy with your own numbers
Sign up, add a card or cash and a few transactions, and your first report is ready.