Skip to content
SynkriaOps Help center
Blog Community Open the app

Automating your accounting with n8n and the MCP server

An AI assistant answers when you ask it a question. An automation acts on its own, at a set time or when an event happens: an email received, a form filled in, the first Monday of the month. n8n is one of the most widely used tools to build these automations without heavy development. It connects to SynkriaOps through the MCP server, with an agent key.

ElementRole
n8nTriggers and chains the steps (timer, email, webhook, sending a message…)
SynkriaOps MCP serverhttps://mcp.synkriaops.com/mcp: exposes SynkriaOps tools (list documents, import an invoice, check consistency…)
Agent keyThe secret that identifies the automation and carries its rights, never more than those of the person who created it

n8n offers two nodes to talk to an MCP server:

n8n nodeWhen to use it
MCP ClientOne specific SynkriaOps tool, called as a fixed workflow step. Predictable result: the right choice for a repetitive task.
MCP Client ToolSynkriaOps tools made available to an AI Agent node, which chooses which ones to call. For a conversational assistant built in n8n.
  • Machine access is open on your account (ask SynkriaOps support).
  • You have the right to connect an assistant: administrator, or a colleague authorised by management. See Management decides who uses an AI assistant.
  • You have an n8n instance (n8n Cloud or self-hosted).
  1. Create a dedicated agent key in Settings → AI assistants and MCP → Agents and automations → Create an agent. Give it a name that says what it is for (“Unpaid report n8n”), the “API key” usage, and only the rights this workflow needs. Set an expiry. The detailed procedure is in Connect an assistant.
  2. Copy the key: it is shown only once.
  3. In n8n, create a credential of type Bearer and paste the key into it. It stays out of your workflows: a shared or exported workflow does not contain it.
  4. Add an MCP Client node:
    • Server Transport: HTTP Streamable;
    • MCP Endpoint URL: https://mcp.synkriaops.com/mcp;
    • Authentication: Bearer, with the credential created in step 3.
  5. In Tool, choose the tool. The list is loaded from SynkriaOps and contains only the tools the key allows.
  6. Fill in the tool’s parameters (Input Mode: Manual field by field, or JSON), then run the node to test.
StepNodeSetting
TriggerSchedule TriggerEvery Monday at 8 am
SynkriaOpsMCP Client, tool lister_pieces_comptablesFiltered on unpaid invoices
FormattingCode or Edit FieldsTotal, top 10 overdue
DeliverySend Email, Slack, Teams…To management

Key rights: Read only. Nothing is ever changed in your books.

StepNodeSetting
TriggerEmail Trigger (IMAP)The company’s invoices@ mailbox
PreparationExtract From FilePDF attachment converted to a base64 string
SynkriaOpsMCP Client, tool importer_facture_fournisseur_pdfBase64 content and file name

SynkriaOps reads the invoice by OCR and creates a pre-filled draft (supplier, number, dates, amounts, VAT), with a confidence score per field and a warning if a similar invoice already exists. Nothing is posted: an accountant reviews and validates. Key rights: supplier invoice creation, without sensitive actions.

StepNodeSetting
TriggerSchedule TriggerEvery evening
SynkriaOpsMCP Client, tool verifier_coherence_comptableNo required parameter
ConditionIFIf consistency is not confirmed
AlertSend EmailTo the head of accounting, with examples of anomalies

The tool checks the general ledger read-only: unbalanced posted entries, matched groups that do not balance, broken reversal links, validated invoices without an entry. Key rights: Read only.

4. An accounting assistant in your messaging app

Section titled “4. An accounting assistant in your messaging app”
StepNodeSetting
TriggerChat Trigger (or a messaging channel)The team’s questions
ReasoningAI Agent with the model of your choice
ToolsMCP Client Tool connected to the agentTools to Include: Selected, read-only tools only
  • One key per workflow, with an explicit name: a leaked key is revoked without stopping other automations.
  • Minimal rights: read only as long as the workflow only reads.
  • An expiry: a key with no date stays valid until revoked.
  • Nothing sensitive without a human: sending a reminder, paying, posting a document are sensitive actions. Only grant them to an automation knowingly, and only if management has authorised it.
  • Follow the activity: every access has its Recent activity log (creations, changes, lookups).
  • Replace without cutting off: Rotate prepares a new key with the same rights; deploy it in n8n, check, then revoke the old one.

Make, Zapier or an in-house script work on the same principle as soon as they can call a remote MCP server with an Authorization: Bearer header. For a script, the reference configuration is in Connect an assistant.