Skip to main content
Glama
zfdx123

http-inspector

by zfdx123

HTTP Inspector MCP Server

MCP server based on Streamable HTTP, integrated with a Web panel and screenshot functionality.
Single process, single port — an all-in-one HTTP traffic inspection toolbox.
Solves the problem of needing manual screenshot reproduction in later stages of AI-driven automated penetration testing.

Features

  • Send any HTTP request — supports all methods, custom Header/Body, proxy, timeout (similar to Burp Repeater)

  • Web panel — real-time traffic history table (SSE push), Raw HTTP detail view, manual send panel

  • Screenshot — AI can call screenshot_panel to screenshot the Web panel, returning a PNG file URL

  • Dual transport modes — defaults to Streamable HTTP (http://localhost:9876/mcp), also supports stdio (--transport stdio, automatically starts the Web panel)

Related MCP server: httptoolkit-mcp

Quick Start

# 安装依赖
cd mcp-http-inspector
pip install -e .

# 安装 Chromium 浏览器(用于截图)
# 项目 browsers/ 目录已内置 linux/mac-arm/win64 三平台 Chrome
# 无需额外安装,启动时自动检测

# 运行
python server.py
# 或指定模式(默认 http):
python server.py --transport stdio --port 9876
# 可用参数:--transport http|stdio, --host, --port

Open http://localhost:9876 in your browser to view the Web panel.

MCP Client Configuration

Streamable HTTP mode (default)

{
  "mcpServers": {
    "http-inspector": {
      "url": "http://localhost:9876/mcp"
    }
  }
}

stdio mode

{
  "mcpServers": {
    "http-inspector": {
      "command": "mcp-http-inspector",
      "args": ["--transport", "stdio"]
    }
  }
}

In stdio mode, the Web panel starts automatically in the background (default port 9876); the Web UI and screenshot functionality work as usual; to run alongside an HTTP instance, specify a different port with --port.

MCP Tools

Tool

Description

send_http_request

Send any HTTP request, supports auto_screenshot to capture a screenshot in one step

list_history

List request history, supports filtering and pagination (does not return raw body)

get_request_detail

Get raw HTTP request/response by ID (truncated to 5000 characters by default)

screenshot_panel

Screenshot the Web panel (history/detail/sender), returns a PNG download URL

screenshot_last_request

Quickly screenshot the Detail of the latest request, no ID needed

clear_all_history

Clear all history records and screenshot files

For more usage guides, see skills/SKILL.md

Architecture

MCP 客户端 ──HTTP──▶ :9876/mcp (Streamable HTTP)
MCP 客户端 ──stdio─▶ stdin/stdout (--transport stdio)
浏览器     ──HTTP──▶ :9876/    (Web 面板 SPA)
                     :9876/api/* (REST + SSE)
                            │
                     httpx ──▶ 目标服务器
                     SQLite ◀── 历史存储
                     Playwright ──▶ 截图

Supported Platforms

Automatically detects the OS and selects the built-in Chrome browser:

⚠️ The screenshot feature depends on the Chromium browser, which must be downloaded and extracted to the browsers/ directory.

Download: Chrome for Testing

System

Path to extract after download

🐧 Linux x64

Download chrome-linux64.zip → extract to browsers/chrome-linux64/chrome

🍎 macOS ARM

Download chrome-mac-arm64.zip → extract to browsers/chrome-mac-arm64/

🪟 Windows x64

Download chrome-win64.zip → extract to browsers/chrome-win64/chrome.exe

At startup, the OS is automatically detected and the Chrome at the corresponding path is selected. No download is needed if you don't use the screenshot feature.

Maintenance

ActivityMaintained
ResponsivenessSyncing

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    An MCP server that enables AI assistants to capture and analyze HTTP/HTTPS traffic from Android devices. It supports smart searching of network requests and provides tools for detailed traffic analysis via natural language.
    11
    223
    MIT
  • A
    license
    A
    quality
    F
    maintenance
    An MCP server that enables AI assistants to control HTTP Toolkit for intercepting, inspecting, and debugging HTTP(S) traffic from browsers, mobile devices, and Docker containers. It provides tools for server management, interceptor activation, and sending HTTP requests through natural language commands.
    23
    108
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    MCP server that provides AI clients with 26 security and developer tools, enabling tasks like JWT decoding, HTTP header analysis, and phishing URL inspection.
  • A
    license
    Not graded
    quality
    D
    maintenance
    An MCP server that enables AI agents to intercept, inspect, and modify HTTP traffic, with tools for searching, filtering, and managing captured requests and interceptors.
    10
    7
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/zfdx123/mcp-http-inspector'

If you have feedback or need assistance with the MCP directory API, please join our Discord server