For AI agents

Let an AI agent such as Claude Code, Codex or Cursor work with Moniary through the CLI or the API.

Moniary is ready for AI agents. An agent reads the docs, finds the right action and runs it as you.

Docs for agents

URLWhat it contains
/llms.txtA short index, following the llms.txt convention
/llms-full.txtAll developer docs plus every action with its input, in one file
/docs/<page>.mdAny docs page as plain Markdown, e.g. /docs/api.md
/api/v1/openapi.jsonThe machine-readable API description (OpenAPI 3.1)

It's enough to tell the agent: "Read https://moniary.com/llms-full.txt and use the moniary command."

Recommended workflow

  1. Find the action: moniary actions <search> --json
  2. Read its input: moniary describe <action>
  3. Run it: moniary run <action> '<json>'
  4. Check the result with a read action before going on.

If an action returns INVALID_INPUT, the issues list says exactly which field to fix. Send writes with an idempotencyKey: when an agent retries a timed-out request with the same key, Moniary doesn't run it twice.

Safely

  • Give an agent that only answers questions a Read key. It can't change anything.
  • Actions with access confirm (issuing and sending invoices, reminders, payment orders sent to the bank for signing) have effects outside Moniary. Have the agent ask you first.
  • An invoice or reminder an agent wants to e-mail (issuedInvoices.sendIssuedInvoiceEmail, issuedInvoices.sendIssuedInvoiceReminders, or issuedInvoices.issueInvoice with sendEmail) is not sent right away. The action returns an approval request with an id and status pending. You approve or reject it in Moniary or on mobile. The agent reads the status with agentApprovals.get (pending, approved, rejected).
  • Deleting and buying aren't available through the API at all.
  • Give each agent its own key. The Last used column shows when it was used, and you can revoke it with one click.

ChatGPT and Claude

To work with Moniary in a chat (ChatGPT, Claude), connecting it directly is easier. In ChatGPT, Moniary is a ready-made app; in Claude, you add it as a connector. You don't need an API key; you sign in with your Moniary account. The MCP server address is https://moniary.com/api/mcp, and agents that support MCP with sign-in can use it too. See Integrations.

A document uploaded over MCP is extracted in the background. An agent that supports MCP tasks (Claude, for example) gets a task and picks up the extraction result when it is ready. Other agents get an upload session ID and check the status in the list of uploaded files.

What changed since last time

An agent connected over MCP doesn't have to re-read lists. The events_since tool returns what happened in the workspace since its last call: new documents and what happened to them (paid or e-mailed, for example), new bank transactions and matched payments. The events come from the change history. Each carries only the record's ID; the agent loads the details with the other tools.

The response includes a cursor. The agent passes it on the next call and gets only newer events. A first call without a cursor returns the last 24 hours. When hasMore is true, the agent should call again right away. A member gets the events about records they can read, without the field changes from the change history. File uploads before extraction, tasks and unmatched payments are not in the feed; the task list tool returns tasks.