Choose how to install it
- On the whole computerRecommended. Claude Code users: installs the package and makes it available in every project.
- Without installing anythingThose who prefer npx: registers the server, which npx downloads at the first start.
- For the teamThose who share a project: writes .mcp.json in the project, to commit to the repository.
- New projectThose starting from scratch: creates the project with AIgentrica's method and the server already configured.
- Other MCP clientsThose who do not use Claude Code: the server command to put in the client's configuration.
- Least permissionsThose who want to limit the server: start with Node's permission model.
Requirements
- Node 22 or later, with npm, from nodejs.org or from your system's package manager. You check the version with
node --version. - Claude Code, for
installandadd, with theclaudecommand in the terminal. For other clients see Other MCP clients. - git, only if you want
initto make the first commit of the new project.
On the whole computer Recommended
It installs the package with npm install -g and registers it in Claude Code with the user scope: every project you open already has AIgentrica. The server starts with node from npm's global folder, so it starts quickly and also works offline. The command is the same on Mac, Windows and Linux.
npx -y @aigentrica/mcp@1.0.0 installIf Node 22, npm or the claude command are missing, the command says so and prints the ones to run by hand. Run again, it replaces AIgentrica's previous registration.
Without installing anything
It registers in Claude Code the server started with npx, which downloads the package into its cache at the first start. On Windows it registers cmd /c npx, because Claude Code does not start npx on its own. The command is the same on the three systems; the scope is user, all your projects.
npx -y @aigentrica/mcp@1.0.0 addAdd --local to register it only in the project of the current folder and only for you.
For the team
From the project folder, add --project writes .mcp.json: you commit it to the repository and whoever opens the project with Claude Code has AIgentrica at the same version. The file is valid for the system you created it on (on Windows it contains cmd /c npx): in a team with different systems, everyone should use install.
npx -y @aigentrica/mcp@1.0.0 add --projectNew project
init creates a folder with the rules for the agents, the phased plan with phase F0, the agencies' role files, the CI and .mcp.json with the server and the panel. If a file already exists it writes nothing. Then open Claude Code in the folder and ask it to open phase F0. With --lang en the starter is in English.
npx -y @aigentrica/mcp@1.0.0 init my-project --name "My project"With --subagents it also copies the Claude Code subagents, one per role in .claude/agents/: each one loads its agent from the server, and the panel shows them separately. Without it, the agents are consulted from the server one at a time (how the agents work).
In a project already under way, for example one installed with add, add --existing: init --existing writes only the missing files, skips and lists those already there, does not commit and copies neither the CI nor phase F0. The plan starts without phases: ask Claude «Create the project phases from the existing code». Planning is a session of its own, which writes only plan/ and ends with /clear; then one phase per session.
init also writes .claude/settings.json with a reminder: on every request it reminds the model to load the right agent, because the server instructions arrive only when the session starts. --no-reminder leaves it out. In a project set up with add, or if .claude/settings.json was already there, reminder adds it and leaves the rest of the file as it is. With the panel open, if plan/ changes and there is no agent in the session yet, the Session page says so.
The agents' library
Each department has a library: cards of recent knowledge, such as a regulation or the new version of a standard, each with its source, version and verification date. Every agent's text contains their index, and the model reads the cards the task needs with the library tool. A weekly watcher reports what is new at the sources; a new card goes in only after the owner's review. The cards of each department are listed on the department page.
Other MCP clients
The server talks over stdio: add it to the client's configuration, usually a JSON file like this one. On Windows the command goes through cmd /c.
Mac and Linux
{
"mcpServers": {
"aigentrica": {
"command": "npx",
"args": ["-y", "@aigentrica/mcp@1.0.0"]
}
}
}Windows
{
"mcpServers": {
"aigentrica": {
"command": "cmd",
"args": ["/c", "npx", "-y", "@aigentrica/mcp@1.0.0"]
}
}
}In Claude Code, by hand, without install or add:
Mac and Linux
claude mcp add --scope user aigentrica -- npx -y @aigentrica/mcp@1.0.0Windows
claude mcp add --scope user aigentrica -- cmd /c npx -y @aigentrica/mcp@1.0.0Least permissions
With Node's permission model the server can only read its own folder: no writes, network or child processes. The server does not need them and works the same, but sending ratings fails and the version check does not run: add --allow-net if you want to rate the agents, otherwise --no-ratings --no-update-check at the end of the command. The panel, which needs the local network and git, does not start with these permissions.
First install the package and look up where npm's global folder is (the same on the three systems):
npm install -g --ignore-scripts @aigentrica/mcp@1.0.0
npm root -gThen register it, with the folder printed by npm in place of the one in the example:
Mac and Linux
claude mcp add --scope user aigentrica -- node --permission --allow-fs-read=/global/folder/@aigentrica/mcp /global/folder/@aigentrica/mcp/dist/mcp/src/server.jsWindows
claude mcp add --scope user aigentrica -- node --permission "--allow-fs-read=C:\Users\<name>\AppData\Roaming\npm\node_modules\@aigentrica\mcp" "C:\Users\<name>\AppData\Roaming\npm\node_modules\@aigentrica\mcp\dist\mcp\src\server.js"Options and features
The options go at the end of install or add, which pass them to the server. For example, only the software department and the accessibility agent:
npx -y @aigentrica/mcp@1.0.0 install --agents aisa,aiwda-08--agents aisa,aiwda-08- Only the team you list: agent ids and department codes, separated by commas. Only those stay in the command menu.
--no-panel- No panel: the page on your computer with agents in use, choices to make, plan, findings and usage, which is otherwise on.
--no-ratings- No ratings: neither the form nor the rate_agent tool. The server no longer connects to AIgentrica.
--no-update-check- No version check on the npm registry at startup.
--lang en- Instructions, replies and agent text in English (--lang it in Italian). Without it, the system language.
Ratings
When you load another agent, and after 30 minutes of use, Claude Code shows you a form to rate the agent: a vote from 1 to 5, an optional comment and whether to publish it. Once per agent; if you decline, it does not ask again. Only what is in the form leaves, no task or files (legal notice). In clients without forms the agent proposes the rating, with a preview to confirm.
New version notice
At startup the server asks the npm registry for the latest version, without sending any data. If there is a newer one it tells you once, with the command to update, and also shows it in the panel. The version in use does not change by itself.
Prompts and tools
Each agent is a command with its id and its department; the task goes in quotes. Alternatively ask the model to use the list_agents and agent tools.
/mcp__aigentrica__aisa-02-software "Review the boundaries between the modules in src/"What stays on your computer
The server runs on your computer and talks to the client over stdio. For each tool and command, here is what leaves and when. The text the model reads and writes still goes to the model provider, through your client.
- list_agents, agent, library, agent prompts
- Nothing: they read the role files included in the package.
- check, tool and command
- Nothing: it reads plan/ and audit/ in the project folder.
- report, ask_user, open_panel, panel
- Nothing: server memory and a page on 127.0.0.1, which reads plan/, audit/, git status and Claude Code's token counts.
- /mcp__aigentrica__configure
- Nothing: it writes only ~/.aigentrica/config.json.
- rate_agent, /mcp__aigentrica__rate
- Score, comment and version, to AIgentrica, after the preview and your yes.
- share_usage
- Token totals per day, agent, model and effort, to AIgentrica, after the preview and the confirmation code.
- submit_project, /mcp__aigentrica__project
- The form's fields, to AIgentrica, after your confirmation.
- Version check
- At startup a request with no data to the npm registry; --no-update-check turns it off.
- init, reminder and the reminder hook
- Nothing: they write the project files; the hook prints a line locally.
- install, add
- install downloads the package from npm, like npx; then they register the server with claude mcp add.
With --no-ratings --no-update-check nothing leaves.
Check
After restarting Claude Code, aigentrica appears in the list of servers as connected. Inside Claude Code, /mcp shows the same, and typing / you find the agents' commands.
claude mcp listCheck the plan
check checks, without models, the shape of the files in plan/ and audit/: tables and sections, required fields, unique ids, phase files that exist, priorities from P0 to P3 and the evidence of a closed finding. It also reports three contradictions, with both locations and without choosing which one holds: the same finding with different values in two files, a closed finding without evidence, a completed phase with a P0 task that is not in «Done». It checks the structure, not the content, and changes nothing.
The same check is used in three ways: the check tool, which the model uses after writing to plan/ or audit/; the panel, which shows errors and contradictions among its alerts; the command, from the project folder:
npx -y @aigentrica/mcp@1.0.0 checkIt prints each problem with file and line, for example:
1 format error: - plan/01-catalog.md:15: id F1-04 already appears on line 14. 1 contradiction (both locations, without choosing which one holds): - plan/00-base.md:13: phase F0 is completed (plan/README.md:15), but P0 task F0-03 is not in «Done».
It exits with 1 if it finds something and with 0 if everything is in order: added as a CI step, it stops a malformed plan before the merge.
Updating and uninstalling
To update, run the same command again with the new version, for example npx -y @aigentrica/mcp@<version> install, then restart Claude Code. With add or init you can also change the version in the server command or in .mcp.json. What changed in each version is in the releases.
To uninstall (the second command is needed only if you used install):
claude mcp remove aigentrica --scope user
npm uninstall -g @aigentrica/mcpWith add --project or --local, use that scope instead of user.
Common problems
- On Windows the server does not start («Connection closed»)
- It is registered with
npxwithoutcmd /c, as in the instructions before 0.6.0. Run install again: it replaces the registration. - «claude» not found
- Claude Code is not installed or not in the terminal's PATH. Install it and open a new terminal, or run by hand the command that install or add printed.
- npm install -g lacks permissions (Mac and Linux)
- Do not use sudo: set a global npm folder of your own with
npm config set prefix, or install Node with a version manager, then run install again. - AIgentrica does not appear in Claude Code
- Restart Claude Code: servers are read at startup. Then check with
claude mcp list; the server's error messages are in Claude Code's logs. - After updating to 0.6.0 a command is gone
- Since 0.6.0 the agents' commands have the department in their name:
aisa-02has becomeaisa-02-software. - After updating to 0.9.0 /mcp__aigentrica__valuta is gone
- Since 0.9.0 tools, commands and arguments are in English:
rate,configureandprojectinstead of valuta, configura and progetto,list_agentsandagentinstead of elenca_agenti and agente. The agents' commands do not change.
All the details are in the package README.