Manual
NetTrace AI captures HTTP requests from your browser and surfaces them in your IDE so you can debug faster. Free features work with no account. Premium unlocks real-time IDE streaming, AI language-model tools, and device management.
NetTrace AI is installed from official browser stores — the same way you add any other extension. Free capture features require no account.
The first time you click the NetTrace icon after installing, a consent banner appears. Choose the capture scope that fits your workflow:
localhost and 127.0.0.1.You can change the scope at any time from the extension's Settings panel.
A tour of the extension popup — from opening it to copying AI-ready markdown.
Click the NetTrace AI icon in your browser's toolbar. The popup shows a live list of captured HTTP requests.
Requests are listed newest first. Each row displays the HTTP method, URL, status code, and response timing at a glance.
Click any request row to expand its detail view. The detail panel opens inline below the row. Click the X button or click the row again to collapse it.
The expanded view includes four tabs with complete request and response data:
Use the search bar at the top of the request list to filter by URL or method. Quick-filter buttons let you narrow by status category:
Select one or more requests using the checkboxes on each row, then click the Copy button. The selected requests are exported as AI-ready markdown with sensitive fields automatically redacted based on your masking settings. Paste directly into ChatGPT, Claude, Cursor chat, or bug reports.
Drag the bottom edge of the popup to resize it. Your preferred height is saved automatically and restored the next time you open the extension.
Open Settings from the gear icon inside the extension popup. Every option is described below.
500. Older requests are dropped when the limit is reached.50 KB. Larger bodies are truncated.Toggle which resource types are captured. Each type can be independently enabled or disabled:
Controls which sites are captured. Choose one:
localhost / 127.0.0.1.Automatically redact sensitive data before it appears in copied output or is sent to your IDE. Each category can be toggled independently:
When enabled, failed requests (4xx and 5xx) are automatically streamed to your IDE companion in real time. No manual selection required — errors appear in your IDE as they happen.
The NetTrace IDE Companion works in both Cursor and VS Code. Install it from the VS Code Marketplace — search for NetTrace AI or use the direct link. The setup differs slightly between editors, so follow the guide for yours below.
Cursor uses MCP (Model Context Protocol) for external tool integrations. After installing the extension, you need to configure the MCP server so Cursor's AI can call NetTrace tools automatically.
NetTrace AI in Cursor's Extensions panel.Ctrl+Shift+P), run NetTrace: Connect Account, and paste your device token from nettrace.ai/dashboard/extension-setup.NetTrace: Listening or NetTrace: Connected (N). If it shows "Stopped", run NetTrace: Start Local Receiver.NetTrace: Show MCP Setup from the Command Palette. Cursor will offer to auto-write the config. If it doesn't, create a file at .cursor/mcp.json in your workspace root:{
"mcpServers": {
"nettrace": {
"command": "node",
"args": ["<path-to-extension>/dist/mcp-server.js"],
"env": {
"NETTRACE_TOKEN": "<your-device-token>"
}
}
}
}Replace <path-to-extension> with your installed extension path (shown by Show MCP Setup) and <your-device-token> with your token.
Developer: Reload Window from the Command Palette.Ctrl+L) and ask naturally: "What requests did NetTrace capture?" or "Fix the 500 error from my browser." Cursor will call the NetTrace MCP tools automatically.VS Code uses native Language Model Tools that are registered automatically when the extension activates. No extra MCP config needed.
NetTrace AI in the Extensions panel.Ctrl+Shift+P / Cmd+Shift+P), run NetTrace: Connect Account, and paste your device token from nettrace.ai/dashboard/extension-setup.NetTrace: Listening or NetTrace: Connected (N).Ctrl+Shift+I) and type # to see the NetTrace tools in autocomplete. For example: "Fix the 500 error using #nettracelog"VS Code tool reference: type #nettracelog, #nettracefail, or any tool name with # in the chat panel to reference it directly.
All commands are available from the Command Palette. Below is the complete list:
Connect AccountDisconnect AccountStart Local ReceiverStop Local ReceiverShow Latest FailureCopy Latest Failure ContextInsert Latest Failure ContextShow All RequestsClear Local DataShow MCP SetupRefresh EntitlementShow Entitlement StatusPair Browser ExtensionThe NetTrace IDE Companion adds a bug icon to the Activity Bar. Click it to open the NetTrace sidebar, which organizes captured data into three categories:
Open the Output panel in VS Code or Cursor and select NetTrace AI from the channel dropdown. This shows receiver logs, connection events, and diagnostic messages.
The IDE companion exposes tools that your AI assistant can call to access captured browser data. How you invoke them depends on your editor:
Cursor: Tools are called automatically via MCP. Just ask naturally — e.g. "fix the 500 error from NetTrace" — and the AI calls the right tool. Requires .cursor/mcp.json setup (see above).
VS Code: Type # in the chat panel to reference tools directly — e.g. "fix the error using #nettracelog". No extra config needed.
Eight tools are available. In Cursor they are called automatically via MCP. In VS Code, type # in chat to see them in autocomplete:
#nettracelog — compact reproduction context with failures first, request/response bodies, user actions, and console errors.#nettracefail — the most recent failure cluster with triggering action, failed requests, and errors.#nettracesession — the latest browser debug session with all requests and metadata.#nettracerequests — lists all captured requests across sessions (method, URL, status, timing).#nettracerequest — full detail for a specific request by ID, including headers and bodies.#nettracesessions — overview of all capture sessions with request and failure counts.#nettracefails — overview of all failure clusters across sessions.#nettracehealth — check receiver status and connection count.Cursor (just ask naturally):
VS Code (use # to reference tools):
#nettracelog#nettracefail and write a fix#nettracerequests for slow callsKey difference: Cursor uses MCP — tools are called automatically when you ask about browser requests. Requires a one-time .cursor/mcp.json setup. VS Code uses native Language Model Tools — type # in chat to reference tools. Works out of the box.
Common issues and how to resolve them.
Ctrl+Shift+R / Cmd+Shift+R) to bypass the cache.48731. Ensure your firewall or VPN is not blocking localhost traffic on this port..cursor/mcp.json, run NetTrace: Show MCP Setup from the Command Palette and follow the steps. Make sure your device token is set in the config and you've reloaded the window.# in the chat panel to reference tools (e.g. #nettracelog). If tools don't appear, reload the window.Need more help? Email support@capstralabs.com and include the browser/IDE version, the output from the NetTrace AI Output channel, and a screenshot of the issue.