Connect Claude Code
Claude Code adds Allgreen with one command in a terminal.
With the desktop app
Section titled “With the desktop app”-
In Allgreen, open Connect an AI in the sidebar.
-
Under Which app do you use?, choose the Claude Code tab.
-
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>" -
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.
With the command line
Section titled “With the command line”Without the desktop app, Claude Code can serve the project of a folder. Run this in your project folder (the one that holds allgreen/):
claude mcp add --transport stdio allgreen -- npx -y allgreen mcpOn Windows (outside WSL), Claude Code needs cmd /c to start npx:
claude mcp add --transport stdio allgreen -- cmd /c npx -y allgreen mcpClaude 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.
Share it with your team
Section titled “Share it with your team”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"] } } }Check that it works
Section titled “Check that it works”- Type
/mcpin Claude Code: “allgreen” should show as connected. - 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.