Skip to content

VS Code Extension

The Tarsk VS Code extension embeds the full Tarsk UI in an editor tab, scoped to the workspace folder you have open.

Install Tarsk from the VS Code or Cursor marketplace, or install the .vsix from a release build.

Run the extension with Tarsk: Open from the command palette, or click the Tarsk icon in the activity bar.

  • The first workspace folder becomes the Tarsk project
  • Tarsk’s projects home grid is hidden (you already have the workspace)
  • A Settings button appears in Tarsk’s chat header instead of the full ⋯ More options menu
  • Project settings gear and some header controls are hidden
  • If http://127.0.0.1:641 is unreachable, the extension starts the Tarsk CLI with --server
SettingDefaultDescription
tarsk.serverUrlhttp://127.0.0.1:641Base URL of a running Tarsk server
tarsk.cliCommandtarskCLI command used to spawn --server when needed

The extension resolves the CLI in this order:

  1. tarsk.cliCommand setting
  2. CLI bundled with the extension
  3. tarsk on your PATH
  4. Workspace cli/dist/index.js (via bun or node)

When you open a local folder in VS Code, Tarsk connects via open-path. The server only accepts this from loopback for security.