Skip to main content
Glama
hzbhzb

whistle-mcp

by hzbhzb

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
WHISTLE_BASE_URLNoThe URL of the whistle Web UI. If not set, the server will auto-detect the running instance from ~/.startingAppData/, falling back to http://127.0.0.1:8899.
WHISTLE_PASSWORDNoThe password for whistle authentication, if enabled. Optional.
WHISTLE_USERNAMENoThe username for whistle authentication, if enabled. Optional.

Capabilities

Features and capabilities supported by this server

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
whistle_rule_listA

获取 whistle 中所有规则列表

whistle_rule_getB

获取指定规则的详细内容

whistle_rule_setB

创建或更新规则。规则内容使用 whistle 规则语法,如:pattern resBody://{valueName}

whistle_rule_removeC

删除指定规则

whistle_rule_enableB

启用指定规则

whistle_rule_disableB

禁用指定规则

whistle_value_listA

获取 whistle 中所有 Values(键值对)列表

whistle_value_getB

获取指定 Value 的内容

whistle_value_setA

创建或更新 Value。Value 用于存储 Mock 数据、模板等

whistle_value_removeC

删除指定 Value

whistle_mock_createA

一键创建完整 Mock 方案:自动生成 Value(存储响应数据)+ 规则(匹配 URL),并立即启用

whistle_mock_applyC

启用或禁用指定的 Mock 规则

whistle_sessions_listA

获取最近抓包的 session 列表,可按 URL 或 HTTP 方法过滤

whistle_session_getA

获取单个请求的完整详情(请求头、请求体、响应头、响应体、耗时、规则等),自动解析 query 参数、POST 参数和响应 JSON 字段树

whistle_sessions_searchA

搜索抓包数据:按请求参数名(query/POST body)或响应 JSON 字段名过滤。例如:查找哪些请求带了 token 参数、哪些接口返回了 address 字段

whistle_statusA

检查 whistle 服务运行状态

whistle_server_infoB

获取 whistle 服务器信息(端口、版本、网络等)

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/hzbhzb/whistle-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server