Integrations · 7 min read · Updated 6 November 2026

Bokio MCP: create Bokio invoices from an AI-built app

Bokio offers a REST API (Company API v1), not an MCP server. On the Pro plan NorthernGo hosts an adapter that turns it into nine MCP tools — list and create customers, create, publish and record invoices, list items, and list and create journal entries. You paste a private integration token and the company ID under My Projects → More → MCP, rebuild, and the published app calls the tools. The same tools can be exposed to Claude Desktop, Cursor or Codex.

Is there a Bokio MCP server?

Not from Bokio. Bokio publishes a REST API — the Company API, version 1 — with endpoints for customers, invoices, items and journal entries. MCP (the Model Context Protocol) is a different shape: a server lists its tools with tools/list, and a client calls one with tools/call. An AI model can use an MCP server directly. It cannot use a REST API without someone writing the glue.

NorthernGo writes that glue for you. On the Pro plan there is a hosted Bokio adapter: it speaks MCP on one side and Bokio's REST API on the other. You do not run a server, and there is no MCP address to paste.

The nine tools

The adapter exposes exactly these, with the field names from Bokio's own documentation:

Lists return at most 50 rows per page. Each call waits up to 15 seconds for Bokio before it gives up.

The invoice flow is three separate steps on purpose: create a draft, publish it, record it. A generated app can stop after the draft, so a person checks it in Bokio before anything is booked.

Step 1: Create a private integration in Bokio

In Bokio, open Settings → API Tokens (app.bokio.se/settings-r/private-integrations) and create a private integration. Copy the token — Bokio shows it once.

This is a private integration for your own company, not Bokio's public OAuth app. Your end users do not sign in to Bokio; the app acts as your company.

Step 2: Find the company ID

The company ID is the UUID in the Bokio address bar while you are signed in to that company. You can paste the whole URL; NorthernGo picks the UUID out of it.

Step 3: Connect it in NorthernGo

On the Pro plan, with the project saved: My Projects → More on the app card → MCP. Under Bokio (private integration), paste the company ID and the token, then Save Bokio.

The token is kept in a private document on the project in NorthernGo's backend. It is never written into the generated HTML, and the published app never calls api.bokio.se itself — every call goes through the adapter.

Step 4: Rebuild the app

Press Generate again. On a Pro rebuild the builder reads the live tool list into the plan and the logic prompt, so the model writes window.NorthernGoMCP.callTool('bokio_create_invoice', …) with Bokio's real field names instead of guessing them. The view prompts do not get the catalogue.

A prompt that works well names the flow: "A form for time reports. On submit, create a draft invoice in Bokio for the selected customer, one line per report. Do not publish."

The editor preview does not reach Bokio. Open the live ?app= link or the published subdomain and run the flow there. Use a test company in Bokio for the first runs: the field names come from Bokio's documentation, and a real accounting system is the wrong place to discover a field that behaves differently.

Using the same tools from Claude, Cursor or Codex

The same panel has a third, optional switch: This app as an MCP server. When it is on, NorthernGo hosts an MCP endpoint for the app at /api/app-mcp/{projectId}, and you create a separate ngapp_ key for it. With Bokio connected to the app, the nine Bokio tools are listed there too, with the same names and arguments.

That is the closest thing to a Bokio MCP server you can point Claude Desktop, Cursor or Codex at today. Three limits:

Anyone holding the ngapp_ key acts as you in Bokio. Treat it like a service key.

Who can trigger the tools

Only you. The Bokio tools act as your company, so NorthernGo only runs them for the project owner: open the app via northerngo.com/?app=… while signed in to NorthernGo, or sign in to the app with Google on the same e-mail as your NorthernGo account. Everyone else — anonymous visitors and ordinary app users alike — gets a 403. Build Bokio flows as internal tools for yourself, not as features for your customers.

Every call counts against the project's daily quota, and Bokio's own rate limits apply on top.

What it does not do

To disconnect, empty both fields on the MCP panel and save. If a generic remote MCP address is also saved on the same project, the Bokio adapter wins for its own tool names.

Summary

Bokio has no MCP server of its own. NorthernGo's Pro plan hosts one with nine tools, connected with a private integration token and the company ID. Your app calls it after a rebuild, and Claude, Cursor or Codex can call the same tools through the app's own MCP endpoint. Start on a test company and let a person publish invoices until you trust the flow. The internal tools guide is a good starting point for the app around it.

Frequently asked questions

Does Bokio have an official MCP server?

No. Bokio publishes a REST API (Company API v1). NorthernGo hosts an MCP adapter on top of it on the Pro plan, with nine tools for customers, invoices, items and journal entries. You connect it with a private integration token and the company ID; there is no MCP address to paste.

Can Claude or Cursor create invoices in Bokio?

Yes, through a NorthernGo app on Pro. Connect Bokio to the app, turn on "This app as an MCP server" and create an ngapp_ key with write access. Claude Desktop, Cursor or Codex then see bokio_create_invoice and the other tools. It only works for apps created with a cloud Generate or through NorthernGo MCP.

Does the Bokio integration send invoices to customers?

No. bokio_create_invoice creates a draft, bokio_publish_invoice publishes it and bokio_record_invoice books it. None of them e-mails the invoice. You send it from Bokio.

Is the Bokio token safe in a generated app?

The token never enters the HTML. It is stored with the project in NorthernGo's backend, and the app calls the adapter, not Bokio. Only the project owner can run the Bokio tools from the live app; other visitors and app users get a 403.

Build it yourself

NorthernGo turns a plain-text description into a working web app with a database, login and a live URL. Local AI generation runs on your own GPU, is unlimited, and is free on every plan.

Start building free