Whistle MCP Server

Whistle MCP Server

whistle-mcp•by7gugu

A Model Context Protocol server for managing a local Whistle proxy, enabling AI assistants to manage rules, groups, values, network requests, and proxy settings through MCP tools.

License: Not specified•Runtime: Awaiting documentation review•Category: developer tools

WHAT IT DOES

  • •Manages Whistle rules and groups, including creating, updating, renaming, deleting, enabling or disabling rules, and associating rules with groups.
  • •Creates, updates, renames, and deletes values, with support for value group management.
  • •Enables or disables the proxy, HTTP/HTTPS interception, and HTTP/2 protocol support.
  • •Views intercepted network request information with URL filtering and replays captured requests with custom request parameters.

BEST FOR

  • •Network debugging, API testing, and proxy rule management through natural language interaction with AI.
  • •Managing Whistle rules, groups, values, and network requests without manually operating the Whistle interface.
  • •Inspecting intercepted requests with URL filtering and replaying captured requests with custom parameters.

ABOUT WHISTLE-MCP

Whistle MCP Server is cataloged as an MCP server attributed to 7gugu. A Model Context Protocol server for managing a local Whistle proxy, enabling AI assistants to manage rules, groups, values, network requests, and proxy settings through MCP tools. It is categorized under developer tools. See the capability inspector for recorded interfaces and their independent review status; consult upstream documentation for the current interface.

HOW TO INSTALL

Installation configuration is not reviewed. No executable setup is offered for this entry; inspect the source repository before proceeding.

LICENSE

Catalog license label: Not specified. Check the source repository's current license and terms before using, modifying or distributing this software.

能力检查器

能力定义尚未审核。未核验的采集内容不会作为可信接口展示。

Tools (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Resources (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

Prompts (0)

暂无可展示的已审核记录。这不表示上游不支持此能力。

NEWSLETTER - COMING LATER

Newsletter subscriptions are not open yet

Email delivery is not connected. This page does not collect email addresses or create subscriptions.

Browse the registry for current listings instead.

Community Reviews

Coming later

Reviews for Whistle MCP Server are not available yet

Review publishing and storage are not connected. This page does not collect or publish ratings or comments, including after sign-in.

FREQUENTLY ASKED QUESTIONS

What can AI assistants do with Whistle MCP Server?

AI assistants can directly operate and control local Whistle proxy servers and manage rules, groups, values, network requests, request replay, and modifications without manually operating the Whistle interface.

What transports can the MCP server use?

The MCP server uses stdio by default and can expose Streamable HTTP and SSE on the same process by using the http-stream transport.

Can it filter intercepted requests and replay them with custom parameters?

It can view intercepted network request information with URL filtering support and replay captured requests with custom request parameters.

上游原版 README

在 GitHub 查看同一版本原文

README.md · 70c283a51e86 · 采集于 2026-11-13 06:27:52 UTC

保留上游原文,不做 AI 改写。为安全起见过滤脚本、表单和不安全链接。

当前显示最后一次成功采集的文档快照,请以来源页面为准。

Whistle MCP Server

English | 中文

Project Introduction

Whistle MCP Server is a Whistle proxy management tool based on the Model Context Protocol (MCP), allowing AI assistants to directly operate and control local Whistle proxy servers. Through this tool, AI can help users manage rules, groups, values, monitor network requests, replay and modify requests, etc., without requiring manual operation of the Whistle interface. It greatly simplifies the process of network debugging, API testing, and proxy rule management, enabling users to complete complex network proxy configuration tasks through natural language interaction with AI.

Features

  • Rule Management: Create, update, rename, delete, and enable/disable Whistle rules
  • Group Management: Create, rename, delete groups, and associate operations between rules and groups
  • Value Management: Create, update, rename, and delete values, with support for value group management
  • Proxy Control: Enable/disable proxy, HTTP/HTTPS interception, HTTP/2 protocol, etc.
  • Request Interception: View intercepted network request information, with URL filtering support
  • Request Replay: Support for replaying captured requests with custom request parameters
  • Multi-Rule Mode: Support for enabling/disabling multi-rule mode

Installation

Requirements

Node.js 18.20.0 or newer is required (see engines in package.json). Older versions are not supported.

Installing via Smithery

To install Whistle MCP Server for Claude Desktop automatically via Smithery:

npx -y @smithery/cli install @7gugu/whistle-mcp --client claude

Manual Installation

You can install Whistle MCP Server globally via npm:

npm install -g whistle-mcp-tool

Build from source

From the repository root:

npm install
npm run build

The build output entry is dist/index.js (the same file used by the whistle-mcp CLI after a global install). You can also point MCP config at it with node and the path to dist/index.js.

MCP Configuration

Transport (stdio vs HTTP)

By default the server uses stdio (suitable for local MCP clients such as Cursor).

To expose Streamable HTTP and SSE on the same process (for remote or HTTP-capable clients), use --transport http-stream. FastMCP then listens on --mcp-host / --mcp-port and serves:

  • Streamable HTTP: http://<mcp-host>:<mcp-port><mcp-endpoint> (default path /mcp)
  • SSE: http://<mcp-host>:<mcp-port>/sse

Aliases for http-stream: sse, streamable-http (same mode; both URLs are available).

Flag / envMeaning
--transport / -t, FASTMCP_TRANSPORTstdio (default) or http-stream
--mcp-port, FASTMCP_PORTMCP HTTP port (default 8085 when using HTTP transport)
--mcp-host, FASTMCP_HOSTBind address (default 0.0.0.0)
--mcp-endpoint, FASTMCP_ENDPOINTStreamable HTTP path (default /mcp)
--stateless, FASTMCP_STATELESS=trueStateless HTTP mode (optional)

Whistle connection options are unchanged: --host, --port, --username / --password (or -n / -w).

Example (HTTP transport + local Whistle on 8899; MCP listens on 8085 by default):

whistle-mcp --transport http-stream --host 127.0.0.1 --port 8899

Use --mcp-port <port> to override the default 8085.

After installation, you can configure Whistle MCP in your MCP JSON configuration file:

{
  "mcpServers": {
    "whistle-mcp": {
      "command": "whistle-mcp",
      "args": [
        "--host=<whistle server IP address>",
        "--port=<whistle server port number>"
      ]
    }
  }
}

If you start Whistle with basic auth (same flags as the Whistle CLI: w2 start -n <username> -w <password>), pass the same credentials to this MCP server so HTTP requests to Whistle’s API succeed:

{
  "mcpServers": {
    "whistle-mcp": {
      "command": "whistle-mcp",
      "args": [
        "--host=localhost",
        "--port=8899",
        "--username=<username>",
        "--password=<password>"
      ]
    }
  }
}

Short options (aligned with w2): -n / -w are equivalent to --username / --password.

whistle-mcp --host localhost --port 8899 -n myuser -w mypass

Configuration Details

  • host: Whistle server IP address; defaults to localhost if omitted
  • port: Whistle server port; defaults to 8899 if omitted
  • username (-n / --username): Basic auth username when Whistle was started with -n; omit if Whistle has no login
  • password (-w / --password): Basic auth password when Whistle was started with -w; if username is set but password is omitted, an empty password is sent

Configuring MCP JSON in AI Clients

MCP Tools Description

Whistle MCP Server provides the following tools, which can be called via the MCP protocol:

Rule Management

Tool NameDescriptionFunction
getRulesGet all rulesList all created rules and their content
createRuleCreate new ruleCreate a new rule with the specified name
updateRuleUpdate rule contentModify the content of a specified rule
renameRuleRename ruleRename a rule to a new name
deleteRuleDelete ruleDelete a rule with the specified name
enableRuleEnable ruleEnable a rule with the specified name
disableRuleDisable ruleDisable a rule with the specified name
setAllRulesStateSet all rules stateEnable or disable all rules at once

Group Management

Tool NameDescriptionFunction
createGroupCreate groupCreate a new rule group with the specified name
renameGroupRename groupRename a rule group to a new name
deleteGroupDelete groupDelete a rule group with the specified name
addRuleToGroupAdd rule to groupAdd a specified rule to a specific group
removeRuleFromGroupRemove rule from groupRemove a rule from its group to the top level

Value Management

Tool NameDescriptionFunction
getAllValuesGet all valuesList all created values and value groups (note: data may be large, consider using getValueList first)
getValueListGet value listGet value list with index and name only (without data field, to avoid large payloads)
getValueGet single valueGet full information of a single value by name (including data field)
createValueCreate new valueCreate a new value with the specified name
updateValueUpdate value contentModify the content of a specified value
renameValueRename valueRename a value to a new name
deleteValueDelete valueDelete a value with the specified name
createValuesGroupCreate value groupCreate a new value group with the specified name
renameValueGroupRename value groupRename a value group to a new name
deleteValueGroupDelete value groupDelete a value group with the specified name
addValueToGroupAdd value to groupAdd a specified value to a specific group
removeValueFromGroupRemove value from groupRemove a value from its group to the top level

Proxy Control

Tool NameDescriptionFunction
getWhistleStatusGet server statusGet the current status information of the Whistle server
toggleProxyEnable/disable proxyToggle the enabled state of the Whistle proxy
toggleHttpInterceptionEnable/disable HTTP interceptionToggle the enabled state of HTTP request interception
toggleHttpsInterceptionEnable/disable HTTPS interceptionToggle the enabled state of HTTPS request interception
toggleHttp2Enable/disable HTTP2Toggle the enabled state of HTTP/2 protocol support
toggleMultiRuleModeEnable/disable multi-rule modeToggle whether to allow multiple rules to be enabled simultaneously

Request Management

Tool NameDescriptionFunction
getInterceptInfoGet interception informationGet network request information intercepted by Whistle, with URL filtering and regex support
replayRequestReplay requestResend a specified network request with customizable parameters

Utility

Tool NameDescriptionFunction
getCurrentTimestampGet current timestampGet the current local timestamp

Contact Information

Install configuration

Are you the maintainer?

Claim this server with your GitHub account to request manual ownership verification.

README Embed Badge
Markdown

Link to the catalog listing for Whistle MCP Server from your README. This badge does not certify ownership, compatibility or security.

[![MCP catalog listing](https://img.shields.io/badge/MCP-awesome--mcp-orange?style=flat-square)](https://awesome-mcp.com/servers/whistle-mcp)

REPOSITORY STATS

GitHub Stars44
Forks10

GitHub API evidence checked 2026-11-13 07:10:48.911Z (UTC). Repository-level counts are shared by all components, not individual server installs. Open issues including pull requests: 1.

Last repository push (UTC):2026-11-04

下载与拉取统计

来源、范围和时段分别列出;不相加,不代表安装人数、活跃用户或安全审核。

尚无已审核的包 / 镜像标识,暂不展示下载统计。

Related developer tools MCP Servers

Alternative and complementary servers in the same category

View all in developer tools →
Postbye
postbye-mcp•postbye-team

A directory listing describing a cancellation-letter and mailing-address service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools
Singapore Proxy MCP
singapore-proxy-mcp•Xavierfok

A hosted MCP service for browsing and searching through Singapore mobile-network proxies.

0
Developer Tools

A directory listing describing a Markdown-to-PDF service. The configured public GitHub repository returned 404 during source verification.

Repository stats unavailable
Developer Tools