Set up the Agentation annotation toolbar in this project. 1. **Check if already installed** - Look for `agentation` in package.json dependencies
agentation in package.json dependenciesnpm install agentation (or pnpm/yarn based on lockfile)<Agentation or import { Agentation } in src/ or app/app/layout.tsx or app/layout.jspages/_app.tsx or pages/_app.jsimport { Agentation } from "agentation"; // Add inside the body, after children: {process.env.NODE_ENV === "development" && <Agentation />} `For Next.js Pages Router, add to \_app:` import { Agentation } from "agentation"; // Add after Component: {process.env.NODE_ENV === "development" && <Agentation />}
~/.claude/claude_code_config.json if it existsmcpServers.agentation entry exists~/.claude/ directory if it doesn't existclaude_code_config.json if present (preserve other MCP servers)mcpServers.agentation entry:{ "mcpServers": { "agentation": { "command": "npx", "args": ["agentation-mcp", "server"] } } }
<Agentation />)NODE_ENV check ensures Agentation only loads in developmentnpx agentation-mcp doctor to verify setup