---
app: integrations
audience:
  - owner
ui_only: true
agent_actions: []
agent_examples:
  - use Bakulai from Claude Code
  - claude mcp add bakulai
llm_weight: normal
title: Claude Code
description: One terminal command adds Bakulai to Claude Code; sign in when the
  browser opens.
editUrl: true
head: []
template: doc
sidebar:
  order: 2
  hidden: false
  attrs: {}
pagefind: true
draft: false
---

import { Steps } from "@astrojs/starlight/components";

**Who this is for:** anyone who works in the terminal with Claude Code and wants Bakulai's data and drafts in reach.

## Steps

<Steps>

1. Run this in your terminal:

   ```bash
   claude mcp add --transport http bakulai https://erp.bakulai.com/mcp
   ```

2. Start `claude`, type `/mcp`, and pick **bakulai → Authenticate**. Your browser opens the Bakulai sign-in and the consent screen; press **Allow**.

3. Ask away: "list the sales orders of this week", "draft a quotation for PT Maju, 20 units of SKU-12". Writes are drafts; Claude Code asks before each one.

</Steps>

## Limits & safety

- The command registers the server for the current user; add `--scope project` to share it with a repository, exactly like any other MCP server in Claude Code.
- The token lives in Claude Code's own store on your machine. Revoke it from the ERP whenever you want ([Disconnect an agent](/integrations/disconnect/)).

## Troubleshooting

- **`claude: command not found`.** Install Claude Code first (`npm install -g @anthropic-ai/claude-code`).
- **Every call answers with an upgrade message.** The company is on a plan without the connector; see [Integrations → Limits](/integrations/#limits--safety).

[Gemini CLI](/integrations/gemini-cli/) · [Cursor and other clients](/integrations/other-clients/)