whistle-mcp
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| WHISTLE_BASE_URL | No | The 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_PASSWORD | No | The password for whistle authentication, if enabled. Optional. | |
| WHISTLE_USERNAME | No | The username for whistle authentication, if enabled. Optional. |
Capabilities
Features and capabilities supported by this server
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| 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
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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