billingo-mcp
This is the official Billingo MCP server, exposing Billingo's invoicing API v3 through 22 always-available read tools plus 27 write tools that only appear when explicitly enabled (read-only by default).
Inspect the organization: tax code, subscription, and whether NAV Online Számla is connected.
Validate Hungarian tax numbers against the public registry and fetch official currency conversion rates (optionally for a past date).
List and fetch partners, products (including stock quantity), spendings (date-filtered), bank accounts, and document blocks (invoice number ranges).
List and retrieve documents (invoices, receipts, proformas, drafts) filtered by type, date range, partner, document block, payment status or payment method.
Get a document's PDF as a shareable public URL or base64 bytes, its public link, or a POS thermal-printer-sized receipt PDF.
Check a document's NAV Online Számla reporting status, its recorded payments, and the reminder events sent for it.
Export documents in a date range to CSV, Excel, NAV XML or named accounting-system formats.
With writes enabled: create, update (partial, read-modify-write) and delete partners, products, spendings and bank accounts; create document blocks.
Create invoices, receipts, proformas, drafts and advance invoices; finalize drafts (issues and reports to NAV); copy documents; create modification/correction documents; convert a proforma into an invoice.
Replace or delete a document's recorded payments, and archive proforma documents.
Send documents by email, cancel (storno) documents, and delete drafts/unissued documents — all irreversible actions.
Restrict which tool groups load (organization, partners, products, spendings, bank_accounts, document_blocks, documents) to keep the prompt small.
Click on "Deploy Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@billingo-mcp Create a draft invoice for Vantage Kft. for 150,000 HUF"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
A hivatalos Billingo MCP szerver — 49 eszköz (tool) a Billingo v3 számlázási API felett, stdio (asztali) és Streamable HTTP (önállóan üzemeltethető) kliensekhez. MIT licenc alatt, önállóan üzemeltethető. Ez az első hivatalos Billingo SDK vagy MCP szerver — korábban nem létezett ilyen.
A legtöbb felhasználónak nincs szükség telepítésre — használd a
hosztolt szervert a mcp.billingo.hu
címen. Inkább saját magad futtatnád? Publikálva van npm-en is
@billingo/billingo-mcp
néven (npx, build nélkül), és Docker image formájában is —
lásd a Válassz futtatási módot szakaszt lentebb.
Olvasd angolul is — az angol szakasz egy teljes fordítás, nem összefoglaló.
Tartalomjegyzék
Related MCP server: billingo-mcp
🧭 Válassz futtatási módot
Beállítás | Kinek ajánlott | |
Semmi — csak add meg a kliensedben az URL-t | A legtöbb felhasználónak: nulla telepítés, nulla karbantartás | |
| Asztali MCP kliensek (Claude Desktop, Claude Code) | |
| Ha saját infrastruktúrán akarod futtatni |
🌐 Használat a hosztolt szerverrel (ajánlott)
Nincs telepítés, nincs önálló üzemeltetés — csak állítsd be a klienst a
https://mcp.billingo.hu címre, és minden kéréssel küldd el a Billingo API
kulcsodat. Ez a leggyorsabb módja a kezdésnek; csak akkor nyúlj a
stdio vagy Docker
módokhoz lentebb, ha kifejezetten önálló üzemeltetésre van szükséged.
Claude Code CLI
claude mcp add --transport http billingo https://mcp.billingo.hu \
-s user \
-H "X-Billingo-Api-Key: your-api-key" \
-H "X-Billingo-Allow-Write: true"A -s user az összes projekteden át regisztrálja, nem csak az aktuálisban; az
(alapértelmezett) -s local-lal csak az aktuális projektre korlátozod. Hagyd el az
X-Billingo-Allow-Write fejlécet, vagy állítsd "false"-ra, csak-olvasás
hozzáféréshez.
Más HTTP-kompatibilis MCP kliensek
Bármelyik kliens, amely támogatja a Streamable HTTP protokollt, ugyanígy működik:
állítsd be rá a https://mcp.billingo.hu címet, az X-Billingo-Api-Key fejléccel
(kötelező), opcionálisan az X-Billingo-Allow-Write-tal — a teljes fejléc-referenciáért
lásd a Konfiguráció szakaszt.
Az API kulcsot ugyanúgy szerezd be, mint az API kulcs szakaszban lentebb leírtak szerint.
💻 Telepítés / futtatás stdio-val
Nincs telepítési lépés — az npx igény szerint letölti és futtatja a csomagot.
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"billingo": {
"command": "npx",
"args": ["-y", "@billingo/billingo-mcp"],
"env": {
"BILLINGO_API_KEY": "your-api-key",
"BILLINGO_ALLOW_WRITE": "false"
}
}
}
}Utána indítsd újra teljesen a klienst — a Claude Desktop csak induláskor olvassa ezt a fájlt, tehát az ablak bezárása nem elég (macOS-en ⌘Q).
Claude Code CLI
claude mcp add billingo -s user \
-e BILLINGO_API_KEY=your-api-key \
-e BILLINGO_ALLOW_WRITE=false \
-- npx -y @billingo/billingo-mcpA -s user a felhasználódhoz köti a szervert az összes projekteden át, nem csak az
aktuálishoz, és semmit nem ír a repóba. Az (alapértelmezett) -s local-lal csak az
aktuális projektre korlátozod. Ellenőrzés: claude mcp list, illetve a mentett
konfiguráció megtekintése: claude mcp get billingo.
Más MCP kliensek
Bármelyik kliens, amely elfogadja a szabványos mcpServers JSON formátumot (pl.
Cursor, Windsurf), változtatás nélkül újrahasznosíthatja a fenti Claude Desktop blokkot
— a command, args és env nem Claude-specifikus, csak a befoglaló konfigurációs
fájl és annak helye tér el klienstől függően.
API kulcs
Az API kulcsot a Billingóban a Beállítások → API kulcsok → Új API kulcs menüpont alatt hozod létre. Az űrlapon:
Hozzátartozó összekötés: Egyedi fejlesztés.
API hatásköre: Olvasás, ha csak listázni/lekérdezni akarsz, vagy Írás, ha dokumentumokat is szeretnél létrehozni, módosítani, küldeni vagy stornózni.
Ez egy második, a lenti BILLINGO_ALLOW_WRITE-tól független kapu: egy csak-olvasás
hatáskörű kulcs minden író hívásnál közvetlenül a Billingo API-tól kap jogosultsági
hibát, még akkor is, ha itt a BILLINGO_ALLOW_WRITE "true"-ra van állítva — mindkettőnek
engedélyeznie kell. Hagyd a BILLINGO_ALLOW_WRITE-ot "false"-on (vagy hagyd el),
hacsak nem szeretnéd, hogy a modell dokumentumokat hozhasson létre, módosíthasson,
küldhessen el vagy stornozhasson — lásd a Biztonság szakaszt. Fontos: az
olyan konfigurációs fájlok, mint a claude_desktop_config.json, sima szövegként
tárolódnak, tehát a kulcs titkosítatlanul áll a lemezen.
Ellenőrzés: a kliensnek read-only módban 22 eszközt kell listáznia, "true"-ra
állított BILLINGO_ALLOW_WRITE mellett pedig 49-et. Ha nem talál eszközt, nézd meg a
kliens naplóját (macOS-en ~/Library/Logs/Claude/mcp-server-billingo.log) — a szerver
{"name":"billingo","version":"0.1.0"} néven mutatkozik be. Ha ott más név szerepel,
akkor a kliens egy másik, ugyanezen a néven regisztrált szerverhez beszél.
🐳 Futtatás Dockerrel (HTTP)
docker run -p 3000:3000 ghcr.io/octonull/billingo-mcp:latestA image nem tartalmaz beégetett API kulcsot. A HTTP mód állapotmentes (stateless) és kérésenkénti: minden hívás egy fejlécben (header) viszi a Billingo API kulcsot, a szerver soha nem tárolja azt. Példahívás, a két Billingo-specifikus fejléccel:
curl -X POST http://localhost:3000 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'X-Billingo-Api-Key: your-api-key' \
-H 'X-Billingo-Allow-Write: true' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'A GET /health {"status":"ok"}-kal válaszol, fejléc nélkül is — ez a konténer
health checkekhez van. A GET /build_version a futó image build-idejű verzióját adja
vissza, pl. {"buildVer":"fcc756d@0.1.0"} — vagy csak a commit SHA-t
({"buildVer":"fcc756d"}), ha az adott build nem tartozik release tag-hez.
Magát az API kulcsot ugyanúgy hozd létre, mint stdio-nál — lásd az
API kulcs szakaszt fentebb —, és adj neki Írás hatáskört a Billingo
oldalán, ha küldeni akarod az X-Billingo-Allow-Write fejlécet.
Claude Code CLI
claude mcp add --transport http billingo http://localhost:3000 \
-s user \
-H "X-Billingo-Api-Key: your-api-key" \
-H "X-Billingo-Allow-Write: true"A -s user itt is az összes projekteden át regisztrálja, nem csak az aktuálisban; az
(alapértelmezett) -s local-lal csak az aktuális projektre korlátozod. Hagyd el
az X-Billingo-Allow-Write fejlécet, vagy állítsd "false"-ra, csak-olvasás
hozzáféréshez.
🔧 Konfiguráció
Változó | Transport | Kötelező | Alapérték | Jelentés |
| csak stdio | igen | — | A Billingo API kulcsod. HTTP módban nem ezt olvassa a szerver — lásd lent. |
| csak stdio | nem |
|
|
| csak stdio | nem | mind | Vesszővel elválasztott eszközcsoportok, csak ezek töltődnek be: |
| mindkettő | nem |
| Az API alap URL felülírása, pl. proxy mögé állításhoz. |
| csak HTTP | nem |
| A HTTP szerver figyelési portja. |
| csak HTTP | nem | nincs beállítva (védelem kikapcsolva) | Vesszővel elválasztott lista az elfogadott |
HTTP módban a hitelesítés és a jogosultsági kör (scope) kérésenként, fejlécben érkezik:
Fejléc | Kötelező | Jelentés |
| igen | A kérésnél használandó Billingo API kulcs. Soha nem kerül tárolásra. |
| nem |
|
| nem | Ugyanaz a csoportlista, mint a |
🔒 Biztonság
Ezt a szakaszt olvasd el, mielőtt bárkinek elérhetővé teszed a szervert.
Alapértelmezetten csak olvasható (read-only). Az író eszközök (létrehozás, módosítás, törlés, küldés, storno) teljesen ki vannak szűrve a
tools/list-ből, hacsak explicit be nem kapcsolod aBILLINGO_ALLOW_WRITE-tal (stdio) vagy azX-Billingo-Allow-Writefejléccel (HTTP). Egy modell, amely soha nem lát egy író eszközt, nem is tudja meghívni. Ez az elsődleges biztonsági mechanizmus — hagyd kikapcsolva az írást, hacsak kifejezetten nem szükséges.A kiállított számlák automatikusan a NAV felé jelentésre kerülnek, és ez nem vonható vissza. Amint egy dokumentum véglegesítésre (finalize) kerül és számlává válik, a NAV Online Számla jelentés azonnal megtörténik, és nem visszafordítható. Egy hibás számla egyetlen orvoslása a storno (érvénytelenítés) — de a storno maga is végleges: örökre érvényteleníti a számlát, és ez is jelentésre kerül a NAV felé. Egy már kiállított számlára nincs "törlés".
A HTTP mód TLS-t igényel. Az API kulcs minden kérésnél az
X-Billingo-Api-Keyfejlécben utazik. Zárd le a TLS-t a konténer előtt (reverse proxy, load balancer, vagy a platform ingressze) — soha ne futtasd a HTTP módot titkosítatlan HTTP-n, megbízható helyi hálózaton kívül.A HTTP mód szándékosan nem tárol API kulcsot. Ne "javítsd ki" ezt egy konténerszintű környezeti változóval beállított API kulccsal — ez a telepítést egyfelhasználóssá tenné, és bárki, aki eléri a konténert, a te fiókodra tudna számlázni, mivel semmi nem különböztetné meg a kéréseket egymástól. A kérésenkénti fejléc pont ezért létezik.
Mindig állítsd be a
BILLINGO_ALLOWED_HOSTS-t, ha a HTTP szerver publikusan elérhető. Enélkül a DNS-rebinding védelem ki van kapcsolva.
🧰 Eszközök
Összesen 49 eszköz: 22 olvasó (mindig látható), 27 író (csak akkor látható, ha az
írás engedélyezve van). Ha egy kliens minden eszköz sémáját a promptba teszi, a
BILLINGO_TOOL_CATEGORIES (HTTP-n X-Billingo-Tool-Categories) beállítással csak a
szükséges csoportok töltődnek be.
Szervezet (Organization) (3 olvasó)
billingo_get_organization— Szervezeti adatok lekérése (adószám, előfizetés, NAV-kapcsolat állapota).billingo_check_tax_number— Magyar adószám ellenőrzése (teljes, kötőjeles adószám; élő NAV-kapcsolat kell).billingo_get_conversion_rate— Hivatalos árfolyam lekérése, opcionálisan egy múltbeli dátumra.
Partnerek (2 olvasó, 4 író)
billingo_list_partners— Partnerek listázása.billingo_get_partner— Egy partner lekérése.billingo_create_partner— Partner létrehozása. (író)billingo_update_partner— Partner módosítása; csak a megadott mezők változnak. (író)billingo_guess_partner— Partner keresése adószám/email alapján, vagy létrehozása. (író)billingo_delete_partner— Partner törlése. (író)
Termékek (3 olvasó, 3 író)
billingo_list_products— Termékek listázása.billingo_get_product— Egy termék lekérése.billingo_get_product_quantity— Egy termék készletmennyiségének lekérése.billingo_create_product— Termék létrehozása. (író)billingo_update_product— Termék módosítása; csak a megadott mezők változnak. (író)billingo_delete_product— Termék törlése. (író)
Kiadások (Spendings) (2 olvasó, 3 író)
billingo_list_spendings— Kiadások listázása.billingo_get_spending— Egy kiadás lekérése.billingo_create_spending— Kiadás létrehozása. (író)billingo_update_spending— Kiadás módosítása; csak a megadott mezők változnak. (író)billingo_delete_spending— Kiadás törlése. (író)
Bankszámlák (2 olvasó, 3 író)
billingo_list_bank_accounts— Bankszámlák listázása.billingo_get_bank_account— Egy bankszámla lekérése.billingo_create_bank_account— Bankszámla létrehozása. (író)billingo_update_bank_account— Bankszámla módosítása; csak a megadott mezők változnak. (író)billingo_delete_bank_account— Bankszámla törlése. (író)
Dokumentumblokkok (1 olvasó, 1 író)
billingo_list_document_blocks— Dokumentumblokkok (számlaszám-tartományok) listázása.billingo_create_document_block— Dokumentumblokk létrehozása. (író)
Dokumentumok — olvasás (8)
billingo_list_documents— Dokumentumok listázása (számlák, nyugták, díjbekérők, piszkozatok és mások).billingo_get_document— Egy dokumentum lekérése id vagy külső azonosító (vendor id) alapján.billingo_download_document— A dokumentum PDF-jének lekérése (publikus URL, vagy base64 bájtok).billingo_get_document_public_url— Megosztható publikus URL lekérése egy dokumentumhoz.billingo_get_online_szamla_status— Egy dokumentum NAV Online Számla jelentési állapotának lekérése. Hibát ad, ha a dokumentumnak nincs NAV rekordja — pl. ha a szervezet nincs csatlakoztatva a NAV Online Számlához, vagy a dokumentum nem tartozik jelentési kötelezettség alá.billingo_get_document_payments— Egy dokumentumhoz rögzített kifizetések lekérése.billingo_get_document_reminders— Egy dokumentumhoz küldött fizetési emlékeztetők lekérése.billingo_pos_print— POS hőnyomtatóhoz méretezett PDF nyugta lekérése egy dokumentumhoz.
Dokumentumok — írás (9)
billingo_create_document— Dokumentum létrehozása (számla, díjbekérő, piszkozat vagy előlegszámla). (író)billingo_create_receipt— Nyugta létrehozása (nyugta típusú számlatömb kell hozzá). (író)billingo_finalize_draft— Piszkozat véglegesítése számlává — kiállítja és jelenti a NAV felé. (író)billingo_finalize_receipt_draft— Piszkozat véglegesítése nyugtává. (író)billingo_create_document_from_proforma— Számla létrehozása díjbekérőből. (író)billingo_copy_document— Dokumentum másolása; számla másolata piszkozat lesz (abillingo_finalize_draftállítja ki). (író)billingo_create_modification_document— Módosító (helyesbítő) dokumentum létrehozása. (író)billingo_update_payment— Egy dokumentum rögzített kifizetéseinek felülírása: a listából kihagyott kifizetés törlődik. (író)billingo_archive_document— Proforma dokumentum archiválása. (író)
Dokumentumok — export (1 olvasó)
billingo_export_documents— Dokumentumok exportálása.
Dokumentumok — destruktív (4 író)
billingo_cancel_document— Dokumentum érvénytelenítése (storno) — visszavonhatatlan. (író)billingo_send_document— Dokumentum küldése emailben. (író)billingo_delete_document— Dokumentum törlése (csak piszkozat/ki nem állított dokumentumoknál; egy kiállított számlát stornózni kell helyette). (író)billingo_delete_payment— Egy dokumentum rögzített kifizetéseinek törlése. (író)
Eredmények és hibák
Strukturált eredmény. 17 olvasó eszköz
outputSchema-t közöl, és az eredménytstructuredContent-ként is visszaadja, így a kódból hívó kliensek (code mode) típusos adatot kapnak. A szöveges blokk nem változik. A sémák nyitottak (a Billingo új mezői átmennek), és egy rekordid-ján kívül semmit sem várnak el kötelezően; ha egy válasz mégsem illene, az SDK a hívástOutput validation errorhibaként adná vissza, amit aznpm run test:liveminden futáskor ellenőriz. Fájlt adó (download_document,pos_print,export_documents) és sandboxban nem ellenőrizhető (check_tax_number,get_product_quantity) eszköz nem közöl sémát, ahogy az író eszközök sem.Hibák. Egy Billingo API-hiba
isError: trueeredményként jön vissza: az első szöveges blokk az üzenet, a második JSON,{"error": {"code", "retryable", "outcome_unknown", "status", "retry_after_seconds", "fields", "trace_id", "message"}}. Kódok:bad_request,unauthorized,nav_connection_required,subscription_required,forbidden,not_found,validation_failed,rate_limited,pdf_not_ready,server_error,api_error,client_error,invalid_arguments,export_pending,export_failed. Nem idempotens eszköz szerverhibájánál aretryablesosem igaz: ilyenkoroutcome_unknownjelzi, hogy a számla akár ki is állt, ezért újrapróbálás előttvendor_idalapján ellenőrizd. Egy újrapróbált törlésnot_foundválaszt adhat, ha az első kísérlet mégis lefutott. Az SDK bemeneti validációs hibái továbbra is csak szövegesek.Módosítás. A Billingo API módosításkor a teljes rekordot lecseréli, és amit nem küldünk el, azt törli. Ezért a partner, termék, bankszámla és kiadás
update_*eszközei előbb kiolvassák a rekordot, és a megadott változtatásokkal együtt a teljes rekordot küldik vissza: elég csak a változó mezőt megadni. Azupdate_paymentviszont a teljes kifizetéslistát cseréli, ezért előbb olvasd ki a meglévő kifizetéseket. MindegyikdestructiveHint: truejelölésű. Az olvasás és az írás két külön kérés, így ami a kettő között a Billingóban változik, az felülíródik. Forintos kiadásnál a*_hufösszegek követik a végösszegeket; más pénznemben a Billingo nem vált át, ezért új összeghez, pénznemhez vagy árfolyamhoz a forintos összegeket is meg kell adni. A kiadás tételei (items, NAV-importból) nem részei az író modellnek; hogy módosításkor megmaradnak-e, nem ellenőriztük.
🔨 Fejlesztés
git clone https://github.com/octonull/billingo-mcp.git
cd billingo-mcp
npm ci
npm testA TypeScript verziója rögzítve van 5.9.3-ra, és jelenleg nem frissíthető: az
openapi-typescript a typescript@^5.x-et igényli, a typescript-eslint pedig
<6.1.0-t — a kettő metszete 5.9.3. Egy újabb TypeScript telepítése ERESOLVE
konfliktussal buktatja el az npm install-t.
További hasznos parancsok: npm run typecheck, npm run lint, npm run format,
npm run test:coverage, npm run build.
Architektúra: a rétegek, egy eszközhívás útja és a módosító eszközök működése ábrával: ARCHITECTURE.md.
Élő smoke teszt csomag: az npm run test:live egy kis tesztcsomagot futtat a
valódi Billingo sandbox ellen (valódi, de ártalmatlan sandbox adatokat hoz létre és
takarít el). Ehhez szükséges a BILLINGO_SANDBOX_API_KEY beállítása egy sandbox API
kulcsra; enélkül a csomag tisztán kihagyásra (skip) kerül — így futtatja biztonságosan
a CI és minden hozzájáruló, akinek nincs sandbox hozzáférése.
🤝 Közreműködés
Issue-kat és pull requesteket szívesen fogadunk. PR nyitása előtt futtasd le az
npm run format:check, npm run lint, npm run typecheck és npm run test:coverage
parancsokat — a CI mind a négyet megköveteli. Az architektúráért és a kódból nem
nyilvánvaló megkötésekért lásd a CLAUDE.md fájlt.
📜 Licenc
MIT — lásd a LICENSE fájlt. Copyright (c) 2026 Billingo Technologies Zrt.
English
The official Billingo MCP server — 49 tools over the Billingo invoicing API v3, for stdio (desktop) and Streamable HTTP (self-hosted) clients. MIT-licensed and self-hostable. There was no official Billingo SDK or MCP server before this — it is the first.
No install needed for most people — use the
hosted server at mcp.billingo.hu. Prefer to run
it yourself? It's also published on npm as
@billingo/billingo-mcp
(npx, no build) and as a Docker image — see
Choose how to run it below.
🧭 Choose how to run it
Setup | Best for | |
None — point your client at a URL | Most people: zero install, zero maintenance | |
| Desktop MCP clients (Claude Desktop, Claude Code) | |
| Running your own instance, on your own infrastructure |
⬆️ Back to top
🌐 Use the hosted server (recommended)
No install, no self-hosting — point your MCP client at https://mcp.billingo.hu and
send your Billingo API key with every request. This is the fastest way to get started;
reach for stdio or Docker below only
if you specifically need to self-host.
Claude Code CLI
claude mcp add --transport http billingo https://mcp.billingo.hu \
-s user \
-H "X-Billingo-Api-Key: your-api-key" \
-H "X-Billingo-Allow-Write: true"-s user registers it across every project instead of just the current one; use
-s local (the default) to scope it to just this project. Drop the
X-Billingo-Allow-Write header, or set it to "false", for read-only access.
Other HTTP-capable MCP clients
Any client that speaks Streamable HTTP works the same way: point it at
https://mcp.billingo.hu with the X-Billingo-Api-Key header (required) and
optionally X-Billingo-Allow-Write — see Configuration for the full
header reference.
Get your API key the same way as described under API key below.
⬆️ Back to top
💻 Install / run with stdio
No install step — npx fetches and runs the package on demand.
Claude Desktop
claude_desktop_config.json:
{
"mcpServers": {
"billingo": {
"command": "npx",
"args": ["-y", "@billingo/billingo-mcp"],
"env": {
"BILLINGO_API_KEY": "your-api-key",
"BILLINGO_ALLOW_WRITE": "false"
}
}
}
}Restart the client fully afterwards — Claude Desktop reads this file only at startup, so quitting the window is not enough (use ⌘Q on macOS).
Claude Code CLI
claude mcp add billingo -s user \
-e BILLINGO_API_KEY=your-api-key \
-e BILLINGO_ALLOW_WRITE=false \
-- npx -y @billingo/billingo-mcp-s user registers the server for you across every project, not just the one you're
currently in, without committing anything to a repo. Use -s local (the default)
instead to scope it to the current project only. Verify with claude mcp list, or
inspect the saved config with claude mcp get billingo.
Other MCP clients
Any client that accepts the standard mcpServers JSON shape (Cursor, Windsurf, and
others) can reuse the Claude Desktop block above as-is — command, args, and env
are not Claude-specific, only the surrounding config file and its location differ.
API key
Get your API key from Billingo under Settings → API keys → New API key. On the creation form:
Associated connection: Custom development.
API scope: Read if you only need to list or fetch data, or Write if you also want to create, modify, send, or cancel documents.
This is a second, independent gate from BILLINGO_ALLOW_WRITE below: a Read-scoped key
still gets a permission error straight from the Billingo API on any write call, even if
BILLINGO_ALLOW_WRITE is "true" here — both have to allow it. Leave
BILLINGO_ALLOW_WRITE at "false" (or omit it) unless you actually want the model to
be able to create, modify, send, or cancel documents — see Security. Note
that config files like claude_desktop_config.json are stored in plain text, so the key
sits unencrypted on disk.
To check it worked: the client should list 22 tools in read-only mode, or 49 with
BILLINGO_ALLOW_WRITE set to "true". If it reports no tools, check the client's log
(on macOS, ~/Library/Logs/Claude/mcp-server-billingo.log) — the server identifies
itself as {"name":"billingo","version":"0.1.0"}. A different name there means the
client is talking to some other server registered under the same name.
⬆️ Back to top
🐳 Run with Docker (HTTP)
docker run -p 3000:3000 ghcr.io/octonull/billingo-mcp:latestThe image ships with no API key baked in. HTTP mode is stateless and per-request: every call carries the Billingo API key in a header, and the server never stores it. Example call, showing the two Billingo-specific headers:
curl -X POST http://localhost:3000 \
-H 'Content-Type: application/json' \
-H 'Accept: application/json, text/event-stream' \
-H 'X-Billingo-Api-Key: your-api-key' \
-H 'X-Billingo-Allow-Write: true' \
-d '{"jsonrpc":"2.0","id":1,"method":"tools/list","params":{}}'GET /health returns {"status":"ok"} and needs no headers, for container health checks.
GET /build_version returns the running image's build-time version, e.g.
{"buildVer":"fcc756d@0.1.0"} — or just the commit SHA ({"buildVer":"fcc756d"}) if that
build isn't from a release tag.
Get the API key itself the same way as for stdio — see API key above — and
give it Write scope on Billingo's side if you intend to send X-Billingo-Allow-Write.
Claude Code CLI
claude mcp add --transport http billingo http://localhost:3000 \
-s user \
-H "X-Billingo-Api-Key: your-api-key" \
-H "X-Billingo-Allow-Write: true"-s user registers it across every project instead of just the current one; use
-s local (the default) to scope it to just this project. Drop the
X-Billingo-Allow-Write header, or set it to "false", for read-only access.
⬆️ Back to top
🔧 Configuration
Variable | Transport | Required | Default | Meaning |
| stdio only | yes | — | Your Billingo API key. Not read in HTTP mode — see below. |
| stdio only | no |
|
|
| stdio only | no | all | Comma-separated tool groups to load, and only these: |
| both | no |
| Override the API base URL, e.g. to point at a proxy. |
| HTTP only | no |
| Port the HTTP server listens on. |
| HTTP only | no | unset (protection disabled) | Comma-separated list of |
HTTP mode takes credentials and scope per request, as headers, instead:
Header | Required | Meaning |
| yes | The Billingo API key to use for this request. Never stored. |
| no |
|
| no | The same group list as |
⬆️ Back to top
🔒 Security
Read this section before exposing the server to anything.
Read-only by default. Write tools (create, update, delete, send, cancel) are filtered out of
tools/listentirely unlessBILLINGO_ALLOW_WRITE(stdio) orX-Billingo-Allow-Write(HTTP) is explicitly set. A model that never sees a write tool cannot call it. This is the primary safety mechanism — leave writes off unless you specifically need them.Issued invoices are reported to NAV automatically and cannot be undone. Once a document is finalized into an invoice, Hungary's NAV Online Számla reporting happens immediately and is not reversible. The only remedy for a wrong invoice is a storno (cancellation) — and a storno is itself irreversible: it voids the invoice permanently and is also reported to NAV. There is no "delete" for an issued invoice.
HTTP mode requires TLS. The API key travels in the
X-Billingo-Api-Keyheader on every request. Terminate TLS in front of the container (a reverse proxy, load balancer, or platform ingress) — never run HTTP mode over plain HTTP outside a trusted local network.HTTP mode stores no API key, by design. Do not "fix" this by setting an API key via a container-wide environment variable — that turns the deployment single-tenant and lets every caller who can reach the container bill your account, since there would be nothing left to distinguish requests. The per-request header is the point.
Set
BILLINGO_ALLOWED_HOSTSwhenever the HTTP server is exposed publicly. Without it, DNS-rebinding protection is disabled.
⬆️ Back to top
🧰 Tools
49 tools total: 22 read (always visible), 27 write (visible only with writes enabled).
If your client puts every tool schema into the prompt, load only the groups you need
with BILLINGO_TOOL_CATEGORIES (over HTTP: X-Billingo-Tool-Categories).
Organization (3 read)
billingo_get_organization— Get organization details (tax code, subscription, NAV connection status).billingo_check_tax_number— Validate a Hungarian tax number (full hyphenated form; needs a live NAV connection).billingo_get_conversion_rate— Get an official currency conversion rate, optionally for a past date.
Partners (2 read, 4 write)
billingo_list_partners— List partners.billingo_get_partner— Get a single partner.billingo_create_partner— Create a partner. (write)billingo_update_partner— Update a partner; only the fields you send change. (write)billingo_guess_partner— Find a partner by tax number/email, or create one. (write)billingo_delete_partner— Delete a partner. (write)
Products (3 read, 3 write)
billingo_list_products— List products.billingo_get_product— Get a single product.billingo_get_product_quantity— Get a product's stock quantity.billingo_create_product— Create a product. (write)billingo_update_product— Update a product; only the fields you send change. (write)billingo_delete_product— Delete a product. (write)
Spendings (2 read, 3 write)
billingo_list_spendings— List spendings.billingo_get_spending— Get a single spending.billingo_create_spending— Create a spending. (write)billingo_update_spending— Update a spending; only the fields you send change. (write)billingo_delete_spending— Delete a spending. (write)
Bank accounts (2 read, 3 write)
billingo_list_bank_accounts— List bank accounts.billingo_get_bank_account— Get a single bank account.billingo_create_bank_account— Create a bank account. (write)billingo_update_bank_account— Update a bank account; only the fields you send change. (write)billingo_delete_bank_account— Delete a bank account. (write)
Document blocks (1 read, 1 write)
billingo_list_document_blocks— List document blocks (invoice number ranges).billingo_create_document_block— Create a document block. (write)
Documents — read (8)
billingo_list_documents— List documents (invoices, receipts, proformas, drafts, and more).billingo_get_document— Get a single document by id or vendor id.billingo_download_document— Get the document PDF (public URL, or base64 bytes).billingo_get_document_public_url— Get a shareable public URL for a document.billingo_get_online_szamla_status— Get a document's NAV Online Számla reporting status. Errors when the document has no NAV record — e.g. the organization is not connected to NAV Online Számla, or the document isn't subject to reporting.billingo_get_document_payments— Get the payments recorded against a document.billingo_get_document_reminders— Get the reminder events sent for a document.billingo_pos_print— Get a POS-thermal-printer-sized PDF receipt for a document.
Documents — write (9)
billingo_create_document— Create a document (invoice, proforma, draft, or advance). (write)billingo_create_receipt— Create a receipt (needs a receipt-type document block). (write)billingo_finalize_draft— Finalize a draft into an invoice — issues it and reports it to NAV. (write)billingo_finalize_receipt_draft— Finalize a draft into a receipt. (write)billingo_create_document_from_proforma— Create an invoice from a proforma. (write)billingo_copy_document— Copy a document; an invoice copy is a draft (issue it withbillingo_finalize_draft). (write)billingo_create_modification_document— Create a modification (correction) document. (write)billingo_update_payment— Replace a document's recorded payments; any payment left out is deleted. (write)billingo_archive_document— Archive a proforma document. (write)
Documents — export (1 read)
billingo_export_documents— Export documents.
Documents — destructive (4 write)
billingo_cancel_document— Cancel (storno) a document — irreversible. (write)billingo_send_document— Send a document by email. (write)billingo_delete_document— Delete a document (only drafts/unissued documents; an issued invoice must be cancelled instead). (write)billingo_delete_payment— Delete a document's recorded payments. (write)
Results and errors
Structured results. 17 read tools publish an
outputSchemaand also return their result asstructuredContent, so hosts that call tools from code (code mode) get typed data. The text block is unchanged. The schemas are open (new Billingo fields pass) and require nothing but a record'sid; if a response ever did not fit, the SDK would return the call as anOutput validation error, whichnpm run test:livechecks for on every run. Tools that return a file (download_document,pos_print,export_documents) or whose shape cannot be checked on a sandbox (check_tax_number,get_product_quantity) publish none, and neither do the write tools.Errors. A Billingo API error comes back as
isError: true: the first text block is the message, the second is JSON,{"error": {"code", "retryable", "outcome_unknown", "status", "retry_after_seconds", "fields", "trace_id", "message"}}. Codes:bad_request,unauthorized,nav_connection_required,subscription_required,forbidden,not_found,validation_failed,rate_limited,pdf_not_ready,server_error,api_error,client_error,invalid_arguments,export_pending,export_failed.retryableis never true for a server error on a tool that is not idempotent: thereoutcome_unknownis set instead, because the invoice may already have been issued, so check byvendor_idbefore trying again. A retried delete may answernot_foundwhen the first attempt went through. Input-validation errors from the SDK keep their plain-text form.Updates. Billingo's API replaces the whole record on update and clears what is left out. The partner, product, bank account and spending
update_*tools therefore read the record first and send it back complete with your changes: send only the field that changes.update_paymentstill replaces the whole payment list, so read the existing payments first. All of them carrydestructiveHint: true. The read and the write are two requests, so a change made in Billingo between them is overwritten. On a HUF spending the*_hufamounts follow the totals; in another currency Billingo does not convert, so a new total, currency or rate needs its HUF amounts too. A spending's line items (items, from NAV imports) are not part of the write model; whether an update keeps them is not verified.
⬆️ Back to top
🔨 Development
git clone https://github.com/octonull/billingo-mcp.git
cd billingo-mcp
npm ci
npm testTypeScript is pinned to 5.9.3 and cannot currently be upgraded: openapi-typescript
requires typescript@^5.x, and typescript-eslint requires <6.1.0 — their
intersection is 5.9.3. Installing a newer TypeScript fails npm install with an
ERESOLVE conflict.
Other useful commands: npm run typecheck, npm run lint, npm run format,
npm run test:coverage, npm run build.
Architecture: the layers, the path of a tool call and how the update tools work, with a diagram: ARCHITECTURE.md.
Live smoke suite: npm run test:live runs a small suite against the real Billingo
sandbox (creating and cleaning up real, if harmless, sandbox data). It needs
BILLINGO_SANDBOX_API_KEY set to a sandbox API key; without it, the suite skips
cleanly (this is also how CI and contributors without sandbox access run it safely).
⬆️ Back to top
🤝 Contributing
Issues and pull requests are welcome. Please run npm run format:check, npm run lint,
npm run typecheck, and npm run test:coverage before opening a PR — CI enforces all
four. See CLAUDE.md for the architecture and the constraints that aren't
obvious from the code alone.
⬆️ Back to top
📜 Licence
MIT — see LICENSE. Copyright (c) 2026 Billingo Technologies Zrt.
⬆️ Back to top
Available Tools
22 toolsbillingo_check_tax_numberCheck tax numberARead-onlyIdempotent
Looks up a Hungarian tax number at NAV and returns the company data behind it. Use this to validate a tax number before creating a partner. Works only when the Billingo account has a live NAV Online Számla connection (not available on sandbox accounts).
Inputs: tax_number (required).
billingo_download_documentDownload documentARead-onlyIdempotent
Gets the document PDF. By default returns a shareable public URL — this is what works in most MCP clients (including Claude Desktop, which rejects the base64 file attachment) and is what you want in almost every case. Pass format="base64" only when a caller specifically needs the raw PDF bytes: it costs a lot of context (base64 is ~1.33x the PDF size) and some clients cannot render the result at all.
Inputs: id (required), format.
billingo_export_documentsExport documentsARead-only
Exports documents in a date range to a downloadable file, in one of the accounting/reporting formats Billingo supports (e.g. simple_csv, simple_excel, or a named accounting-system format). Creates the export, waits for it to finish, and returns the file. Nothing is modified. Textual formats (simple_csv, nav_xml, and other XML/JSON-based targets) come back as readable text you can analyse directly — very large exports are truncated with an explicit note, and a narrower date range will return the whole thing. Binary formats (simple_excel, simple_excel_items) come back as a file attachment that some MCP clients cannot display inline.
Inputs: format (required), end_date (required), start_date (required), block_id, +1 more.
billingo_get_bank_accountGet bank accountARead-onlyIdempotent
Returns a single bank account by id.
Inputs: id (required). Returns: id, name, swift, need_qr, +3 more
billingo_get_conversion_rateGet currency conversion rateBRead-onlyIdempotent
Returns the conversion rate Billingo would apply between two currencies.
Inputs: to (required), from (required), date. Returns: date, to_currency, from_currency, conversation_rate
billingo_get_documentGet documentARead-onlyIdempotent
Returns a single document. Give either id (the Billingo document id) or vendor_id (your own external reference set when the document was created).
Inputs: id, vendor_id. Returns: id, type, items, partner, +16 more
billingo_get_document_paymentsGet document paymentsBRead-onlyIdempotent
Returns the payments recorded against a document.
Inputs: id (required). Returns: payments
billingo_get_document_public_urlGet document public URLARead-onlyIdempotent
Returns a shareable public URL for the document, viewable without a Billingo login.
Inputs: id (required). Returns: public_url
billingo_get_document_remindersGet document reminder eventsBRead-onlyIdempotent
Returns the payment reminder events sent for a document, grouped into sent, upcoming and postal-mail reminders.
Inputs: id (required). Returns: sent_reminders, sent_postal_mail, upcoming_reminders
billingo_get_online_szamla_statusGet NAV Online Számla statusARead-onlyIdempotent
Returns the NAV Online Számla reporting status of a document: the transaction id, the status, and any validation messages from NAV. Use this to check whether reporting succeeded. Errors (4xx, "NavOnlineSzamla is not found") when the document has no NAV record at all — for example when the organization is not connected to NAV Online Számla, or the document is not subject to reporting. That is not a NAV failure; it means there is nothing to report on.
Inputs: id (required). Returns: status, messages, transaction_id
billingo_get_organizationGet organizationARead-onlyIdempotent
Returns account-level data for the organization that owns the API key: its tax code, its Billingo subscription, and whether NAV Online Számla is connected. This is NOT a company profile — it contains no name, id or address. Use it to check the subscription or NAV connection status.
Inputs: no named parameters. Returns: tax_code, subscription, has_nav_connection
billingo_get_partnerGet partnerBRead-onlyIdempotent
Returns a single partner by id.
Inputs: id (required). Returns: id, iban, name, phone, +6 more
billingo_get_productGet productARead-onlyIdempotent
Returns a single product by id.
Inputs: id (required). Returns: id, ean, sku, vat, +6 more
billingo_get_product_quantityGet product stock quantityARead-onlyIdempotent
Returns the current inventory quantity for a product.
Inputs: id (required).
billingo_get_spendingGet spendingBRead-onlyIdempotent
Returns a single spending by id.
Inputs: id (required). Returns: id, comment, paid_at, partner, +12 more
billingo_list_bank_accountsList bank accountsBRead-onlyIdempotent
Lists the bank accounts configured on the organization.
Inputs: page, per_page. Returns: data, total, per_page, last_page, +3 more
billingo_list_document_blocksList document blocksARead-onlyIdempotent
Lists document blocks (invoice number ranges). Every document belongs to a block; you need a block id to create an invoice.
Inputs: page, per_page. Returns: data, total, per_page, last_page, +3 more
billingo_list_documentsList documentsARead-onlyIdempotent
Lists documents (invoices, receipts, proformas, drafts and more), newest first. Filter by type, invoice date range, fulfillment date range, payment date range, last modification time, partner, payment status/method or document block.
Inputs: page, type, query, block_id, +11 more. Returns: data, total, per_page, last_page, +3 more
billingo_list_partnersList partnersARead-onlyIdempotent
Lists partners (customers), newest first. Supports paging and a free-text search over the partner name.
Inputs: page, query, per_page. Returns: data, total, per_page, last_page, +3 more
billingo_list_productsList productsBRead-onlyIdempotent
Lists products and services from the product catalogue.
Inputs: page, query, per_page. Returns: data, total, per_page, last_page, +3 more
billingo_list_spendingsList spendingsARead-onlyIdempotent
Lists recorded spendings (costs), optionally filtered by date range.
Inputs: page, end_date, per_page, start_date. Returns: data, total, per_page, last_page, +3 more
billingo_pos_printGet POS print dataARead-onlyIdempotent
Returns a printable PDF receipt for a document, sized for a POS thermal printer.
Inputs: id (required), size (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 22 tools
Most tools target a clearly distinct resource and action (list vs get for partners, products, spendings, bank accounts; document-specific operations like payments, reminders, NAV status, POS print). The main overlap is billingo_download_document vs billingo_get_document_public_url, which both default to returning a shareable public URL, making selection ambiguous.
Names follow a consistent billingo_ prefix with snake_case verb_noun structure (list_documents, get_partner, export_documents, check_tax_number). Minor deviation: billingo_pos_print uses noun_verb ordering rather than the verb_noun pattern used elsewhere.
22 tools is on the heavy side for the rubric, though the broad billing domain (documents, partners, products, spendings, org, bank accounts) partly justifies it. Several simple list/get pairs could potentially be consolidated, placing it at borderline.
The surface is almost entirely read-only: there are no create/update/delete tools for invoices, partners, products, or spendings, yet descriptions reference creating partners and needing block ids to create invoices, implying write operations that don't exist. Core billing workflows (issuing an invoice, recording a payment) cannot be performed, a significant gap.
Maintenance
Related MCP Connectors
Pay-per-use tool marketplace for AI agents. Search, price-check, and call APIs via MCP.
214 tools for AI agents over one MCP endpoint: image, video, audio, 3D, data, storage, mail, GPUs.
Zero-setup MCP gateway securely connecting AI to your tools with authentication and workflows
16 Bitcoin, business, data, text, and developer tools for AI agents over one MCP endpoint.
Related MCP Servers
- AlicenseBqualityDmaintenanceAn MCP server for the Billingo invoicing API (v3) that enables AI assistants like Claude to manage invoices, partners, products, expenses, and more through natural language.4213MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for the Billingo V3 Hungarian invoicing API. Manage invoices, partners, products, spendings, and bank accounts from any MCP client.8 npm1MIT
- AlicenseNot gradedqualityDmaintenanceModel Context Protocol (MCP) server for SuperFaktura invoicing system. Enables AI assistants to interact with SuperFaktura API for managing invoices, clients, and expenses.Apache 2.0
- FlicenseNot gradedqualityCmaintenanceEnables AI clients to interact with a point-of-sale public API through 32 MCP tools for managing bills, customers, items, orders, receipts, stock, suppliers, taxes, and webhooks over stdio and HTTP transports.-