Back to Home
7gugu icon

whistle-mcp

Verified Safe

by 7gugu

Overview

Manages a local Whistle proxy server and network requests through AI commands, enabling automated control of rules, groups, values, and request interception/replay.

Installation

Run Command
whistle-mcp --host=<whistle server IP address> --port=<whistle server port number>

Security Notes

The server itself does not contain obvious hardcoded secrets or direct 'eval' of user input that would execute code on the host system. However, it acts as an interface to a local Whistle proxy. Arguments like 'ruleValue' for 'updateRule' and 'url', 'headers', 'body' for 'replayRequest' are taken directly from AI tool calls. A malicious AI prompt (or a malicious user interacting with an AI) could instruct the Whistle MCP server to send arbitrary, potentially harmful, configurations to the local Whistle proxy or replay malicious requests. The 'getInterceptInfo' tool uses 'new RegExp(url)' which could be vulnerable to ReDoS (Regular Expression Denial of Service) if the 'url' parameter contains a maliciously crafted regular expression, potentially causing high CPU usage locally, although the code includes a try-catch for invalid regex syntax. There's also a minor inconsistency where the tool 'toggleHttpInterception' is implemented to call 'whistleClient.toggleHttpsInterception', meaning it will toggle HTTPS interception despite its name suggesting HTTP. This could lead to unexpected behavior.

Similar Servers

Stats

Interest Score41
Security Score7
Cost ClassLow
Avg Tokens1000
Stars23
Forks4
Last Update2025-12-11

Tags

WhistleProxy ManagementNetwork DebuggingAI AssistantMCP