Skip to content
| Marketplace
Sign in
Visual Studio Code>Debuggers>FlowScope TracerNew to Visual Studio Code? Get it now.
FlowScope Tracer

FlowScope Tracer

Vihang Technologies

|
2 installs
| (1) | Free
Runtime call graph visualizer — click anything, see everything
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

FlowScope Tracer

Click anything. See everything. Ask your AI why.

FlowScope Tracer is a VS Code extension for FlowScope — a runtime call graph visualizer for TypeScript and JavaScript applications. Trigger any flow in your app, and FlowScope captures the entire call tree, renders it as an interactive D3 graph right inside VS Code, and exposes it to AI agents via a built-in MCP server.

FlowScope call tree — checkout flow with chargeCard hotspot highlighted in red


Features

  • Trace History sidebar — eye icon in the Activity Bar lists all captured traces, color-coded by duration (blue / amber / red)
  • One-click call tree viewer — click any trace to open an interactive D3 call graph in a panel beside your editor
  • Hotspot detection — nodes colored by duration: amber (>50 ms), red (>200 ms) so slow calls jump out immediately
  • Dual layout — toggle between tree layout and D3 force-directed graph
  • Editor toolbar buttons — Show Last Trace and Pick Trace buttons appear on every .ts / .js / .tsx / .jsx file
  • Status bar — live trace count; turns green when the MCP server is online
  • MCP server integration — connect Claude Code, Cursor, or Copilot to query traces programmatically

Quickstart

1. Install the extension

Search FlowScope Tracer in the VS Code Extensions panel, or:

ext install vihang.flowscope-tracer

2. Instrument your app

npm install flowscope-core flowscope-visualizer
import { tracer } from 'flowscope-core'

const myService = tracer.wrap(myServiceObj, 'my-service')

tracer.start('button:checkout')
await myService.processCheckout(cartId)
tracer.stop()

Traces are automatically sent to the extension over the MCP server at localhost:7892.

3. Start the MCP server

npx flowscope-mcp-server

The status bar item turns green when the server is online. Traces captured by your app will appear in the Trace History sidebar in real time.


Commands

Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P) and search FlowScope:

Command Description
FlowScope: Show Last Trace Opens the most recent trace in a D3 viewer panel
FlowScope: Pick and Show Trace QuickPick list of all captured traces
FlowScope: Clear All Traces Removes all traces from the sidebar
FlowScope: Start MCP Server Starts the MCP server process
FlowScope: Refresh History Manually refreshes the trace list

MCP Server — Ask your AI about traces

Run the MCP server and add it to your Claude Code / Cursor config:

{
  "mcpServers": {
    "flowscope": {
      "command": "npx",
      "args": ["flowscope-mcp-server"]
    }
  }
}

Then ask your AI:

"Analyze the last checkout trace and identify the slowest call" "Which function took the most time in the auth flow?" "Show me the call tree for the most recent trace"

Available MCP tools: get_last_trace, list_traces, get_trace_by_id, analyze_trace, get_call_tree, search_traces.


Configuration

Setting Default Description
flowscope.serverPort 7892 Port the MCP server is listening on
flowscope.serverHost localhost Host the MCP server is running on

Requirements

  • VS Code 1.85.0 or later
  • Node.js 18+ (for the MCP server)
  • flowscope-core installed in your project

Links

  • GitHub
  • npm: flowscope-core
  • npm: flowscope-mcp-server
  • Open VSX
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft