Proxyman MCP

Proxyman MCP allows AI to inspect HTTP traffic, create debugging rules, and control Proxyman - all through natural language conversations.

MCP

1. What is Proxyman MCP?

Proxyman MCP (Model Context Protocol) is a feature that enables AI assistants (Claude, Cursor, and other MCP-compatible tools) to directly interact with the Proxyman macOS app. It allows AI to inspect HTTP traffic, create debugging rules, and control Proxyman - all through natural language conversations.

The architecture consists of two components:

  • MCP HTTP Server - Runs inside Proxyman app on localhost with token-based authentication
  • MCP CLI Server - A stdio-based MCP server that AI tools connect to, which forwards commands to Proxyman

✅ Example Prompts

  • Show me the last 10 API requests to api.example.com
  • Create a breakpoint for all POST requests to /api/users
  • Export the failed request as a cURL command
  • Enable SSL proxying for *.stripe.com
  • Create a new Script to change the status code, headers, body.
  • Create Map Local, Breakpoint Tools with given URL
Use Claude Code to create the Script

2. Benefits

BenefitDescription
AI-Powered DebuggingAsk AI to analyze captured traffic, find specific requests, or explain API responses
Hands-Free Rule CreationCreate breakpoints, map local/remote rules through conversation
Faster WorkflowExport cURL commands, filter flows, and manage sessions without switching context
Secure by DesignLocalhost-only server with per-session token authentication
IDE IntegrationWorks seamlessly with Cursor and other MCP-compatible tools

3. How to add Proxyman MCP

  1. Enable MCP in Proxyman
    • Open Proxyman → Settings → MCP Tab
    • Toggle Enable MCP Server to start the MCP Server
  2. Configure your MCP client (e.g., Cursor, Claude Desktop)
  3. Add Proxyman MCP to your Agents:

Codex

  • Production Version:
codex mcp add proxyman -- "/Applications/Proxyman.app/Contents/MacOS/mcp-server"
  • Setapp Version:
codex mcp add proxyman -- "/Applications/Setapp/Proxyman.app/Contents/MacOS/mcp-server"

Claude Code

  • Production Version:

{% code overflow="wrap" %}

claude mcp add proxyman --transport stdio -- "/Applications/Proxyman.app/Contents/MacOS/mcp-server"

{% endcode %}

  • Setapp Version:

{% code overflow="wrap" %}

claude mcp add proxyman --transport stdio -- "/Applications/Setapp/Proxyman.app/Contents/MacOS/mcp-server"

{% endcode %}

Manual

Depend on what your AI Agents are, you have to edit the Agent Settings, to use Proxyman MCP. Here is the sample setting.json:

  • Production Version:
{
  "mcpServers": {
    "proxyman": {
      "command": "/Applications/Proxyman.app/Contents/MacOS/mcp-server"
    }
  }
}
  • Setapp Version
{
  "mcpServers": {
    "proxyman": {
      "command": "/Applications/Setapp/Proxyman.app/Contents/MacOS/mcp-server"
    }
  }
}
  1. Start using Proxyman MCP
  • Ensure Proxyman is running
  • Ask your AI assistant to interact with Proxyman.

4. Available Tools

Read-Only Tools

ToolDescription
get_versionReturns Proxyman version and build number
get_proxy_statusReturns recording state, proxy port, and SSL proxying status
get_flowsLists captured HTTP/HTTPS flows with optional filters (limit, host_filter, method_filter, status_filter)
get_flow_detailReturns full details of a specific flow including headers, body preview, query params, and cookies
list_rulesLists all debugging rules (breakpoints, map local, map remote, blacklist)
get_ssl_proxying_listReturns SSL proxying include/exclude domain lists
get_certificate_statusReturns root certificate installation status

Write Tools

ToolDescriptionRequired Params
create_breakpointCreates a breakpoint to pause/inspect matching requestsurl (pattern)
create_map_localReturns custom responses for matching URLsurl (pattern)
create_map_remoteRedirects requests from one URL to anotherfrom_url, to_url
create_blacklistBlocks requests matching a URL patternurl (pattern)
enable_scripting_toolCreate Script
enable_ssl_proxyingEnables HTTPS decryption for a domaindomain

Session Control

ToolDescription
clear_sessionClears all captured flows from current session
toggle_recordingStarts or stops traffic recording

Flow Operations

ToolDescription
export_flow_curlExports a captured request as a runnable cURL command
filter_flowsAdvanced filtering with multiple criteria (url, host, method, status, headers, body) supporting AND/OR combinations

App Control

ToolDescription
open_proxymanLaunches Proxyman if not running
quit_proxymanQuits the Proxyman app

Changelogs

MCP v3 (Proxyman macOS ≥ 6.8.0)

NameDescription
get_versionGet the current Proxyman macOS app version and build number
get_proxy_statusGet current proxy status including recording state, port number, and SSL proxying status
get_flowsGet recent HTTP/HTTPS flows from Proxyman's active session data source
get_flow_detailGet detailed information about a specific flow including headers, body, query params, and cookies
list_rulesList all active debugging rules (breakpoints, map local, map remote, blacklist, scripting, dns spoofing, network condition, whitelist)
get_ssl_proxying_listGet the current SSL Proxying configuration including enabled status and domain lists
create_breakpointCreate a new breakpoint rule to pause and inspect/modify requests or responses matching a URL pattern
create_map_localCreate a Map Local rule to return a custom response for matching requests
create_map_remoteCreate a Map Remote rule to redirect requests from one URL to another
create_blacklistCreate a Blacklist rule to block requests matching a URL pattern
create_scripting_ruleCreate a Scripting rule with custom JavaScript to modify requests/responses
enable_ssl_proxyingEnable SSL Proxying for a specific domain to decrypt HTTPS traffic
clear_sessionClear all captured flows from the current session
toggle_recordingStart or stop recording HTTP traffic
export_flow_curlExport a captured HTTP request as a cURL command
filter_flowsFilter captured HTTP/HTTPS flows using advanced filter criteria
get_certificate_statusGet the current status of Proxyman's root certificate
install_certificateInstall and trust the Proxyman root CA certificate
uninstall_certificateRemove the Proxyman root CA certificate from the Keychain
inject_terminalLaunch a terminal app with Proxyman proxy environment variables injected
get_terminal_manual_commandGet a bash source command for manually setting proxy environment variables
answer_setup_questionAnswer setup questions about capturing HTTPS from iOS, Android, browsers, etc.
search_docsSearch the built-in Proxyman setup and troubleshooting doc index
list_setup_workflowsList the supported setup workflows Proxyman MCP can guide users through
list_popular_workflowsList popular setup workflows using Proxyman's curated fallback ranking
open_proxyman_screenOpen a specific Proxyman guide or setup screen in the macOS app
run_guided_setupRun a one-click automation in Proxyman for browsers or Android emulators
list_reverse_proxiesList configured Reverse Proxy entries
create_reverse_proxyCreate a Reverse Proxy entry for localhost or custom local port routing
generate_codeGenerate code from a captured HTTP flow in 18+ languages/frameworks
create_dns_spoofingCreate a DNS Spoofing rule to redirect a hostname to a different IP address
list_dns_spoofingList all DNS Spoofing rules and their enabled status
update_dns_spoofingUpdate an existing DNS Spoofing rule
get_external_proxyGet the current External Proxy (upstream proxy) configuration
set_external_proxyConfigure an External Proxy setting for a specific protocol kind
toggle_no_cachingToggle the No Caching feature (strips cache-related headers)
inject_electronLaunch an Electron app with Proxyman proxy configuration injected
open_proxymanLaunch the Proxyman macOS application
quit_proxymanQuit the Proxyman macOS application

MCP v2 (Proxyman ≥ v6.7.0)

  • Built-in knowledge base covering iOS, Android, browsers, terminal, VPN, localhost, and third-party libraries
  • New commands: answer_setup_question, search_docs, list_setup_workflows, open_proxyman_screen, run_guided_setup, create_reverse_proxy
  • MCP resources and prompt templates for chat clients
  • Reverse proxy create/list support

Security

  • The server binds to 127.0.0.1 only (no network exposure)
  • Per-session cryptographic token stored in ~/Library/Application Support/com.proxyman.NSProxy/mcp-handshake.json
  • The handshake file has 0600 permissions (owner-only access)
  • Sensitive data (auth tokens, passwords, API keys) is automatically redacted in responses

Server Terkait

NotebookLM Web Importer

Impor halaman web dan video YouTube ke NotebookLM dengan satu klik. Dipercaya oleh 200.000+ pengguna.

Instal Ekstensi Chrome