Currents for VS Code

Troubleshoot CI failures right where you code. Currents.dev brings runs, errors, flaky tests analytics, CI builds and Pull Request failures into your IDE — so you can diagnose and fix issues with your agent without switching context.
Features
Drill into test failures with error messages, stack traces, and trace files — then feed that context to an AI agent to troubleshoot and resolve CI failures in one step.
Run Feed
Browse your latest CI test runs directly in the sidebar. Runs are filtered by your current git branch automatically and refresh every 30 seconds so you always see what's happening.
- Filter by branch or author
- Auto-refresh with a single toggle
Pull Request View
Debug and troubleshoot CI failures without ever leaving your IDE. Each PR surfaces a timeline of commits and builds right in the sidebar — no dashboard tab-switching needed. Spot a failure, hit "Fix with Agent", and move on.
- Filter by branch or author
- Auto-refresh with a single toggle
Test Explorer
Surface the flakiest and slowest tests across your project over configurable date ranges (14 / 30 / 60 / 90 days).
- Sort by flakiness rate or average duration
- Jump to the test file and line in one click
- Send flaky or slow tests to AI for automated analysis and fixes
Run Details
Click any run to open a full detail panel with every spec and test result. Failed tests show error messages and stack traces inline.
- One-click "Fix with Agent" sends the failure context straight to your AI chat (Copilot, Cursor, etc.) to generate a fix
- "Share link" copies a public link to a report of the run or a single test (every attempt, with its traces, videos and screenshots) that anyone can open without a Currents login. Your organization's admin turns public share links on in the Currents organization settings
- "Open in Dashboard" jumps to the full Currents web UI for deeper analysis
Analyze with Currents
An inline CodeLens / Quick Fix action appears above every test definition in your code. Trigger it to pull recent failure data from the Currents API and send a rich, context-aware prompt to your AI assistant.
MCP Server Integration
The extension automatically registers the remote Currents MCP server (https://api.currents.dev/mcp) so AI agents in Cursor and VS Code can query runs, test results, and spec instances directly through tool calls. It connects as you — with your sign-in, or your API key if you are not signed in — and is removed when you sign out.
Getting Started
- Install the extension from the VS Code Marketplace or search "Currents" in the Extensions panel.
- Open the Currents panel in the Activity Bar.
- Click Connect to Currents and finish signing in in your browser. If the browser does not open (for example on a remote machine), run Currents: Copy Sign-In Link and open the link yourself.
- Select a project — your runs will appear immediately.
Signing in or using an API key
There are two ways to connect, and you can keep both:
- Sign in (recommended) — click Connect to Currents. Nothing to copy or rotate; the session renews itself and ends when you sign out.
- API key — run Currents: Set API Key (or Use an API key instead in Settings). Use this where a browser sign-in is not practical, or when you already manage Currents API keys for scripts and CI. Run Currents: Set API Key again to change it; Currents: Remove API Key removes it.
If both are stored, the sign-in is used and the key is kept as a fallback: signing out switches to the key, and removing the key leaves you signed in. The Settings view shows which one is in use. See docs/authentication.md for the full rules.
Requirements
- A Currents.dev account that belongs to an organization (or an API key for one)
- VS Code 1.85+ or Cursor
Extension Settings
| Setting |
Default |
Description |
currents.filterByCurrentBranch |
true |
Auto-filter runs by the current git branch |
currents.notifyOnRunComplete |
false |
Show an OS notification when a run finishes |
currents.analyzeTestDisplay |
always |
Show "Analyze with Currents" as CodeLens (always) or only via Quick Fix (quickfix) |
currents.apiBaseUrl |
https://api.currents.dev/v1 |
API base URL (self-hosted / enterprise). User settings only; https (http on localhost) |
currents.registerMcpServer |
true |
Auto-register the Currents MCP server for AI agents |
Telemetry
The extension sends usage events to Currents: activation, sign-in attempts and their outcome, and which way you connect (sign-in or API key). It follows your editor's telemetry setting: with telemetry.telemetryLevel set to off, nothing is sent. Events never include tokens, API keys, error messages or anything you type. Every event is listed in docs/telemetry.md.
Extension Icons & Branding
The extension uses separate assets for different contexts:
resources/logo.png — marketplace icon shown on VS Code Marketplace, Open VSX, and the Extensions sidebar. Must be PNG, recommended 256x256 (128x128 minimum).
resources/logo.svg — Activity Bar icon in the editor sidebar. Must be SVG with a single fill color (VS Code applies theme coloring). Recommended 24x24 viewBox.
galleryBanner in package.json — controls the banner color and text theme on the VS Code Marketplace detail page header. No effect on Open VSX or in-editor display.
Development
git clone https://github.com/currents-dev/ide-extension.git
cd ide-extension
npm install
npm run watch
Press F5 in VS Code to launch the Extension Development Host, or click "Run Extension" in VSCode Debug panel.
License
Apache 2.0