MCP Hub
Back to servers

httptoolkit-mcp

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.

glama
Updated
Mar 20, 2026

httptoolkit-mcp

A Model Context Protocol (MCP) server that provides AI assistants with full control over HTTP Toolkit — the powerful, open-source HTTP(S) debugging proxy.

Intercept, inspect, and debug HTTP traffic from browsers, Android/iOS devices, Docker containers, JVM processes, and more — all through natural language via your AI assistant.

Features

  • Browser Interception — Launch Chrome or Firefox with traffic automatically routed through the proxy
  • Android Interception — Intercept device traffic via ADB or target specific apps with Frida (bypasses certificate pinning)
  • iOS Interception — Intercept specific iOS apps via Frida on jailbroken devices
  • Docker Interception — Attach to running Docker containers and capture all outgoing HTTP traffic
  • Terminal Interception — Open intercepted terminal sessions or configure existing ones
  • JVM Attach — Attach to running Java/Kotlin/Clojure processes
  • Electron Apps — Launch Electron applications with interception enabled
  • HTTP Client — Send HTTP requests through the proxy with full control over method, headers, and body
  • Server Management — Query configuration, manage interceptors, and control the server lifecycle

Prerequisites

  • HTTP Toolkit server running locally (default: http://127.0.0.1:45457)
  • Node.js >= 18

Installation

Using npx (recommended)

No installation required — just configure your MCP client:

{
  "mcpServers": {
    "httptoolkit": {
      "command": "npx",
      "args": ["-y", "httptoolkit-mcp"]
    }
  }
}

Global install

npm install -g httptoolkit-mcp

From source

git clone https://github.com/fdciabdul/httptoolkit-mcp.git
cd httptoolkit-mcp
npm install
npm run build

Configuration

Claude Code

Add to ~/.claude/settings.json or ~/.claude.json:

{
  "mcpServers": {
    "httptoolkit": {
      "command": "npx",
      "args": ["-y", "httptoolkit-mcp"]
    }
  }
}

Claude Desktop

Add to your claude_desktop_config.json:

{
  "mcpServers": {
    "httptoolkit": {
      "command": "npx",
      "args": ["-y", "httptoolkit-mcp"]
    }
  }
}

Environment Variables

VariableDescriptionDefault
HTK_SERVER_URLHTTP Toolkit server URLhttp://127.0.0.1:45457
HTK_SERVER_TOKENAuthentication token (if server requires one)

Example with environment variables:

{
  "mcpServers": {
    "httptoolkit": {
      "command": "npx",
      "args": ["-y", "httptoolkit-mcp"],
      "env": {
        "HTK_SERVER_URL": "http://127.0.0.1:45457",
        "HTK_SERVER_TOKEN": "your-token-here"
      }
    }
  }
}

Available Tools

Server Management

ToolDescription
get_versionGet the HTTP Toolkit server version
get_configGet proxy configuration (certificates, DNS, system proxy)
get_network_interfacesList all network interfaces
trigger_updateTrigger a server update check
shutdown_serverShutdown the HTTP Toolkit server

Interceptor Management

ToolDescription
list_interceptorsList all available interceptors and their status
get_interceptor_metadataGet detailed metadata for a specific interceptor
activate_interceptorGeneric interceptor activation with custom options
deactivate_interceptorDeactivate a running interceptor

Browser Interception

ToolDescription
intercept_chromeLaunch a fresh Chrome window with interception
intercept_firefoxLaunch a fresh Firefox window with interception

Terminal Interception

ToolDescription
intercept_fresh_terminalOpen a new terminal with interception enabled
intercept_existing_terminalGet commands to enable interception in an existing terminal

Docker Interception

ToolDescription
intercept_docker_containerAttach to a running Docker container

Android Interception

ToolDescription
intercept_android_adbIntercept an Android device/emulator via ADB
frida_android_setupSet up Frida on an Android device
frida_android_launchLaunch Frida server on an Android device
frida_android_interceptIntercept a specific Android app via Frida

iOS Interception

ToolDescription
frida_ios_interceptIntercept a specific iOS app via Frida

Application Interception

ToolDescription
intercept_jvmAttach to a running JVM process
intercept_electronLaunch an Electron app with interception

HTTP Client

ToolDescription
send_http_requestSend an HTTP request through the proxy

Usage Examples

Once configured, you can ask your AI assistant things like:

  • "List all available interceptors"
  • "Intercept Chrome on port 8000"
  • "Show me the connected Android devices"
  • "Attach to the Docker container running my API"
  • "Send a GET request to https://api.example.com/users"
  • "Set up Frida on my Android device and intercept the target app"
  • "Open an intercepted terminal session"

Architecture

┌─────────────────┐     stdio      ┌──────────────────┐    REST API    ┌─────────────────────┐
│   AI Assistant   │◄─────────────►│  httptoolkit-mcp  │◄────────────►│  httptoolkit-server  │
│ (Claude, etc.)   │     MCP       │   (this project)  │   :45457     │     (HTTP Toolkit)   │
└─────────────────┘               └──────────────────┘               └─────────────────────┘
                                                                              │
                                                                     ┌────────┴────────┐
                                                                     │  Mockttp Proxy   │
                                                                     │   :8000/45456    │
                                                                     └────────┬────────┘
                                                                              │
                                                              ┌───────────────┼───────────────┐
                                                              │               │               │
                                                         Browsers       Android/iOS      Docker
                                                                        Devices        Containers

Credits

This project is an MCP interface for HTTP Toolkit, created by Tim Perry (@pimterry).

HTTP Toolkit is a beautiful, open-source tool for debugging, testing, and building with HTTP(S). If you find it useful, consider supporting the project.

License

MIT

Reviews

No reviews yet

Sign in to write a review