whistle-mcp

by 7gugu
Verified

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
hostNoWhistle server IP address, defaults to localhost if not configuredlocalhost
portNoWhistle server port number, defaults to 8899 if not configured8899

Schema

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

Tools

Functions exposed to the LLM to take actions

NameDescription
getRules

获取所有规则&分组

createRule

创建新规则

updateRule

更新规则内容

renameRule

重命名规则

deleteRule

删除规则

enableRule

启用规则

disableRule

禁用规则

createGroup

创建新分组

renameGroup

重命名分组

deleteGroup

删除分组

addRuleToGroup

将规则添加到分组

removeRuleFromGroup

将规则移出分组

getAllValues

获取所有规则的值

createValuesGroup

创建新的值分组

createValue

创建新的值

updateValue

更新值内容

renameValue

重命名值

renameValueGroup

重命名值分组

deleteValue

删除值

deleteValueGroup

删除值分组

addValueToGroup

将值添加到分组

removeValueFromGroup

将值移出分组

getWhistleStatus

获取whistle服务器的当前状态

toggleProxy

启用或禁用whistle代理

toggleHttpInterception

启用或禁用HTTP拦截

toggleHttpsInterception

启用或禁用HTTPS拦截

toggleHttp2

启用或禁用HTTP/2

toggleMultiRuleMode

启用或禁用多规则模式

getInterceptInfo

获取URL的拦截信息(请求/响应皆以base64编码)

replayRequest

在whistle中重放捕获的请求(本接口请求后不会直接返回结果, 需要使用getInterceptInfo接口获取结果)

setAllRulesState

控制所有规则的启用状态(启用/禁用)

getCurrentTimestamp

获取当前本地时间戳

ID: xtjvndsy4c