Skip to content

Connect Claude Code

Claude Code adds Allgreen with one command in a terminal.

  1. In Allgreen, open Connect an AI in the sidebar.

  2. Under Which app do you use?, choose the Claude Code tab.

  3. Click Copy, then paste and run the command in a terminal. It looks like this, with the paths of your computer:

    Terminal window
    claude mcp add --transport stdio allgreen -- "<the app's Node>" "<the app's Allgreen>" mcp --app --data-dir "<the app's data folder>"
  4. In Claude Code, type /mcp: “allgreen” should show as connected.

Claude Code then works on the app’s projects, with the secrets and run history you see in the app. Keep the app open while it does.

Without the desktop app, Claude Code can serve the project of a folder. Run this in your project folder (the one that holds allgreen/):

Terminal window
claude mcp add --transport stdio allgreen -- npx -y allgreen mcp

On Windows (outside WSL), Claude Code needs cmd /c to start npx:

Terminal window
claude mcp add --transport stdio allgreen -- cmd /c npx -y allgreen mcp

Claude Code reaches only that folder. To give it several folders, add --project <folder> at the end of the command once per folder, this one included: once you name folders, the current folder is no longer added for you.

To set it up for everyone who opens the project in Claude Code, add a file named .mcp.json at the root of the project:

{ "mcpServers": { "allgreen": { "command": "npx", "args": ["-y", "allgreen", "mcp"] } } }
  1. Type /mcp in Claude Code: “allgreen” should show as connected.
  2. Ask: “List my Allgreen projects”. Claude Code should answer with your projects, or with the folder you set up.

See also the command line reference.