proxyman-traffic-debugging
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseProxyman Traffic Debugging And MCP Operations
Proxyman流量调试与MCP操作
Use this skill after Proxyman MCP is configured. It teaches the agent how to use Proxyman as a local MCP server for traffic debugging and full Proxyman operations.
If Proxyman MCP tools are not available, stop and use . If Proxyman is not installed, use .
proxyman-mcp-setupproxyman-download-setupProxyman MCP is not a cloud API. MCP clients talk to the bundled executable over stdio, and the bridge controls a running local Proxyman app.
mcp-serverTreat , , and from the connected MCP server as the current source of truth when exact schemas or tool availability matter.
tools/listresources/listprompts/list在配置完成Proxyman MCP后使用此技能。它会指导Agent如何将Proxyman作为本地MCP服务器进行流量调试及全功能操作。
如果Proxyman MCP工具不可用,请停止操作并使用。如果未安装Proxyman,请使用。
proxyman-mcp-setupproxyman-download-setupProxyman MCP并非云API。MCP客户端通过stdio与内置的可执行文件通信,桥接程序会控制本地运行的Proxyman应用。
mcp-server当涉及精确的 schema 或工具可用性时,请以连接的MCP服务器返回的、和作为当前的权威依据。
tools/listresources/listprompts/listMental Model
心智模型
- MCP clients talk to the bundled executable over stdio.
mcp-server - The bridge reads a local handshake file, then forwards requests to the running Proxyman app at
mcp-server.http://127.0.0.1:<ephemeral-port>/mcp - The app's local HTTP server is localhost-only and authenticated with a bearer token from the handshake file.
- Do not hardcode the HTTP port or token. They are regenerated by the app and discovered from the handshake.
- Prefer the stdio MCP bridge over direct HTTP calls because the bridge adds schema validation, prompts, resources, annotations, structured content, and extra redaction safeguards.
- On Windows, the bridge is typically beside
mcp-server.exe. On Linux AppImage builds, Proxyman prepares a stable bridge atProxyman.exeafter the app launches.${XDG_CONFIG_HOME:-$HOME/.config}/Proxyman/bin/mcp-server - Flow tools expose the app's active session/sidebar data source, including Atlantis, saved requests, pinned flows, imported sessions, and remote folders when selected, so results should match what the user sees in Proxyman.
- , Terminal injection,
set_system_proxyElectron injection, and bridge app-control tools are macOS-oriented. On another platform, rely on the live tool list and schemas before offering them..app - The tool list below is an orientation map. Use the live MCP schemas before sending calls, especially after Proxyman updates.
- MCP客户端通过stdio与内置的可执行文件通信。
mcp-server - 桥接程序读取本地握手文件,然后将请求转发至运行在
mcp-server的Proxyman应用。http://127.0.0.1:<临时端口>/mcp - 应用的本地HTTP服务器仅允许本地访问,并通过握手文件中的Bearer Token进行身份验证。
- 请勿硬编码HTTP端口或Token,它们由应用重新生成并从握手文件中获取。
- 优先使用stdio MCP桥接程序而非直接HTTP调用,因为桥接程序会添加schema验证、提示信息、资源管理、注释、结构化内容以及额外的脱敏防护。
- 在Windows系统中,桥接程序通常是与同目录的
Proxyman.exe。在Linux AppImage版本中,Proxyman启动后会在mcp-server.exe路径下生成稳定的桥接程序。${XDG_CONFIG_HOME:-$HOME/.config}/Proxyman/bin/mcp-server - 流量工具会展示应用的活跃会话/侧边栏数据源,包括Atlantis、已保存的请求、固定的流量、导入的会话以及选中的远程文件夹,因此返回结果应与用户在Proxyman中看到的内容一致。
- 、终端注入、
set_system_proxyElectron注入和桥接应用控制工具均为macOS专属功能。在其他平台上,需先确认实时工具列表和schema后再提供相关操作。.app - 以下工具列表仅作为参考指南。发送调用前请使用实时MCP schema,尤其是Proxyman更新后。
First Calls In A Session
会话初始调用步骤
- List tools/resources/prompts when the MCP client exposes discovery calls.
- Use to confirm the bridge can reach the app.
get_version - Use to check recording state, proxy port, and SSL Proxying.
get_proxy_status - For setup questions, call before inventing advice.
answer_setup_question - For traffic work, call or
get_flows, then use returnedfilter_flowsvalues with detail/export/code tools.flow_id - For mutations, inspect current state first with the relevant list/status tool, then make the smallest requested change.
The stdio server uses strict schemas. Always obey ; unknown parameters and invalid enum values are rejected as protocol errors.
tools/list- 当MCP客户端支持发现调用时,先列出工具/资源/提示信息。
- 使用确认桥接程序可连接到应用。
get_version - 使用检查录制状态、代理端口和SSL代理设置。
get_proxy_status - 对于设置类问题,先调用再提供建议。
answer_setup_question - 处理流量相关工作时,先调用或
get_flows,然后使用返回的filter_flows值调用详情/导出/代码生成工具。flow_id - 执行变更操作前,先使用相关的列表/状态工具检查当前状态,再进行最小范围的请求变更。
stdio服务器使用严格的schema。请严格遵循的要求;未知参数和无效枚举值会被视为协议错误而拒绝。
tools/listPrivacy And Consent
隐私与授权
- Redaction is controlled in Proxyman Settings > MCP. When enabled, Proxyman redacts sensitive headers, cookies, query secrets, JWTs, bearer tokens, and common secret/password fields.
- Flow summaries/details, WebSocket payload previews, Compose drafts/results, exported cURL, and generated code honor the app's privacy setting.
- writes original captured data to HAR or ProxymanLogv2 on disk. The file contents are not redacted by the MCP preview setting.
export_flows - Ask before disabling redaction, exporting files, installing/uninstalling certificates, enabling system proxy, quitting Proxyman, clearing sessions, deleting rules, launching injected terminals, launching Electron apps, running guided automations, or sending upstream-proxy credentials.
- requires an explicit user-approved save path. If the path is a directory, Proxyman auto-generates a filename.
export_flows - If the user asks for raw secrets, confirm that they understand redaction may need to be disabled in Proxyman Settings > MCP.
- 脱敏设置在Proxyman设置>MCP中进行控制。启用后,Proxyman会自动脱敏敏感请求头、Cookie、查询参数中的密钥、JWT、Bearer Token以及常见的密钥/密码字段。
- 流量摘要/详情、WebSocket负载预览、Compose草稿/结果、导出的cURL命令以及生成的代码均会遵循应用的隐私设置。
- 会将原始捕获数据写入磁盘的HAR或ProxymanLogv2文件中。文件内容不会受MCP预览设置的脱敏影响。
export_flows - 在执行以下操作前需征得用户同意:关闭脱敏、导出文件、安装/卸载证书、启用系统代理、退出Proxyman、清除会话、删除规则、启动注入终端、启动Electron应用、运行引导式自动化流程或发送上游代理凭证。
- 需要用户明确批准的保存路径。如果路径是目录,Proxyman会自动生成文件名。
export_flows - 如果用户要求获取原始敏感信息,请确认他们了解需要在Proxyman设置>MCP中关闭脱敏功能。
Core Tool Groups
核心工具组
Use this section to choose the right workflow quickly. Do not copy these names blindly; confirm current schemas and enum values from the connected MCP server.
Read-only inspection:
- ,
get_version,get_proxy_status,get_flows,filter_flowsget_flow_detail - ,
list_websocket_sessionsget_websocket_messages - ,
list_rules,list_reverse_proxies,list_network_conditionslist_dns_spoofing - ,
get_ssl_proxying_listget_system_proxy_status - ,
get_certificate_status,get_external_proxylist_tool_status
Capture setup and guidance:
- for user-specific setup advice with diagnosis, steps, verification, citations, and next actions.
answer_setup_question - ,
search_docs,list_setup_workflowslist_popular_workflows - for app guide screens.
open_proxyman_screen - for safe built-in automations: Chrome current profile, Chrome new profile, Firefox, Android emulator override/revert.
run_guided_setup
Session and proxy control:
- ,
toggle_recordingclear_session - ,
get_system_proxy_statusset_system_proxy - ,
enable_ssl_proxying,disable_ssl_proxyingtoggle_ssl_proxying_domain - SSL Proxying domain parameters accept exact hosts and wildcard patterns such as . Use the exact same pattern when disabling or toggling a wildcard rule, then verify the result with
*.example.com.get_ssl_proxying_list - ,
install_certificateuninstall_certificate - ,
get_external_proxyset_external_proxy - changes the No Caching feature directly;
toggle_no_cachingcan also set its global state.toggle_tool
Rule management:
- ,
create_breakpoint,create_map_local,create_map_local_from_flow,create_map_remotecreate_blacklist - ,
create_scripting_rule,create_allow_list,create_network_condition,create_dns_spoofingcreate_reverse_proxy - ,
list_rules,delete_ruletoggle_rule - Use ,
list_reverse_proxies, andlist_network_conditionsfor those feature-specific IDs and details.list_dns_spoofingdoes not return Reverse Proxy entries.list_rules - ,
update_breakpoint,update_map_local,update_map_remote,update_blacklist,update_scripting_rule,update_allow_list,update_network_condition,update_dns_spoofingupdate_reverse_proxy - toggles whole features such as
toggle_tool,breakpoint,map_local,map_remote,blacklist,scripting,dns_spoofing,network_throttling,whitelist,reverse_proxy, andno_caching.external_proxy - Successful MCP rule CRUD, rule toggles, and feature toggles refresh open Proxyman tool lists and rule editors automatically. Deleting a rule that is currently being edited closes that editor.
- Update commands preserve the rule ID. Continue using the original ID for later toggle, update, or delete calls.
- Rule fields accept
methodalongside the established HTTP methods. Use uppercaseQUERYfor an exact RFC 10008 rule; use"QUERY"only when the rule should also affect other methods."ANY" - Set explicitly when matching scope matters. Defaults mirror each GUI and differ across rule types.
include_paths - Creating Scripting, Allow List, Network Condition, DNS Spoofing, or Reverse Proxy entries auto-enables that feature. Other rule creation may leave the global feature disabled; verify with .
list_tool_status
Flow operations:
export_flow_curl- with
export_flowsorformat: "har""proxymanlogv2" - with targets
generate_code,curl,python,swift_urlsession,swift_alamofire,swift_moya,go,node_fetch,node_http,axios,javascript_jquery,kotlin_okhttp,java_httpclient,dart,php_guzzle,rust_reqwest,objective_c,httpie, andhar.postman
Compose and WebSocket:
- ,
create_compose_http,create_compose_http_from_flow,get_compose_http,update_compose_http,send_compose_httpdelete_compose_http - ,
list_websocket_sessions,get_websocket_messagesclose_websocket_session
Runtime/app injection:
- ,
inject_terminalget_terminal_manual_command inject_electron
App control:
- can launch regular or Setapp Proxyman if installed. Wait briefly, then retry
open_proxyman.get_version - quits the local app and should be treated as destructive.
quit_proxyman
使用本节内容快速选择合适的工作流。请勿盲目复制这些名称;请从连接的MCP服务器确认当前的schema和枚举值。
只读检查类:
- 、
get_version、get_proxy_status、get_flows、filter_flowsget_flow_detail - 、
list_websocket_sessionsget_websocket_messages - 、
list_rules、list_reverse_proxies、list_network_conditionslist_dns_spoofing - 、
get_ssl_proxying_listget_system_proxy_status - 、
get_certificate_status、get_external_proxylist_tool_status
捕获设置与引导类:
- :为用户提供包含诊断、步骤、验证、参考和后续操作的个性化设置建议。
answer_setup_question - 、
search_docs、list_setup_workflowslist_popular_workflows - :打开应用引导界面。
open_proxyman_screen - :执行安全的内置自动化流程:Chrome当前配置文件、Chrome新配置文件、Firefox、Android模拟器覆盖/恢复。
run_guided_setup
会话与代理控制类:
- 、
toggle_recordingclear_session - 、
get_system_proxy_statusset_system_proxy - 、
enable_ssl_proxying、disable_ssl_proxyingtoggle_ssl_proxying_domain - SSL代理域名参数支持精确主机和通配符模式,例如。禁用或切换通配符规则时请使用完全相同的模式,然后通过
*.example.com验证结果。get_ssl_proxying_list - 、
install_certificateuninstall_certificate - 、
get_external_proxyset_external_proxy - 可直接更改无缓存功能;
toggle_no_caching也可设置其全局状态。toggle_tool
规则管理类:
- 、
create_breakpoint、create_map_local、create_map_local_from_flow、create_map_remotecreate_blacklist - 、
create_scripting_rule、create_allow_list、create_network_condition、create_dns_spoofingcreate_reverse_proxy - 、
list_rules、delete_ruletoggle_rule - 对于反向代理、网络条件和DNS欺骗功能,请使用、
list_reverse_proxies和list_network_conditions获取特定功能的ID和详情。list_dns_spoofing不会返回反向代理条目。list_rules - 、
update_breakpoint、update_map_local、update_map_remote、update_blacklist、update_scripting_rule、update_allow_list、update_network_condition、update_dns_spoofingupdate_reverse_proxy - 可切换整个功能的状态,例如
toggle_tool、breakpoint、map_local、map_remote、blacklist、scripting、dns_spoofing、network_throttling、whitelist、reverse_proxy和no_caching。external_proxy - 成功的MCP规则增删改查、规则切换和功能切换会自动刷新Proxyman的工具列表和规则编辑器。删除当前正在编辑的规则会关闭对应的编辑器。
- 更新命令会保留规则ID。后续的切换、更新或删除调用请继续使用原始ID。
- 规则的字段除了支持标准HTTP方法外,还支持
method。对于符合RFC 10008的精确规则,请使用大写的QUERY;仅当规则需要影响其他方法时才使用"QUERY"。"ANY" - 当匹配范围很重要时,请显式设置。默认值与各GUI界面一致,且不同规则类型的默认值不同。
include_paths - 创建脚本规则、允许列表、网络条件、DNS欺骗或反向代理条目会自动启用对应的功能。其他规则创建操作可能不会启用全局功能;请通过进行验证。
list_tool_status
流量操作类:
export_flow_curl- ,支持
export_flows或format: "har"格式"proxymanlogv2" - ,支持的目标语言/工具包括
generate_code、curl、python、swift_urlsession、swift_alamofire、swift_moya、go、node_fetch、node_http、axios、javascript_jquery、kotlin_okhttp、java_httpclient、dart、php_guzzle、rust_reqwest、objective_c、httpie和har。postman
Compose与WebSocket类:
- 、
create_compose_http、create_compose_http_from_flow、get_compose_http、update_compose_http、send_compose_httpdelete_compose_http - 、
list_websocket_sessions、get_websocket_messagesclose_websocket_session
运行时/应用注入类:
- 、
inject_terminalget_terminal_manual_command inject_electron
应用控制类:
- 可启动常规版本或Setapp版本的Proxyman(如果已安装)。请稍作等待后重试
open_proxyman。get_version - 会退出本地应用,此操作具有破坏性,请谨慎处理。
quit_proxyman
Common Workflows
常见工作流
When a workflow mutates Proxyman state, explain what will change before calling the tool.
当工作流需要修改Proxyman状态时,请在调用工具前说明将要进行的变更。
Inspect Traffic
检查流量
get_proxy_status- with
get_flows,limit,host_filter, ormethod_filter, or usestatus_filterfor body/header/status matching.filter_flows - for a chosen
get_flow_detail.flow_id - Use or
export_flow_curlonly after confirming the flow is the one the user wants.generate_code - Treat flow results as recent snapshots: list/filter results cap at 500 and body previews are truncated. Request an approved file export only when the user needs complete archival data.
get_proxy_status- 使用并配合
get_flows、limit、host_filter或method_filter参数,或使用status_filter进行请求体/请求头/状态码匹配。filter_flows - 对选中的调用
flow_id。get_flow_detail - 仅在确认流量符合用户需求后,再使用或
export_flow_curl。generate_code - 流量结果为最新快照:列表/过滤结果最多返回500条,请求体预览会被截断。仅当用户需要完整归档数据时,再请求批准进行文件导出。
Verify A Feature From Traffic
通过流量验证功能
- Ask for the feature, expected endpoint behavior, and approximate time window if the user has not provided it.
- to confirm recording and proxy state.
get_proxy_status - Use or
get_flowsto find relevant requests.filter_flows - Group results by endpoint, method, status, timing, and request sequence.
- Inspect representative values with
flow_id.get_flow_detail - Report a verdict: passed, suspicious, failed, or inconclusive.
Recommended report shape:
text
Feature Traffic Report
Verdict: ...
Traffic window: ...
Endpoint summary: ...
Evidence: ...
Possible issues: ...
Next action: ...- 如果用户未提供相关信息,请询问功能名称、预期端点行为和大致时间范围。
- 确认录制状态和代理状态。
get_proxy_status - 使用或
get_flows查找相关请求。filter_flows - 按端点、方法、状态码、时间和请求序列对结果进行分组。
- 使用检查具有代表性的
get_flow_detail。flow_id - 给出结论:通过、可疑、失败或不确定。
推荐的报告格式:
text
功能流量报告
结论: ...
流量时间范围: ...
端点摘要: ...
证据: ...
可能存在的问题: ...
后续操作: ...Help A User Capture Missing Traffic
帮助用户解决捕获缺失的问题
- with the user's exact symptom and any platform/app hints.
answer_setup_question - Check ,
get_proxy_status, andget_certificate_status.get_ssl_proxying_list - If localhost is involved, prefer Reverse Proxy guidance or .
create_reverse_proxy - If iOS plus VPN is involved, prefer Atlantis guidance.
- If a browser, Android emulator, or terminal automation is offered, ask before or
run_guided_setup.inject_terminal
- 使用用户提供的具体症状和平台/应用提示调用。
answer_setup_question - 检查、
get_proxy_status和get_certificate_status。get_ssl_proxying_list - 如果涉及本地主机,优先提供反向代理指导或调用。
create_reverse_proxy - 如果涉及iOS加VPN,优先提供Atlantis相关指导。
- 如果涉及浏览器、Android模拟器或终端自动化,在调用或
run_guided_setup前请征得用户同意。inject_terminal
Create A Debugging Rule From Captured Traffic
从捕获的流量创建调试规则
- or
get_flowsto locate the target request.filter_flows - to confirm URL, method, body, and matched tools.
get_flow_detail - Use when the user wants to reuse the captured response exactly.
create_map_local_from_flow - Use only when the user provides or wants a literal custom response.
create_map_local - Use the appropriate inventory tool to verify the new rule and use to confirm its feature is enabled.
list_tool_status
- 使用或
get_flows定位目标请求。filter_flows - 使用确认URL、方法、请求体和匹配的工具。
get_flow_detail - 如果用户希望完全复用捕获的响应,请使用。
create_map_local_from_flow - 仅当用户提供或需要自定义字面响应时,才使用。
create_map_local - 使用对应的库存工具验证新规则,并通过确认其功能已启用。
list_tool_status
Manage Existing Rules
管理现有规则
- Use for matching rules,
list_rulesfor Reverse Proxy,list_reverse_proxiesfor Network Condition, andlist_network_conditionsfor DNS Spoofing.list_dns_spoofing - Use the returned ; do not infer IDs from names.
id - For and
delete_rule, pass the exacttoggle_rule. Common values arerule_type,breakpoint,maplocal,mapremote,blacklist,scripting,whitelist,reverse_proxy, andnetwork_condition.dns_spoofing - For updates, omit fields that should stay unchanged. For GraphQL operation filters, an empty string or clears the filter where supported.
null - Exception: when changing a Map Local literal response, pass ,
response_body, andstatus_codetogether because the response file is rebuilt with defaults for omitted response fields.content_type - Only one Network Condition can be active at a time.
- 使用查找匹配规则,使用
list_rules查找反向代理规则,使用list_reverse_proxies查找网络条件规则,使用list_network_conditions查找DNS欺骗规则。list_dns_spoofing - 使用返回的;请勿从名称推断ID。
id - 执行和
delete_rule时,请传入精确的toggle_rule。常见值包括rule_type、breakpoint、maplocal、mapremote、blacklist、scripting、whitelist、reverse_proxy和network_condition。dns_spoofing - 更新规则时,请省略无需修改的字段。对于GraphQL操作过滤器,空字符串或会清除过滤器(如果支持)。
null - 例外情况:修改Map Local的字面响应时,请同时传入、
response_body和status_code,因为省略响应字段时会使用默认值重建响应文件。content_type - 同一时间只能激活一个网络条件规则。
Configure An External Proxy
配置外部代理
- Use and identify the
get_external_proxy,http,https, orsockssetting to change.pac - Ask before sending credentials.
- Use with a complete setting for that kind. Omitted host, port, enabled, or authentication values are not patch-preserved reliably.
set_external_proxy - Call again to verify the global feature and protocol setting.
get_external_proxy
- 使用确定需要修改的
get_external_proxy、http、https或socks设置。pac - 发送凭证前请征得用户同意。
- 使用并传入对应类型的完整设置。省略的主机、端口、启用状态或认证值无法可靠地保留原有设置。
set_external_proxy - 再次调用验证全局功能和协议设置。
get_external_proxy
Write A Scripting Rule
编写脚本规则
- Read before generating non-trivial
docs://scripting/snippet-code, or use thescript_contentprompt when the client exposes MCP prompts. Do not rely on generic proxy scripting syntax.write_scripting_rule - Use the canonical positional signatures exactly: and
async function onRequest(context, url, request).async function onResponse(context, url, request, response) - Generate only the handlers needed for the user's case. must end with
onRequest;return request;must end withonResponse.return response; - Request and response headers are mutable key-value objects. Use for an HTTP status code and consult the resource for body types and less common fields.
response.statusCode - Never generate one-argument handlers such as or
onRequest(request). Proxyman passesonResponse(response)first, so those handlers target the wrong object.context - The app validates JavaScript syntax, handler arity/order, and final return values before creating or updating a Scripting rule. Fix the actionable tool error and retry rather than weakening the script.
- 在生成复杂的前,请先查看
script_content,或当客户端支持MCP提示时使用docs://scripting/snippet-code提示。请勿依赖通用代理脚本语法。write_scripting_rule - 严格使用标准的位置签名:和
async function onRequest(context, url, request)。async function onResponse(context, url, request, response) - 仅生成用户需求所需的处理函数。必须以
onRequest结尾;return request;必须以onResponse结尾。return response; - 请求和响应头是可变的键值对象。使用设置HTTP状态码,并参考资源文档了解请求体类型和不常见字段。
response.statusCode - 切勿生成单参数处理函数,例如或
onRequest(request)。Proxyman会先传入onResponse(response),因此这些处理函数会错误地指向对象。context - 应用会在创建或更新脚本规则前验证JavaScript语法、处理函数的参数数量/顺序以及最终返回值。请根据工具返回的可操作错误进行修复并重试,而非简化脚本。
Compose And Replay An HTTP Request
编写并重放HTTP请求
- Use for a blank draft or
create_compose_httpto seed from a captured flow.create_compose_http_from_flow - Use with
update_compose_http,method,url, and UTF-8headers: [{ "key": "...", "value": "..." }].body_textis supported and can be sent withmethod: "QUERY".body_text - Use to send the draft and receive the resulting captured flow summary/detail.
send_compose_http - is HTTP-only; WebSocket URLs are rejected.
send_compose_http - Compose IDs are in-memory and ephemeral. Delete unused drafts with .
delete_compose_http
- 使用创建空白草稿,或使用
create_compose_http从捕获的流量生成草稿。create_compose_http_from_flow - 使用并传入
update_compose_http、method、url和UTF-8编码的headers: [{ "key": "...", "value": "..." }]。支持body_text,且可与method: "QUERY"一起发送。body_text - 使用发送草稿并接收捕获到的流量摘要/详情。
send_compose_http - 仅支持HTTP;WebSocket URL会被拒绝。
send_compose_http - Compose ID仅存在于内存中且临时有效。请使用删除未使用的草稿。
delete_compose_http
Inspect WebSockets
检查WebSocket
list_websocket_sessions- with
get_websocket_messages,flow_id,direction: "all" | "client" | "server", andinclude_ping_pong.include_payload - Payload previews are truncated to 4,096 characters and honor redaction.
- only supports active Compose-created WebSocket sessions.
close_websocket_session
list_websocket_sessions- 使用并传入
get_websocket_messages、flow_id、direction: "all" | "client" | "server"和include_ping_pong参数。include_payload - 负载预览会被截断至4096字符,并遵循脱敏设置。
- 仅支持通过Compose创建的活跃WebSocket会话。
close_websocket_session
Built-In Resources And Prompts
内置资源与提示
Use built-in resources and prompts for Proxyman-specific setup and scripting guidance before reaching for generic web advice.
Resources:
docs://setup/ios-devicedocs://setup/ios-simulatordocs://setup/android-devicedocs://setup/android-emulatordocs://setup/tvos-watchosdocs://setup/automatic-setupdocs://setup/manual-setupdocs://setup/firefoxdocs://setup/atlantisdocs://troubleshooting/vpndocs://troubleshooting/localhostdocs://troubleshooting/third-party-librariesdocs://scripting/snippet-codeinsights://popular-workflows- Resource template:
docs://search/{query}
Prompts:
recommend_capture_pathtroubleshoot_missing_trafficexplain_vpn_or_atlantis_choicewrite_scripting_rule
These resources/prompts are curated to match the app's own automation paths.
在寻求通用网络建议前,请先使用Proxyman专属的内置资源和提示获取设置与脚本指导。
资源:
docs://setup/ios-devicedocs://setup/ios-simulatordocs://setup/android-devicedocs://setup/android-emulatordocs://setup/tvos-watchosdocs://setup/automatic-setupdocs://setup/manual-setupdocs://setup/firefoxdocs://setup/atlantisdocs://troubleshooting/vpndocs://troubleshooting/localhostdocs://troubleshooting/third-party-librariesdocs://scripting/snippet-codeinsights://popular-workflows- 资源模板:
docs://search/{query}
提示:
recommend_capture_pathtroubleshoot_missing_trafficexplain_vpn_or_atlantis_choicewrite_scripting_rule
这些资源/提示均经过精心整理,与应用自身的自动化流程保持一致。
Troubleshooting
故障排查
- "Handshake file not found": Proxyman is not running, MCP is disabled, or the app has not finished startup. Launch Proxyman and enable Settings > MCP.
- "Invalid handshake file" or HTTP 401: restart Proxyman so the bridge gets the current token.
- "Cannot connect to Proxyman": confirm the app is open and the MCP status shows "Running on port ...".
- Linux AppImage bridge missing: launch Proxyman once, enable Settings > MCP, restart the app, then use the copied bridge from .
${XDG_CONFIG_HOME:-$HOME/.config}/Proxyman/bin/mcp-server - No flows appear: check recording, target proxy settings, certificate trust, SSL Proxying, and whether the active Proxyman sidebar/session source is the expected one.
- HTTPS bodies are opaque: check and
get_certificate_status, then enable SSL Proxying for the host.get_ssl_proxying_list - Localhost is missing: use Reverse Proxy; many localhost calls bypass the system proxy path.
- VPN blocks capture: for iOS apps, recommend Atlantis before fighting the device proxy path.
- Browser or terminal automation fails: macOS Automation permission may be missing. Ask the user to allow Proxyman in System Settings > Privacy & Security > Automation.
- Android emulator automation also needs an available root certificate path and local IPv4 address. Check certificate status before retrying it.
- Do not offer macOS-only system proxy, Terminal, Electron , or app-control operations on another platform unless the live MCP server exposes an applicable schema.
.app - Certificate install in automatic mode can trigger a macOS sudo dialog; manual mode opens Keychain Access for user trust steps.
- Flow IDs can disappear after , source changes, app restart, or import/session changes. List flows again before retrying.
clear_session
- "Handshake file not found":Proxyman未运行、MCP已禁用或应用未完成启动。请启动Proxyman并启用设置>MCP。
- "Invalid handshake file"或HTTP 401:重启Proxyman,使桥接程序获取当前Token。
- "Cannot connect to Proxyman":确认应用已打开,且MCP状态显示"Running on port ..."。
- Linux AppImage桥接程序缺失:启动一次Proxyman,启用设置>MCP,重启应用,然后使用路径下的桥接程序。
${XDG_CONFIG_HOME:-$HOME/.config}/Proxyman/bin/mcp-server - 无流量显示:检查录制状态、目标代理设置、证书信任状态、SSL代理设置以及Proxyman活跃侧边栏/会话源是否符合预期。
- HTTPS请求体不可见:检查和
get_certificate_status,然后为对应主机启用SSL代理。get_ssl_proxying_list - 本地主机流量缺失:使用反向代理;许多本地主机调用会绕过系统代理路径。
- VPN阻止捕获:对于iOS应用,优先推荐Atlantis,而非尝试修改设备代理路径。
- 浏览器或终端自动化失败:可能缺少macOS自动化权限。请让用户在系统设置>隐私与安全性>自动化中允许Proxyman。
- Android模拟器自动化还需要可用的根证书路径和本地IPv4地址。重试前请检查证书状态。
- 在其他平台上,请勿提供macOS专属的系统代理、终端、Electron 或应用控制操作,除非实时MCP服务器暴露了适用的schema。
.app - 自动模式安装证书会触发macOS sudo对话框;手动模式会打开钥匙串访问供用户完成信任步骤。
- 在执行、切换数据源、重启应用或导入/更改会话后,Flow ID可能会消失。重试前请重新列出流量。
clear_session