7W

7gugu/whistle-mcp

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

45 stars 10 forks 品質 84 トレンド 14MIT

7gugu/whistle-mcp は [https://github.com/7gugu/whistle-mcp.] からインポートされた MCP サーバーの候補です

概要

7gugu/whistle-mcp は [https://github.com/7gugu/whistle-mcp.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

日本語 English

プロジェクト紹介

MCP Server は、モデルコンテキストプロトコル (MCP) に基づいて、Whistle プロキシ管理ツールで、AI アシスタントがローカルの Whistle プロキシサーバーを直接操作および制御できるようにします。 このツールを通して、AIはWhistleインターフェイスの手動操作を要求することなく、ユーザーがルール、グループ、値、監視ネットワークの要求、再生および変更の要求などを管理するのに役立ちます。 ネットワークデバッグ、APIテスト、プロキシルール管理のプロセスを大幅に簡素化し、ユーザーはAIとの自然な言語相互作用を通じて複雑なネットワークプロキシ構成タスクを完了することができます。

##特徴

  • ルール管理: 作成、更新、名前変更、削除、有効/無効なWhistleルール
  • グループ管理: グループの作成、名前変更、削除、ルールとグループ間の操作を関連付ける
  • 価値管理: 値グループ管理のサポートで、値の作成、更新、名前変更、削除 -プロキシコントロール:有効/無効なプロキシ、HTTP/HTTPSのインターセプション、HTTP/2プロトコルなど。 -Request Interception:サポートをフィルタリングするURLで、インターセプトされたネットワークリクエスト情報を表示

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

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://: (default path /mcp)
  • SSE: http://:/sse

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

Flag / env Meaning
--transport / -t, FASTMCP_TRANSPORT stdio (default) or http-stream
--mcp-port, FASTMCP_PORT MCP HTTP port (default 8085 when using HTTP transport)
--mcp-host, FASTMCP_HOST Bind address (default 0.0.0.0)
GitHub で README 全文を見る

インストール

npx -y @smithery/cli install @7gugu/whistle-mcp --client claude
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

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