Local companion
Troubleshooting
For the local companion. What each doctor check and error message means, and how to fix it.
On this page
- Start with doctor
- Doctor failures
- Error messages
- Errors from the copy on disk
- Common problems
- There's no Control from Claude desktop switch
- The switch says it can't reach the companion app
- My AI app doesn't list the igpilot tools
- A long task says it's still running
- IG Pilot runs in more than one browser or Chrome profile
- Logs
- Start over
Important
Self-installed version only. This page is about the local companion (igpilot-local), which works with a version of IG Pilot you install yourself. The Chrome Web Store version can't talk to the companion and has no Control from Claude desktop switch: connect it through the connector at https://api.igpilot.io/mcp instead. For the connector, see If a call doesn't work.
Start with doctor#
npx igpilot-local doctorIt checks every link in the chain, from Node to the extension, and prints the fix next to anything marked [FAIL]. Run it with the same --browser or --target-dir you installed with. A healthy setup looks like this:
igpilot-local 0.1.0 doctor
[ok] Node v22.12.0 (needs 20+)
[ok] Chrome host manifest …/NativeMessagingHosts/io.igpilot.bridge.json
[--] Allowed extensions: chrome-extension://…/ (store id not set yet: store users pass --extension-id)
[ok] Launcher node /usr/local/bin/node
[ok] Companion /Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js
[ok] Host running (companion 0.1.0) at /Users/you/.igpilot/bridge.sock
[ok] IG Pilot extension connected (…)
[--] Local Claude provider (team only, not needed for Claude desktop): …
All good.Doctor failures#
| Doctor says | What to do |
|---|---|
Node … (needs 20+) | Install Node.js 20 or newer, then run npx igpilot-local install again with it. |
No Chrome host manifest at … | Run npx igpilot-local install. For a browser other than Chrome, add the same --browser to both install and doctor. |
Chrome host manifest … is malformed | Run install again. |
Launcher … is missing or is not executable | Run install again. |
Launcher node … is gone (Node was moved or removed) | The Node you installed with no longer exists, for example after a version-manager switch. Run install again, then update your client's config with the new paths. |
Companion … is gone | Run install again. |
Host not running (nothing at …/bridge.sock) | Open Chrome, then in IG Pilot turn on Settings → Connections → Control from Claude desktop. If it is already on, reload IG Pilot in chrome://extensions. |
The host is running but IG Pilot has not said hello | Reload IG Pilot in chrome://extensions. |
If Allowed extensions doesn't list the id that chrome://extensions shows for IG Pilot, Chrome won't start the host for it. Run npx igpilot-local install --extension-id <that id>, then reload IG Pilot.
Error messages#
Tool errors are plain English. Most end with a code in brackets.
| Message | Code | What to do |
|---|---|---|
| IG Pilot isn't connected. Open Chrome with IG Pilot and turn on Settings → Connections → Control from Claude desktop. | none, or not_connected | Chrome is closed, the switch is off, or the companion isn't installed. Check the switch, then run doctor. |
| IG Pilot didn't answer in time (the browser may be busy or asleep). Check status in a moment; it may or may not have done it. | timeout | Call status or get_history before asking again, so nothing happens twice. |
| The IG Pilot companion closed the connection before answering (Chrome may have closed). | disconnected | Same as a timeout: check status before retrying. |
| The IG Pilot extension disconnected before answering. | disconnected | IG Pilot reloaded or Chrome closed mid-call. Check status. |
| Lost the connection to the IG Pilot companion (…). | disconnected | Retry once; if it keeps happening, restart Chrome. |
| The IG Pilot companion refused this connection (wrong or missing bridge token). Restart Chrome, then try again. | unauthorized | Restart Chrome. |
| Could not send the request to the IG Pilot extension (it disconnected or the input is too large). | send_failed | Reload IG Pilot. If you sent a large file, see the next row. |
| That file is over 600 KB, the most this connection carries. | none | Add the file in the side panel under Autopilot → Teach IG Pilot, or drop it on the chat. |
| IG Pilot companion error: … | none | Something failed inside the companion. Check the log (below). |
A refusal (a daily limit, Never contact, your plan, Review) is not a malfunction. It comes back as the reason alone, and it is final: see Safety & limits.
Errors from the copy on disk#
With Chrome closed, the six tools that can answer from disk add the reason in brackets after "IG Pilot isn't connected":
| Reason | What it means |
|---|---|
| No saved brain on this computer yet. | There is no Brain on disk. See Resources for when the companion keeps one. |
| No saved CRM on this computer yet. | The same, for the CRM. |
| Say which account: @…, @…. | More than one account is saved. Open Chrome so IG Pilot answers for the account it is signed in to. |
Common problems#
There's no Control from Claude desktop switch#
You have the Chrome Web Store version. It doesn't include the switch and can't talk to the companion: connect through the connector at https://api.igpilot.io/mcp instead. A version of IG Pilot you install yourself always shows the switch.
The switch says it can't reach the companion app#
- Run
npx igpilot-local doctor. - If the manifest or launcher fails, run
npx igpilot-local install. - Reload IG Pilot in
chrome://extensions, then turn the switch off and on.
My AI app doesn't list the igpilot tools#
- Claude Desktop: check that
claude_desktop_config.jsonis valid JSON with a single"mcpServers"object, and that both paths in theigpilotentry exist. Quit and reopen Claude Desktop; closing the window isn't enough. - Claude Code: run
claude mcp listand check thatigpilotis there. Run/mcpin a session to see its status. - Codex: check the
[mcp_servers.igpilot]table in~/.codex/config.toml, then restart Codex. - Grok: run
grok mcp doctor igpilot. It checks the[mcp_servers.igpilot]table in~/.grok/config.tomland tries to start the server.
The tools appear even when Chrome is closed. Calls then answer that IG Pilot isn't connected.
A long task says it's still running#
That's expected for chat, run_growth_session, engage_hashtag, reply_to_chats and reply_to_new_comments. The work carries on in Chrome. Ask your AI app to call status in a few minutes.
IG Pilot runs in more than one browser or Chrome profile#
Each running copy of IG Pilot starts its own host, and ~/.igpilot/bridge.sock points at the newest one. Your AI app talks to whichever started last. Turn the switch on in one profile only.
Logs#
The companion logs to ~/.igpilot/companion.log and starts companion.log.1 past about 256 KB. It never logs to stdout, because stdout carries the protocol.
For more detail from the host, add this line to ~/.igpilot/bin/igpilot-host, above the exec line, then reload IG Pilot:
export IGPILOT_LOG_LEVEL=debugRunning install again rewrites the launcher and removes the line.
Start over#
npx igpilot-local uninstall
npx igpilot-local installuninstall keeps the log. Your client's config stays as it was, so if the paths that install prints change, update it too.