v10.7 MCP server for AI assistants, wider HTTPS capture, and certificate fixes See what's new

How to Debug HTTP Traffic with AI Agents

Use your AI assistant to read and analyze captured traffic over MCP

  1. Launch HTTP Debugger capture on & MCP on
  2. Reproduce Issue browser · desktop app
  3. Ask AI Agent read & analyze · via MCP
  4. Cause Identified from real traffic

The Model Context Protocol (MCP) is an open standard, defined in the MCP specification, that lets an AI assistant such as Claude Code or Codex call external tools and read external data through a uniform interface. HTTP Debugger ships an MCP server, so you can debug HTTP traffic with AI agents on real captured traffic: the agent gets access to the session on your machine, which holds what every process sent and received.

What an AI agent cannot see on its own

An agent observes the processes it starts. Everything else on the machine is invisible to it: the browser tab reproducing the bug, a .NET service started by Windows, an Electron app, a vendor CLI, an installer. Asking the agent about that traffic produces a theory, not an observation.

In some cases the agent can reproduce the issue on its own, running curl or a script. In others only you can: a login in the browser, a click in a desktop app, an installer reaching a vendor endpoint. Either way the traffic ends up in the same session and is analyzed the same way.

HTTP Debugger MCP server tools

HTTP Debugger exposes eight MCP tools to AI agents, each covering a different part of the open session:

Tool What it does
get_capture_status Reports whether capture is running and the number of captured transactions
diagnose_capture Explains why there is no traffic, or why HTTPS is not decrypted
list_endpoints Lists the endpoints in the session, most used first
list_transactions Lists transactions with their metadata and body sizes
search_transactions Searches URLs, headers, and bodies across the session
get_transaction Returns the transaction details: its headers and the request or response body
get_session_stats Summarizes the session: counts, hosts, methods, and byte totals
export_as_curl Rebuilds a captured request as a cURL command line to replay or edit

How to turn on the MCP server

For security reasons, the MCP server ships turned off, so you need to enable it before an agent can read the session.

  1. Open the settings menu in the left toolbar, point at MCP Server, and turn the server on by clicking Enable MCP. To open the server settings, select MCP Server Settings in the same submenu.
    HTTP Debugger settings menu with the MCP Server submenu open, showing Enable MCP checked and MCP Server Settings below it
  2. In the MCP Server Settings dialog you can turn the server on or off, check its status, and copy the configuration for your agent.

    MCP Server dialog with the Claude Code client selected, status Ready. Connected, and the claude mcp add command shown in the text box

    Add the MCP server to Claude Code:

    claude mcp add -s user http-debugger -- "C:\Program Files (x86)\HTTPDebuggerPro\HTTPDebuggerMcp.exe"

    Add the MCP server to Codex:

    # %USERPROFILE%\.codex\config.toml
    [mcp_servers.http-debugger]
    command = "C:\\Program Files (x86)\\HTTPDebuggerPro\\HTTPDebuggerMcp.exe"
    args = []

    Add the MCP server to any other MCP client:

    Server name: http-debugger
    Executable: C:\Program Files (x86)\HTTPDebuggerPro\HTTPDebuggerMcp.exe
    Arguments: (empty)
    Transport: stdio
    Prerequisites: HTTP Debugger running; MCP enabled

    Restart the client after adding the server.

  3. The status bar shows MCP: ON while the server is enabled. Once an agent starts calling the tools, it switches to a counter, for example MCP: 50 Calls.

A practical example: two callers, one endpoint, both 200 OK — analyzed by an AI agent

A page returns the account of the logged-in user. A curl call to the same endpoint gets nothing back, and both report 200 OK. The screenshot below shows both calls captured in HTTP Debugger, one from chrome.exe, one from curl.exe.

HTTP Debugger grid filtered on userinfo with transactions 111 and 581 selected, request headers on the left and response headers with Content-Length 3 on the right

Same URL, same status, different result. Nothing in the columns explains why the second call comes back empty.

The MCP server was connected to Claude Code, and the agent was asked to find out the difference:

My curl gets {} back from https://reqbin.com/api/v1/account/userinfo,
but the same endpoint returns my account when the page loads in the browser.
Both say 200 OK. What's different?

After reading the traffic captured in HTTP Debugger over MCP, the agent answered:

Agent answer comparing transaction ID 111 from chrome.exe returning 52 bytes with transaction ID 581 from curl.exe returning 3 bytes, both 200 OK

The agent found that two requests to one endpoint differ by a single header, the session cookie the browser sends and curl does not. The endpoint answers an unauthenticated caller with 200 and an empty body instead of 401, so status checks pass, no exception is raised, and the logs record a successful call.

Requirements and limits

To analyze traffic with AI agents, HTTP Debugger has to be running with capture on and MCP enabled. The agent gets the same transactions you see in the UI, WebSocket, SSE, and gRPC included. The server accepts connections only from the machine it runs on: a capture holds real cookies, tokens, and authorization headers, and that data must not be reachable over the network.

FAQ

Can an AI agent see traffic from my browser?

Yes. HTTP Debugger captures browser traffic like any other process, and the agent reads that session over MCP.

Can the agent replay a captured request?

Yes. The agent can export any captured request as a cURL command with export_as_curl, edit the command parameters, and send the request again.

Which AI clients work with the MCP server?

Any MCP client that can start a local server over stdio. The dialog has ready-to-paste configuration for Claude Code and Codex, and the generic settings for every other client: server name, executable path, no arguments, stdio transport.

Why does the agent report no tools after I add the server?

An MCP client reads its server list at startup, so a client that was already running does not see the new entry until you restart it.

HTTP Debugger Pro

Version 10.7 · Windows 10, Windows 11

A proxy-less HTTP/HTTPS sniffer for Windows that captures traffic system-wide from any process.

Download free 7-day trial

No registration required · Trusted since 2007