KLARA

KLARA MCP

The MCP server for KLARA: connect your KLARA business software to your AI assistant and manage customers, articles, invoices, accounting and payroll straight from the conversation.

Overview

KLARA MCP is a server built on the open Model Context Protocol (MCP), operated by ePost Service Ltd. It connects MCP-capable AI assistants – such as Claude or ChatGPT – to your KLARA company. The assistant can search and maintain customers and articles, create invoices with line items and recipients, record bookings with receipts, and add variable salary items to open payslips.

Good to know: Every action directly affects your company's real data. That's why KLARA MCP prepares every write access first – from creating a customer to sending an invoice –, shows you a summary, and only executes once you have approved it on the approval page in your browser, with an authenticator code or passkey.

Connect

Step 1 for every client: create an API key in KLARA. In KLARA, under Users, create a new API key. Give it only the roles you actually need – KLARA MCP reaches exactly what the key's role opens. Login works exclusively with an API key; enter your KLARA password only on KLARA itself, never anywhere else.

Connect with Claude

  1. In Claude, go to Settings → Connectors, choose Add custom connector and enter https://mcp.klara.ch/mcp – or pick the KLARA entry in the connector directory.
  2. Claude opens the KLARA MCP login page: paste your API key and connect.

Connect with ChatGPT

  1. Open chatgpt.com/plugins and click the plus “New plugin”. Enter the address https://mcp.klara.ch/mcp.
  2. On first connection the KLARA MCP login page opens: paste your API key and connect.

Start with the prompt “KLARA whoami” – the assistant then shows which company you're connected to and which areas your role opens.

Examples

Typical requests to your AI assistant look like this (all details are made up):

Create an invoice“Create a draft invoice for Muster Ltd: 3 consulting hours at 180 francs, payable within 30 days.”
Maintain master data“Add the UID CHE-123.456.789 to Muster Ltd.”
Create an article“Create article A-1001: consulting hour, service, 180 francs incl. VAT, standard rate 8.1 percent.”
Record a booking“Book 250 francs of office supplies paid from the bank account, and attach this receipt PDF.”
Add a salary item“Record 8 overtime hours on Anna Muster's open payslip.”

Capabilities

AreaWhat the assistant can doAccess
Customers & articlesSearch, create and update: customers with addresses, contacts, UID and VAT number; articles with prices, VAT and images; categories and filters.Read Approval
Invoices & ordersCreate invoices with line items and recipients and fetch them as PDF; delivery via email, ePost, eBill or print; look up order documents.Read Approval
AccountingRecord manual bookings with receipts, look up the chart of accounts and VAT catalogues, read open bank-reconciliation positions and VAT reports.Read Approval
PayrollBrowse the employee directory and add variable salary items (hours, allowances, bonuses) to open payslips.Read Approval

The confirmation gate

Everything irreversible runs in two steps: the assistant prepares the action and shows you a summary plus a link to the KLARA MCP approval page. There you approve the action yourself, with the code from your authenticator app or with a passkey (Touch ID, Face ID, Windows Hello). The assistant never receives a code or a secret; it only executes what you have approved, not even on instructions found in a document. The approval applies to exactly this action and is logged on the server. On the approval page you can also discard the action. When you connect for the first time you set up the authenticator app once (QR code); it applies to your API key, even if you later connect KLARA to another AI service. Different browser or device: enter your API key there once. Each action is executed exactly once. This applies to every write access: master data (customers, contacts, addresses, articles, categories, images) as well as deletions, creating and sending invoices, bookings, receipts, salary items and number counters. Unconfirmed preparations expire on their own after 30 minutes.

Available tools

KLARA MCP provides 64 tools – every operation is its own tool. Read only retrieves data, Approval prepares the action and requires your approval in the browser (authenticator code or passkey), Write only affects preparations (discard).

Context

ToolPurposeAccess
klara_whoamiConnected company, login type and which areas your role opensRead

Reference data

ToolPurposeAccess
klara_accountsChart of accounts – all of it or one account by codeRead
klara_account_pickerAccount picker for booking lines, including links valuesRead
klara_booking_typesBooking typesRead
klara_business_case_templatesBusiness case templates – catalogue, company selection or a single oneRead
klara_business_caseA single business case by idRead
klara_business_case_from_templateRead the business case derived from a template (ready booking template, read-only)Read
klara_accounting_configThe company's accounting settingsRead
klara_financial_yearsThe company's financial yearsRead
klara_vat_masterVAT master catalogue – list, current only or a single entryRead
klara_vat_typesVAT types – list or a single oneRead
klara_vat_casesVAT cases (e.g. TAXABLE_SUPPLY) – list or a single oneRead
klara_vat_profileThe company's VAT profile (reporting mode, net tax rate)Read
klara_vat_suggestionsKLARA's VAT suggestionsRead
klara_company_vatsVAT rates stored in the companyRead
klara_vat_included_settingWhether prices are kept including or excluding VATRead
klara_bank_accountsThe company's bank accountsRead
klara_exchange_rateExchange rate of a currency to CHFRead
klara_article_categoriesArticle categories – list or a single oneRead
klara_article_filtersArticle filters – list or a single oneRead
klara_cityA city in KLARA's city registerRead

Customers and articles

ToolPurposeAccess
klara_search_customersSearch customers by name, email, phone or customer numberRead
klara_get_customerOne customer in detail, optionally with contacts and additional addressesRead
klara_search_articlesArticles via full-text search or list by product typeRead
klara_article_detailsOne article with variants, set items and imageRead
klara_lookup_articlesArticles by article numbers or as a resolved variant listRead
klara_prepare_customer_createCreate a customer – including UID, VAT and commercial register numberApproval
klara_prepare_customer_updateUpdate a customer – the server reads the record and replaces only the given fieldsApproval
klara_prepare_customer_deleteDelete a customer (final)Approval
klara_prepare_contact_createCreate a customer's contact personApproval
klara_prepare_contact_updateUpdate a contact personApproval
klara_prepare_contact_deleteDelete a contact person (final)Approval
klara_prepare_address_createCreate a customer's additional addressApproval
klara_prepare_address_updateUpdate an additional addressApproval
klara_prepare_address_deleteDelete an additional address (final)Approval
klara_prepare_article_createCreate an article – including VAT type, case and codeApproval
klara_prepare_article_updateUpdate an article – the server takes mandatory fields from the recordApproval
klara_prepare_article_deleteDelete an article (final)Approval
klara_prepare_articles_bulkCreate several articles in one callApproval
klara_prepare_catalog_createCreate an article category or filterApproval
klara_prepare_catalog_updateUpdate an article category or filterApproval
klara_prepare_catalog_deleteDelete an article category or filter (final)Approval
klara_prepare_catalog_assignAssign a category or filter to a list of articlesApproval
klara_prepare_article_image_uploadAdd or replace an article image (PNG/JPEG)Approval
klara_prepare_article_image_deleteDelete an article image (final)Approval

Invoices and order documents

ToolPurposeAccess
klara_get_invoiceOne invoice with recipient, line items and booking statusRead
klara_list_invoicesSearch and page invoices: free text, status and payment-state filtersRead
klara_invoice_pdfFetch the invoice as PDF and extract its textRead
klara_order_documentsLook up order documents for an order numberRead
klara_order_numberingRead the numbering configuration (automatic or manual)Read
klara_prepare_invoiceCreate an invoice with recipient and line items, or edit a draftApproval
klara_prepare_send_invoiceDeliver a booked invoice: smart delivery or a fixed channel (email, ePost, eBill, print)Approval
klara_prepare_next_numberPull the next order or document number (advances the counter irreversibly)Approval

Accounting

ToolPurposeAccess
klara_bank_open_positionsOpen positions of the bank reconciliationRead
klara_vat_reportRead the VAT report of a period (without recalculation)Read
klara_prepare_bookingRecord a manual booking, optionally with a receipt PDF; debit/credit is checked upfrontApproval
klara_prepare_receipt_attachmentAttach a receipt PDF to an existing bookingApproval

Payroll

ToolPurposeAccess
klara_search_employeesEmployee directory with search, filter and sortingRead
klara_addable_salary_itemsWhich salary types may be added to a person's open payslipRead
klara_payroll_file_checkCheck the payroll interface file – format and size only, never the contentRead
klara_prepare_salary_itemRecord a variable salary item (hours, allowances, bonuses) on an open payslipApproval

Approval gate

ToolPurposeAccess
klara_pending_actionsShow prepared actions that are not yet confirmedRead
klara_confirmExecute an action you approved on the approval pageApproval
klara_cancel_pendingDiscard a prepared action for goodWrite

Security & data

Troubleshooting

“Access denied” or an area is missing

Your API key's role lacks the permission, or your company lacks the matching KLARA subscription – without it, a function stays closed even for administrators. Ask the assistant for “KLARA whoami”: the answer shows which areas are open. For more access, create a key with the right role in KLARA under Users and reconnect.

A city is rejected when creating a record

KLARA validates cities against its own registry and knows some only with the canton suffix – for example “Studen BE” instead of “Studen”. Adjust the spelling and retry; the error message points this out.

Creating an invoice demands a document number

Your company numbers invoices manually. KLARA MCP then deliberately pulls no number from the counter – tell the assistant the next number in your series, and it is used as the document number. With automatic numbering this happens by itself.

No invoice PDF is created on booking

That's KLARA API behaviour: unlike the UI, it renders no document when booking. Ask the assistant to create the PDF afterwards – on request it attaches it to the booking.

New features don't show up

AI assistants memorise a server's tool list when connecting. After KLARA MCP updates, disconnect once and reconnect.

The first answer takes long

After a longer pause the server restarts (cold start). The first request can therefore take a few seconds; after that it's fast.

“This action is no longer valid”

Prepared actions expire after 30 minutes without confirmation – for safety. Simply ask the assistant to prepare the action again.

Server error with an incident id on booking, PDF or sending

Known issues in the KLARA interface (as of August 2026, reported to KLARA): booking invoices, rendering PDFs and sending can fail through the interface with a server error, while the same action works in the KLARA user interface. Perform the action in KLARA; the incident id from the message helps support.

Support

Questions, problems or security concerns about KLARA MCP: support@klara.ch

Helpful for a quick answer: the error message from your AI assistant – for KLARA errors it contains an incident id that makes the case unambiguous. Never include API keys or passwords.

More about KLARA: klara.ch · For developers: developer.klara.ch