whistle.agent-mcp
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@whistle.agent-mcpFind recent requests that returned a 500 status code."
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
whistle.agent-mcp
Let AI assistants that support MCP directly query the HTTP, HTTPS, and WebSocket traffic currently captured by Whistle.
You don't need to export sessions, copy response content, or manually organize request information. After connecting, you can directly let the AI search requests, view full sessions, and analyze WebSocket frames.
What it's good for
Find requests that recently failed, timed out, or matched a specific URL.
View the request headers, response headers, body, duration, and matching rules of a single request.
Investigate WebSocket message content and send/receive direction.
Let AI assist in analyzing network issues without modifying Whistle configuration or captured data.
Related MCP server: Android Proxy MCP
Quick start
Requirements: Node.js 20+, Whistle>=2.10.7.
On first use, copy and run all the commands below:
npm install -g whistle@latest
w2 install @wilson_janet/whistle.agent-mcp
w2 startIf Whistle is already running, just install the plugin and restart:
w2 install @wilson_janet/whistle.agent-mcp
w2 restartVerify the plugin is available:
curl http://127.0.0.1:8899/whistle.agent-mcp/healthAdd the following to your MCP client configuration file:
{
"mcpServers": {
"whistle": {
"url": "http://127.0.0.1:8899/whistle.agent-mcp/mcp"
}
}
}After connecting, you can directly ask questions like this:
查找最近 20 个状态码为 500 的请求。
查看 URL 包含 /api/orders 的最新请求,分析它为什么失败。
读取会话 1750000000000-001 的请求、响应和耗时。
查看指定 WebSocket 会话最近由服务端发送的消息。Provided tools
Tool | Purpose |
| Search captured sessions by URL, method, status code, type, or time. |
| Read a single session's request, response, duration, and matching rules. |
| Read WebSocket or Socket session frames. |
Session IDs in search results can be passed on to the detail and frame query tools.
Security and limitations
All tools are read-only; they do not modify rules, proxy settings, or captured data, and do not replay requests.
Sensitive request headers such as
authorization,cookie, API Key, and Token are automatically replaced with[REDACTED].Text bodies return at most 200,000 characters; binary content only returns a limited-length base64 preview.
Data comes from Whistle's in-memory cache; older sessions may have already expired.
By default, only localhost Origin is accepted. Do not expose the Whistle UI port to untrusted networks without authentication.
To add a Bearer Token for the MCP endpoint, set it when starting Whistle:
WHISTLE_MCP_TOKEN='your-token' w2 restartThen configure the same Bearer Token for the service in the MCP client. You can also add additional exact Origins via WHISTLE_MCP_ALLOWED_ORIGINS, separating multiple values with commas.
Development
After entering the project directory, install dependencies and build:
npm install
npm run buildWhen loading a local plugin from source, -A must point to the parent directory containing whistle.agent-mcp:
w2 start -A ..Start the TypeScript watcher, Whistle, and local plugin reload:
npm run devFull verification:
npm run check
npm test
npm run build
npm run smokenpm run smoke:api additionally connects to the locally installed Whistle Local Agent API and uses the current captured data to verify query capabilities.
Project structure
index.cjs Whistle 插件入口
src/
plugin/handler.ts HTTP 路由与访问控制
mcp/server.ts MCP 工具定义
whistle/ API 适配、查询、脱敏、错误与类型
testing/smoke.ts 构建后的端到端 smoke test
test/
whistle/ Whistle 相关单元测试
scripts/dev.sh 本地开发脚本This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Connectors
Search your AI chat history (ChatGPT, Claude, Codex) from any MCP client. Remote, private, read-only
Live browser debugging for AI assistants — DOM, console, network via MCP.
A paid remote MCP for AI agent browser DevTools MCP, built to return verdicts, receipts, usage logs,
Scrape, crawl and search the web for AI agents via MCP.
Related MCP Servers
- AlicenseCqualityCmaintenanceWhistle MCP Server is a Whistle proxy management tool based on the Model Context Protocol (MCP) protocol, which enables 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, and replay a322244MIT
- AlicenseAqualityFmaintenanceAn MCP server that enables AI assistants to capture and analyze HTTP/HTTPS traffic from Android devices. It supports smart searching of network requests and provides tools for detailed traffic analysis via natural language.11223MIT
- AlicenseBqualityCmaintenanceExposes local Reqable network capture traffic to MCP clients for real-time monitoring and analysis of HTTP requests. It enables developers to query, search, and generate code from captured traffic stored locally within a private SQLite database.17238MIT
- AlicenseCqualityBmaintenanceTransforms mitmproxy into a toolset for AI agents to inspect, modify, and replay HTTP/HTTPS traffic in real-time.25112MIT
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/wilsonyiyi/whistle.agent-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server