IG Pilot Docs

Local companion

Connect a client

The exact MCP config for Claude Desktop, Claude Code, Codex and Grok. Every client starts the same command, igpilot-local mcp.

On this page

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.

Every client runs the same thing: the Node that ran install, the companion's cli.js, and the argument mcp. npx igpilot-local install prints both paths for your computer. After a normal npx install they look like this:

PartExampleWhere it comes from
Node/usr/local/bin/nodeThe Node that ran install (its full path, so a different Node on your PATH doesn't matter)
Companion/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.jsCopied there by install
ArgumentmcpStarts the stdio MCP server

Use the paths install printed, not the examples on this page. The server registers itself as igpilot.

Claude Desktop#

  1. Open ~/Library/Application Support/Claude/claude_desktop_config.json. On other systems, open your claude_desktop_config.json.
  2. Add the igpilot entry that install printed. If the file already has "mcpServers", merge it in rather than adding a second one.
  3. Quit and reopen Claude Desktop.
claude_desktop_config.json
{
  "mcpServers": {
    "igpilot": {
      "command": "/usr/local/bin/node",
      "args": [
        "/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js",
        "mcp"
      ]
    }
  }
}

Then ask Claude: "call igpilot status".

Claude Code#

Run the command install printed. --scope user makes IG Pilot available in every project:

Terminal
claude mcp add --scope user igpilot -- "/usr/local/bin/node" "/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js" mcp

Without claude on your PATH, install prints the same command through npx:

Terminal
npx @anthropic-ai/claude-code mcp add --scope user igpilot -- "/usr/local/bin/node" "/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js" mcp

Check it with /mcp inside Claude Code, or ask: "call igpilot status".

To remove it later:

Terminal
claude mcp remove --scope user igpilot

Codex#

Note

install prints config for Claude Desktop and Claude Code only. Codex starts the same stdio command: take the two paths from the Claude Desktop entry that install printed.

Add it from a terminal:

Terminal
codex mcp add igpilot -- "/usr/local/bin/node" "/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js" mcp

Or add it to ~/.codex/config.toml yourself:

~/.codex/config.toml
[mcp_servers.igpilot]
command = "/usr/local/bin/node"
args = ["/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js", "mcp"]

The Codex app, CLI and IDE extension share that file. Restart Codex, then ask it to call igpilot status.

Some tools can take about two minutes before they answer (see long-running tools). If Codex gives up on them sooner, raise the server's tool timeout in Codex's config.

Grok#

Note

This is xAI's Grok CLI (grok). install doesn't print a Grok command either: take the two paths from the Claude Desktop entry that install printed.

Add it from a terminal. grok mcp add writes to your user config (~/.grok/config.toml) by default, so IG Pilot is available in every project:

Terminal
grok mcp add igpilot -- "/usr/local/bin/node" "/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js" mcp

Or add it to ~/.grok/config.toml yourself:

~/.grok/config.toml
[mcp_servers.igpilot]
command = "/usr/local/bin/node"
args = ["/Users/you/.igpilot/companion/node_modules/igpilot-local/dist/cli.js", "mcp"]

Check it with grok mcp doctor igpilot, or /mcps inside a Grok session. Then ask Grok to call igpilot status.

Grok's default tool timeout is long enough for the long-running tools.

To remove it later:

Terminal
grok mcp remove igpilot

After connecting#

  1. Make sure Settings → Connections → Control from Claude desktop is on in IG Pilot (the self-installed version; the Chrome Web Store version doesn't have it).
  2. Run npx igpilot-local doctor. It should end with All good.
  3. Ask your client to call status. The server's instructions also tell it to call status first for context.

Moving or updating Node#

The config points at one Node binary by its full path. If you remove or move that Node (for example after switching versions with a version manager), run npx igpilot-local install again and update the config with the new paths. doctor reports this as Launcher node … is gone.

Written from the source of igpilot-local 0.1.0 (agent spec 2026-11-17.1). This page as Markdown · llms.txt

IG Pilot is an independent product, not affiliated with, endorsed by or sponsored by Instagram, Meta, Anthropic, OpenAI or xAI. Claude and Claude Code are trademarks of Anthropic, PBC. OpenAI, ChatGPT and Codex are trademarks of OpenAI. Grok is a trademark of xAI. Instagram is a trademark of Meta Platforms, Inc. Chrome is a trademark of Google LLC.