// install_claude_code
Using AgentRoot with Claude Code
Search the AgentRoot registry and install MCP servers and skills directly into Claude Code. Skills are automatically loaded based on trigger keywords, and MCP servers are added to your Claude configuration.
// what_you_need
- Claude Code installed and running
- Node.js 18+ (for
npxcommands) - A project directory (for project-scoped installs)
1Search the registry
Find MCP servers, skills, agents, and A2A endpoints in the AgentRoot registry:
2Install a record
Use the --tool claude flag to install records into Claude Code:
Installing an MCP server:
Install never mutates Claude Code's settings files automatically. Copy the printed snippet into the right mcp.json yourself, then restart Claude Code.
Installing skills:
3Verify it works
For MCP servers, restart Claude Code and check that the tools are available:
For skills, Claude automatically loads relevant skills based on trigger keywords in your prompts. Ask Claude about the topic the skill covers and it will reference the skill content:
4Project-scoped vs global installs
By default, skills install globally. Pass --project to install into the current directory instead:
Project-scoped skills live in .claude/skills/ in your project root and can be committed to version control so the whole team benefits.
// troubleshooting
- MCP server not showing up: The CLI prints a JSON snippet on install but does not write it for you. Paste it into
.claude/mcp.json(project) or~/.claude/mcp.json(global), then restart Claude Code. - Skills not loading: Verify files exist at
~/.claude/skills/<domain>/<record-id>/or.claude/skills/<domain>/<record-id>/. Check that trigger keywords in the SKILL.md frontmatter match your prompts. - Permission errors: Ensure the target skills directory is writable. Exit code 77 (NOPERM) means the CLI could not write to
~/.agents/or the symlink target. - Outdated skills: Run
agent-root update <domain>/<record-id>to re-fetch from the publisher.