with one click
with one click
| name | agentation |
| description | Add Agentation visual feedback toolbar to a Vite + React project |
Set up the Agentation annotation toolbar in this project.
Check if already installed
agentation in package.json dependenciesnpm install agentationCheck if already configured
<Agentation or import { Agentation } or AgentationOverlay in src/Add the component
This is a Vite + React project. Create src/components/AgentationOverlay.jsx:
import { useEffect, useState } from "react";
export function AgentationOverlay() {
const [Comp, setComp] = useState(null);
useEffect(() => {
if (!import.meta.env.DEV) return;
import("agentation").then((mod) => setComp(() => mod.Agentation));
}, []);
if (!Comp) return null;
return <Comp endpoint="http://localhost:4747" />;
}
Then add <AgentationOverlay /> to the root App.jsx, after all other content.
Confirm component setup
Check if MCP server already configured
claude mcp list to check if agentation MCP server is already registeredConfigure Claude Code MCP server
claude mcp add agentation -- npx agentation-mcp serverConfirm full setup
<AgentationOverlay />)import.meta.env.DEV check ensures Agentation only loads in development (Vite convention)npx agentation-mcp doctor to verify setup