Data and app

Connecting agents through MCP

Through MCP, agents can do what you do, under the same rules. Folnaro comes with its own MCP server. You decide in Settings what agents may change, and every change they make is in the audit log.

How it works

An agent is an assistant such as Claude or Codex that works in its own app. Connected to Folnaro, it can for example write a draft invoice from your notes, record the week’s time entries or check which invoices are overdue.

  • The MCP server is inside the app at Folnaro.app/Contents/MacOS/folnaro-mcp. Your agent app starts it when needed. Folnaro does not have to be open.
  • The server speaks MCP over stdio and needs no arguments. It works with the same database as the app, has no network access and needs no server on the internet.
  • When an agent changes something, the Folnaro window updates right away.

Connect an agent

  1. Choose Folnaro > Settings… > Agents.
  2. Under Connect an agent, choose the app your agent runs in as Client: Claude Desktop, Claude Code, Codex, Cursor or Other MCP client. The snippet below adapts to it.
  3. For Claude Desktop, Codex and Cursor, click Write Configuration… Folnaro suggests the usual configuration file and adds itself there. Other servers and settings in the file are kept, even if macOS asks whether to replace the file.
  4. Or click Copy and paste the snippet yourself.
  5. Restart the agent app.
Settings > Agents with the client picker and the snippet for Claude Desktop.
Settings > Agents with the client picker and the snippet for Claude Desktop.

Claude Desktop

The file is ~/Library/Application Support/Claude/claude_desktop_config.json. With Folnaro in the Applications folder, the entry looks like this:

{
  "mcpServers" : {
    "folnaro" : {
      "args" : [],
      "command" : "/Applications/Folnaro.app/Contents/MacOS/folnaro-mcp"
    }
  }
}

Restart Claude afterwards.

Claude Code

Run this command once in Terminal:

claude mcp add folnaro -- '/Applications/Folnaro.app/Contents/MacOS/folnaro-mcp'

Codex

The entry goes into ~/.codex/config.toml. Restart Codex afterwards.

[mcp_servers.folnaro]
command = "/Applications/Folnaro.app/Contents/MacOS/folnaro-mcp"
args = []

Cursor and other clients

Cursor reads ~/.cursor/mcp.json with the same structure as Claude Desktop and picks up the entry after a restart. Other apps only need the server path as the command, with no arguments.

Note If Folnaro is somewhere else, use the path shown under MCP server in Settings. Show in Finder reveals the file. Messages follow your system language. Set it with the environment variable FOLNARO_LANGUAGE (de or en).

Decide what agents may do

Under What agents may do, each capability has its own switch. At first everything is off, Read too. When you turn on a capability that writes, Folnaro asks for Touch ID or your login password.

SwitchWhat it allows
ReadCustomers, documents, expenses, time and reports.
Create and edit draftsQuotes, invoices, customers and products as drafts. This switch also covers merging duplicate customers. An agent never changes a customer’s bank details itself, it proposes them.
Finalize documentsAssigns the number. After that a document can only be canceled, which has its own switch.
Cancel documentsCancels finalized invoices and self-billing invoices with a cancellation document. A cancellation cannot be undone.
SendingQueue documents for sending by email, mark them as sent and retry the outbox. A queued email only goes out after you confirm it in Folnaro.
Send without confirmationQueued emails go to customers or the tax advisor at once. Agents may then also turn on automatic sending for recurring invoices. Only takes effect together with Sending.
Propose paymentsAgents propose that an invoice was paid. It only counts as paid once you accept the proposal.
Bank transactionsImport bank statements and assign transactions to receipts. Matches with invoices become proposals. An agent can delete a duplicate transaction when Folnaro would offer it to you too. It is recorded in the audit log.
Record expensesCreate expenses and attach receipts.
Track timeCreate and change time entries.
Change settingsBusiness profile, document design with logo and banner, dunning, filing deadlines, tax reserve, hourly rate and payment term, DATEV settings, GiroCode, direct debit at the tax office and recurring invoice bundling. Only you change tax numbers and VAT ID, in the app. Your bank details on invoices, the PayPal.me name, your tax advisor’s email and the upload address for DATEV Upload Mail an agent can only propose. Never bank login, email password or these permissions.

What Folnaro checks for you:

  • An agent only sees the tools whose switch is on. If it tries something you have not allowed, it gets a message naming the switch you would have to turn on. It cannot turn it on itself.
  • A change to a switch applies to the agent’s next request. You do not have to restart the agent app.
  • The switches stay on this Mac. They are not part of iCloud sync, so on a second Mac you allow agents again.

Agents

What agents may read and change through MCP.

What agents may do

  • ReadCustomers, documents, expenses, time and reports. What an agent reads goes to the company that runs it, such as Anthropic or OpenAI.
  • Create and edit draftsQuotes, invoices, customers and products as drafts.
  • Record expensesCreate expenses and attach receipts.
  • Track timeCreate and change time entries.
  • Finalize documentsAssigns the number. After that a document can only be canceled, which has its own switch.
  • Cancel documentsCancels finalized invoices and self-billing invoices with a cancellation document. A cancellation cannot be undone.
  • SendingQueue documents for email. A queued email only goes out once you confirm it in Folnaro.

Everything an agent changes is recorded in the audit log and goes through the same checks as your own changes.

The switches under What agents may do.

Allow a new program

While agents are on, every program you run on this Mac can call Folnaro’s MCP server. That’s why a program gets no data until you have allowed it once, whatever the switches say.

  1. Connect your agent program as described above and ask it a first question. It reports that it has no access yet.
  2. Choose Folnaro > Settings… > Agents. Under Programs you see the request with the program’s name.
  3. Click Allow and confirm with Touch ID or your login password. If you don’t know the program, click Deny.

When a program asks for the first time, Folnaro shows a notification Access requested with its name, also while only Folnaro’s menu bar item runs. View opens Suggestions, where you allow the access with Touch ID or your password. Each program gets the notification only once, and after an hour without an answer Folnaro reminds you a single time. While requests wait, Suggestions in the sidebar, the Dock icon and Folnaro in the menu bar include them in their count.

The approval applies from the next request on. A program with a valid signature of its developer keeps it after updates too, such as Claude Code or Codex. Revoke Access takes it back. Allowing and denying are recorded in the audit log. If an allowed program starts other programs itself, they count as that program.

Under Programs each program has one row, with its last version and the date of its last request. Folnaro recognizes a program without a signature only by its folder. So each new version asks again, and its versions are collected under one row, each with its own Allow and Deny. If earlier versions of Folnaro stored a signed program once per version, Folnaro merges those entries as soon as the program asks again. A denial stays a denial.

The same rules as in the app

  • Agents go through the same checks as you. A document with findings that need a reason can only be finalized once the agent gives a reason. The reason goes into the audit log.
  • Numbers are assigned only when a document is finalized, exactly as in the app.
  • Finalized documents stay unchangeable. An agent, too, corrects them only by cancellation.

Contracts

Contracts have their own tools, whose names start with contracts_. They follow the same switches as documents:

  • Read: view contracts, templates, status and history.
  • Create and edit drafts: start a contract from a template or a quote and answer the fill-in questions.
  • Finalize documents and Sending: send a contract. Folnaro assigns the number as in the app. Only Folnaro itself places your own signature after Touch ID, never an agent.

An agent gets the same errors and notices as you, as general rules with their source. It gets no assessment of whether a contract suits your job, and gives you none on Folnaro’s behalf. A sent contract stays unchanged for agents too; changes go through an addendum only.

An agent handles the parts your customer fills in like this:

  • With contracts_answer and its field “customer_fills_in” it turns on, on a draft, that your customer fills in a part, including the number of empty rows.
  • contracts_fill_ins_list reads the parts and your customer’s entries.
  • contracts_fill_in_take_over takes entries over and files the supplement as a PDF. contracts_fill_in_record_paper records what is written on the paper.

For your own templates there are these tools:

  • contract_own_templates_list reads them.
  • contract_own_templates_save, contract_own_templates_rename, contract_own_templates_duplicate and contract_own_templates_delete change them when Create and edit drafts is on.
  • contracts_draft_from_own_template starts a draft from an own template.

When saving, Folnaro leaves out everything that belongs to one customer or one event. It tells the agent what it replaced.

Merging duplicate customers

When an agent creates or searches for a customer, Folnaro lists customers that look the same, for example with the same VAT ID, email or name. With Create and edit drafts turned on, the agent can merge them, just like Merge Customers… in the app:

  • It first gets a preview of what would move, including how many finalized documents are affected.
  • Documents, time entries, projects and expenses move to the remaining customer. Finalized documents keep their recipient, amounts and number.
  • The duplicates are archived, never deleted. A merge can be undone once.
  • The tools are customers_merge (call it with dry_run first for the preview) and customers_merge_revert with the merge id it returns.

Tags and smart lists

Agents see your tags and smart lists and work with them the way you do:

  • With Read they find everything with a tag (tags_records) and see what a smart list shows right now (smart_lists_records).
  • With Create and edit drafts they add and remove tags, also on finalized invoices. An unknown name creates the tag. They also create smart lists, rename them, change their conditions and delete them (smart_lists_create, smart_lists_update, smart_lists_delete).
  • Every change shows in the history with the agent as its author. Tags and lists stay available after the trial because they never change a record.

Review agent proposals

Agents never mark an invoice as paid themselves and never change where money or documents go. They propose and you decide.

  1. Click Suggestions in the sidebar (⇧⌘A). The number next to it shows how many suggestions are waiting, also in the overview and the menu bar window. Folnaro can notify you as well.
  2. The page groups them by kind: time, payments, changes, approvals and access. With ⌘K you also find it as Review Agent Proposals.
  3. Click Accept on a proposal. For a payment, Folnaro records it in your name; only then does the invoice count as paid. For a change, Folnaro applies the new values in your name. The lock next to the button means you confirm with Touch ID or your password first. That applies to changes and to an agent’s access. An approval records the name you confirm.
  4. Or click Decline and optionally give a reason. Nothing is recorded or changed, and the agent sees the reason.

Accepting and declining are recorded in the audit log.

Proposed time entries can be accepted in one go with Accept All; ⌘Z takes them back. Payments whose amount and invoice number match exactly can be accepted in one go with Accept All Exact Matches. Changes, approvals and access are never accepted in bulk. More in Payment proposals from agents. Through MCP, agents only see whether a proposal is an exact match; only you can accept it.

The Suggestions page with Accept and Decline.
The Suggestions page with Accept and Decline.

Bank details and addresses

An agent cannot change your bank details on invoices, your PayPal.me name, a customer’s bank details, your tax advisor’s email or the upload address for DATEV Upload Mail itself, not even with every switch on. It gets the answer that the change waits for your confirmation. Until then everything stays as it is stored: invoices keep carrying your current IBAN, the package for your tax advisor keeps going to the current address.

For each proposed change the page shows what is stored now and what would be new. Check a new IBAN or address with its source, such as your bank or your tax advisor, before you accept. An agent can withdraw its own proposal; nobody changes a decided proposal any more.

Without an active subscription

Without an active subscription or the one-time purchase, agents cannot create anything new, whatever is switched on. Settings shows Without an active subscription agents can only read, whatever is switched on here.

  • Locked: new drafts, finalizing, time entries and timers, billing time, new expenses, new self-billing invoices, creating recurring invoices and changing your own templates.
  • Keeps working: reading and every export, canceling an incorrect invoice, payments and payment proposals, bank reconciliation, customers and products, editing existing drafts and stopping a running timer.

The agent gets a message that Folnaro is in read-only mode. More in Subscription, trial and what always stays.

What agents changed

Every change by an agent is recorded in the audit log, with the agent as author and the name of its app, for example claude-code. An agent can read the log of a record itself, so you can ask it what it changed. The log is part of every backup, and nobody can change its entries afterwards.

Common problems

The agent does not find Folnaro
Restart the agent app after writing the configuration. Check that the path in the configuration matches the one under MCP server. After moving Folnaro to another folder, write the configuration again.
An entry still points to Contents/Helpers
Earlier versions put the server there. Click Write Configuration… again or copy the new snippet. The entry is replaced and other entries are kept.
“Configuration not written”
The file is not valid JSON or could not be read. Folnaro leaves it unchanged. Fix the file or click Copy and paste the snippet by hand.
The agent says a switch is off
Turn on the switch it names under What agents may do. It applies to the agent’s next request.
The agent cannot create anything although the switch is on
Without an active subscription agents work read only. Check Folnaro > Settings… > Subscription.