---
app: integrations
audience:
  - owner
ui_only: false
agent_actions: []
agent_examples:
  - can I use ChatGPT with my Bakulai data?
  - how do I connect Claude to the ERP?
  - which plans include the AI agent connector?
  - can Claude fill in the form I have open in Bakulai?
  - how do I stop agents from using my Desk?
llm_weight: promote
title: Integrations
description: Connect Claude, Claude Code, ChatGPT, Gemini CLI, Cursor or any MCP
  agent to your Bakulai data — Pro and Max plans.
editUrl: true
head: []
template: doc
sidebar:
  order: 0
  label: Overview
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

import { Aside, Card, CardGrid, LinkCard } from "@astrojs/starlight/components";
import { PlanBadge } from "@components";

<PlanBadge variant="block" />

Bring your own AI agent. Bakulai speaks **MCP** (Model Context Protocol), the open standard Claude, ChatGPT, Gemini CLI, Cursor and most other AI hosts use to reach outside data. One server URL, one sign-in with your Bakulai account, and the agent you already pay for can look up customers, read documents, run reports and draft new documents in your company.

```text
https://erp.bakulai.com/mcp
```

Every host is set up from the same place in the ERP: click your avatar at the top right of **erp.bakulai.com**, then **User settings → Connect AI Agent**. The AI panel opens on **Connected agents**: the agents already connected, and under **Connect a new agent** the server URL with a copy button, the commands for Claude Code and Gemini CLI, and a one-click link for Claude.

<CardGrid>
  <LinkCard title="Claude" href="/integrations/claude/" description="claude.ai and Claude Desktop — one click, or three steps by hand." />
  <LinkCard title="Claude Code" href="/integrations/claude-code/" description="One command in the terminal." />
  <LinkCard title="ChatGPT" href="/integrations/chatgpt/" description="The Bakulai plugin, or Developer mode — also in Live voice." />
  <LinkCard title="Gemini CLI" href="/integrations/gemini-cli/" description="Same shape as Claude Code." />
  <LinkCard title="Cursor and other clients" href="/integrations/other-clients/" description="Any client that speaks Streamable HTTP with OAuth." />
  <LinkCard title="Disconnect an agent" href="/integrations/disconnect/" description="Revoke access from the ERP, in one click." />
</CardGrid>

## What a connected agent can do

- Look up customers, suppliers, items and stock per warehouse.
- Read sales and purchase documents, payments and journal entries.
- Run reports: Profit and Loss, Balance Sheet, Receivables, Sales Analytics and more.
- Create and update documents — as **drafts**, after the host asks you to confirm.
- Optionally, work in the Desk tab you have open — through a second connector you add yourself (see [Let agents use your Desk](#let-agents-use-your-desk)).

## Let agents use your Desk

The connector above does not touch your screen. For agents on the **same computer** as your open Bakulai Desk, there is a second, optional connector that lets them work in that tab the way you would:

```text
https://erp.bakulai.com/mcp/desk
```

It shows up as **Bakulai Desk**. Add it next to the main connector, the same way:

- **Claude.ai / Claude Desktop:** Customize → Connectors → **Add custom connector** → paste the URL.
- **Claude Code:** `claude mcp add --transport http bakulai-desk https://erp.bakulai.com/mcp/desk`
- **ChatGPT:** add the URL as a connector in Developer mode, on your computer. It is not part of the Bakulai plugin.

Sign-in and consent are the same as for the main connector, and it needs a plan with the connector (Pro or Max). The URL and the Claude Code command are also in the AI panel → gear icon → **Connected agents** → **Connect a new agent**, labelled *Optional — Bakulai Desk, for working on the page you have open*. It is not meant for your phone or for voice: there is no Desk tab there to work in.

The agent gets five Desk tools:

- **Read the page you have open** — the document and its fields, the rows of a list or report, and which buttons are available.
- **Open a page** — a document, a new document with starting values (not saved yet), or a list or report with filters.
- **Fill in a form** without saving it.
- **Act on the form** — save, submit, cancel, amend, duplicate, print, email, attach, assign, comment, run a workflow action, or press one of the form's buttons.
- **Change a list's filters and sort order.**

So you can say *"check the invoice I have open"* or *"open a new quotation for PT Maju with 20 × SKU-12"* in Claude and watch it happen in the Desk.

<Aside type="caution" title="Every save asks you in the Desk">
  Saving, submitting, cancelling, workflow actions and most buttons always open a dialog in the Desk: "Allow *agent name* to do this?" with **Allow** and **Decline**. Closing it or not answering counts as Decline, and nothing runs. Submit and cancel still go through the Desk's own confirmation as well. Reading, opening pages and filling a form without saving run without a dialog.
</Aside>

- **Which tab:** the Bakulai tab you used most recently runs the request, even across devices — the laptop you just used wins over an office PC left on. With no Bakulai tab open, the agent is told so.
- **Same company:** the tab must be on the same company as the agent. If it is not, the agent is told which company the tab is on.
- **You see what it fills:** the fields an agent fills light up, and a notice names it (*"Claude filled 3 field(s)"*). If you then save that form yourself, the document's timeline notes that the fields were filled in by that agent.
- **One AI at a time:** while the AI Assistant is working in that tab, the agent's changes wait — it is told to try again in a moment (reading the page still works). The same holds the other way round.
- **Plans:** Pro and Max. Saving and other changes also need a plan that lets the AI change data.
- **What the agent sees:** whatever it reads from your tab goes to the agent's host like any other tool result.
- **On by default, per user.** To refuse Desk requests without removing the connector: AI panel → gear icon → **Connected agents** → turn off **Let them use your Desk**. Desk calls from your agents are then refused, and the agent is told how to switch it back on. To stop completely, remove the Bakulai Desk connector in your host or [disconnect the agent](/integrations/disconnect/).


## What it can never do

- See or touch another company's data, even when asked by name — the agent acts as *your* user, with your roles and your company.
- Move money or talk to a bank: it records accounting entries in your own books, nothing else.
- Change your password, roles or subscription, or delete your account.
- Save, submit or cancel in your Desk without you pressing **Allow** there.

## Limits & safety

- **Plans:** Pro and Max. On other plans the connection still succeeds, but every tool call answers with an upgrade message until the plan changes — there is nothing to reconnect afterwards.
- **Your conversations stay with the host.** Bakulai receives only the tool call the agent decided to make, and logs which tool ran, for which user and company, whether it failed and how long it took — never the arguments or the result.
- **The model is the host's.** Bakulai does not send your data to any model provider for this connector; the answer comes from the AI subscription you already have.
- **Least privilege by construction.** The agent can never do more than your own account can. A role without write access gets read tools only.

## Troubleshooting

- **The host says the server cannot be reached.** Check the URL: `https://erp.bakulai.com/mcp`, `https`, no trailing slash. Hosts compare it byte for byte.
- **Sign-in opens but the agent still gets "upgrade" answers.** The company you signed in with is on a plan without the connector. Upgrade at [bakulai.com](https://bakulai.com/#pricing); the agent keeps working the moment the plan changes.
- **A host is not listed here.** Try it with the server URL under [Cursor and other clients](/integrations/other-clients/); anything that supports remote MCP servers with OAuth sign-in should work.