1. Install the Extension
Install Anamnesis Cloud from the VS Code Marketplace:
- Publisher:
sharadtech - Extension ID:
sharadtech.anamnesis - Compatible with VS Code 1.90+ and Cursor
Or install from the command line:
code --install-extension sharadtech.anamnesisFor Cursor on macOS, use the bundled install script from the extension repository.
2. Configure Credentials
Open the Anamnesis activity bar and click the settings gear, or run Anamnesis: Open Settings.
Create an account at anamnesis.cloud, then copy your Client Id and Secret Key from Settings - View Credentials.
3. Create Your First Graph
- Open a workspace in VS Code or Cursor.
- Right-click a project folder in the Explorer.
- Select Anamnesis: Create Knowledge Graph.
- Wait for extraction and upload to Anamnesis Cloud.
- Open the project from the Projects tree in the activity bar.
For Java/Maven/AEM repos, add build output to exclude globs:
"anamnesis.excludeGlobs": ["target/", "dist/", "node_modules/"]4. Enable AI Tools (Optional)
In the Projects view, run Anamnesis: Enable AI Tools (MCP + Skill). This registers:
- An MCP server (
anamnesis) for agent tool calls - A Cursor skill that instructs agents to query the graph before searching files
To remove, run Anamnesis: Remove AI Tools (MCP + Skill).
5. Explore the Graph
- Table view - fast filtering for large graphs
- Graph view - Cytoscape layouts with community colors
- Click to source - open the original file at the correct line
- Node inspection - label, kind, community, neighbors