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.anamnesis

For 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

  1. Open a workspace in VS Code or Cursor.
  2. Right-click a project folder in the Explorer.
  3. Select Anamnesis: Create Knowledge Graph.
  4. Wait for extraction and upload to Anamnesis Cloud.
  5. 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

Configuration Settings

Configure these settings in VS Code or Cursor.

Setting Default Description
anamnesis.serverUrl https://apigateway.anamnesis.cloud API base URL (no trailing slash)
anamnesis.clientId "" Client Id from Anamnesis Settings - View Credentials
anamnesis.secretKey "" Secret Key from Anamnesis Settings - View Credentials
anamnesis.defaultTag default Default graph tag when none is selected
anamnesis.excludeGlobs [] Extra path prefixes to skip during graph generation

Need help?

Check the Learn page for detailed guides or reach out to us.