Claude Code is the version of Claude, the AI assistant made by Anthropic, that runs in a terminal (the window where you type commands). When you connect it to Mighty, you can ask about your company's figures and prepare drafts without leaving that window.
If you use Claude in a web browser or the Claude desktop app, follow How to connect Claude to Mighty instead. That guide also explains what Claude can and cannot do in your accounts.
Copy this command, then put your own key in place of YOUR_KEY. Keep the quotation
marks.
claude mcp add --transport http --scope user mighty https://api.mightyaccounting.com/mcp --header "X-Api-Key: YOUR_KEY"
Each part does 1 job:
| Part | What it means |
|---|---|
mighty |
The name Claude Code uses for the connection. You can choose a different name. |
https://api.mightyaccounting.com/mcp |
The address where Claude Code reaches Mighty. |
--header "X-Api-Key: YOUR_KEY" |
Sends your key with every request, so Mighty knows which company to open. |
--scope user |
Makes the connection available in every folder you work in, and keeps it private to you. |
The scope decides where Claude Code saves the connection, including your key.
--scope user saves it in your own settings. Only you can use it. We recommend
this one.--scope local saves it in your own settings too, but only for the folder you
are in when you run the command. This is what you get if you leave the scope out.--scope project saves it in a file called .mcp.json inside the
project folder. If that folder is shared with other people, they get your key. Do not use
this scope for Mighty.A key works for 1 company only. To connect a second company, create a key in that company and
run the command again with a different name, such as mighty-second-company. Tell
Claude Code which company you mean when you ask a question.
Run this command in your terminal:
claude mcp remove mighty
Then revoke the key in Mighty so it cannot be used again. Go to Company Settings, open the Other tab, select API Keys and select Revoke next to the key.
This nearly always means Mighty did not accept the key. Check in Mighty that the key shows Active. If it does, remove the connection and add it again, taking care to paste the whole key with no extra spaces.
Mighty shows a key once and cannot show it again. Revoke that key, create a new one, then remove the connection and add it again with the new key.
Run claude mcp list in your terminal. It lists every connection and whether it is
working.
It has the same limits as Claude everywhere else. It reads your figures and reports. An invoice it creates is saved as a Draft unless you ask for it to be raised, and a bank suggestion is saved as a draft for you to approve in Mighty. A mileage claim is the exception: it counts in your accounts as soon as Claude Code records it.