AS

a121400/sunnymcptool

Developer tools

This page was translated automatically. Technical details may differ from the original. View the original

126 stars 45 forks Quality 84 Trend 14MIT

MCP Server based on SunnyNet middleware and SunnyNetTools packet capture tool extensions

Overview

Based on SunnyNet network middleware, MCP Server allows AI to directly control network packet capture, modify requests/responses, manage breakpoints, and more. Run SunnyNet.exe (Windows) or SunnyNet.app (macOS); after the GUI starts, the MCP HTTP endpoint (default port 29999) is automatically enabled. sunnynet-mcp is a lightweight stdio→HTTP bridge program that forwards Cursor's JSON-RPC requests to the GUI's MCP endpoint. In Cursor, directly: - "Start packet capture" - "Show recent requests" - "Search for requests containing logins" - "View details of request 123" - "Add breakpoint interception api.example.com" - "Modify response body" - :Wails desktop application, includes full SunnyNet engine + MCP HTTP Server + visual interface - :Pure Go program (~8MB), handles MCP protocol handshakes, forwards tools to call the GUI - :Integrates Wireshark tshark for network-level raw packet capture and protocol parsing (requires separate wireshark/ directory) The product is in the build/bin/ directory. macOS users can specify the platform: wails build -platform darwin/arm64 capture_ The utility family requires the tshark executable. Place the compiled Wireshark in the build/bin/wireshark/ directory: - Windows: Requires the Npcap driver to capture packets in real time - Compiled from the Wireshark source code or downloaded from the official installation package tshark.exe Through Frida's dynamic injection of Hook WeChat processes into AppBrandCommonBindingJni.native InvokeHandler and invokeCallbackHandler, all requests and responses from cloud functions are intercepted in real time.

Overview (machine translated)

Based on SunnyNet network middleware, MCP Server allows AI to directly control network packet capture, modify requests/responses, manage breakpoints, and more.

Download

Download from Releases:

Platform GUI Main Program MCP Bridging
Windows SunnyNet.exe sunnynet-mcp.exe
macOS (Apple Silicon) SunnyNet.app sunnynet-mcp

How to use

1. Start the GUI

Run SunnyNet.exe (Windows) or SunnyNet.app (macOS); after the GUI starts, the MCP HTTP endpoint (default port 29999) is enabled.

2. Configure Cursor / Claude Desktop

Add to .cursor/mcp.json or the corresponding configuration file:

sunnynet-mcp is a lightweight stdio→HTTP bridge program that forwards Cursor’s JSON-RPC requests to the GUI’s MCP endpoint.

3. Dialogue usage

Directly in Cursor:

  • “Initiating packet capture”
  • “Show recent requests”
  • “Search for requests containing login”
  • “View details of request 123”
  • “Add breakpoint interception api.example.com”
  • “Modify Response Body”

Architecture

  • GUI Main Program: Wails desktop application, including the full SunnyNet engine + MCP HTTP Server + visual interface
  • MCP Bridging: Pure Go program (~8MB), handles MCP protocol handshakes, forwards tools to call the GUI
  • tshark Backend: Integrates Wireshark tshark to achieve raw packet capture and protocol parsing at the network card level (requires separate wireshark/ directory)

List of MCP tools

Category Tools Instructions
Proxy Control proxy_start / proxy_stop Start/stop the proxy
proxy_set_port Set the proxy port
proxy_get_status Get the running status
proxy_set_ie / proxy_unset_ie Set/disable system proxy
proxy_pause_capture / proxy_resume_capture Pause/Resume capture
Request request_list Get the request list (paginated)
request_get Get request details

This page was translated automatically. Technical details may differ from the original.

Install

This server does not publish a one-line install command.

Open the repository installation guide New to MCP? Start with the mcpskill.org guide →

Configuration

{ "mcpServers": { "sunnynet": { "command": "/path/to/sunnynet-mcp", "args": ["-port", "29999"] } } }