mitmproxy-mcp
Click on "Deploy 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., "@mitmproxy-mcpblock all requests to ads.example.com"
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.
mitmproxy-mcp
mitmproxy 기반 MCP 서버. Claude Code에서 HTTP 트래픽을 조회/수정/차단할 수 있다.
아키텍처
Claude Code ←(stdio/JSON-RPC)→ mitmdump -s addon.py (단일 프로세스)
├── MCP Server (FastMCP, stdio transport)
└── mitmproxy addon (flow 캡처/수정)Related MCP server: chrome-devtools-mcp-fork
설치
# uv 사용 (권장)
cd ~/rockheung/mitmproxy-mcp
uv sync사용법
직접 실행
uv run mitmdump -s src/mitmproxy_mcp/server.py --listen-port 8080 \
--set console_eventlog_verbosity=errorClaude Code MCP 설정
~/.claude.json 또는 프로젝트 .claude/settings.json에 추가:
{
"mcpServers": {
"mitmproxy": {
"command": "uv",
"args": [
"run",
"--directory", "/Users/heungjun/rockheung/mitmproxy-mcp",
"mitmdump",
"-s", "src/mitmproxy_mcp/server.py",
"--listen-port", "8080",
"--set", "console_eventlog_verbosity=error"
]
}
}
}브라우저 프록시 설정
프록시 주소: http://localhost:8080
SSL 인증서 설치: 프록시 실행 중 http://mitm.it 방문
MCP 도구 목록
도구 | 설명 |
| mitmproxy 버전 정보 |
| 프록시 상태 (포트, 레코딩 여부) |
| CA 인증서 상태 |
| 캡처된 HTTP flow 목록 |
| 특정 flow 상세 정보 |
| 고급 필터링 |
| flow를 cURL로 내보내기 |
| 캡처 데이터 삭제 |
| 기록 시작/중지 |
| URL → 로컬 파일 매핑 |
| URL → 다른 URL 리다이렉트 |
| flow 인터셉트 |
| URL 차단 |
| 활성 규칙 목록 |
This server cannot be deployed
Maintenance
Related MCP Connectors
Live SEO workflow tools for Claude Code, Codex, and AI agents.
Capture, inspect & debug HTTPS traffic across iOS, Android, browsers & backends — 304 MCP tools.
Manage hosts, redirects, SSL, and traffic analytics from Claude and other AI assistants.
AI Visibility and Content Intelligence tools for Claude and MCP-compatible agents.
Related MCP Servers
- AlicenseCqualityAmaintenanceTransforms mitmproxy into a toolset for AI agents to inspect, modify, and replay HTTP/HTTPS traffic in real-time.25147 PyPI122MIT
- AlicenseCqualityCmaintenanceEnables debugging of web applications by connecting Claude to Chrome's developer tools through MCP, allowing network monitoring, console inspection, and performance analysis via natural language.121MIT
- FlicenseBqualityDmaintenanceA lightweight MCP server built on mitmproxy that lets LLMs capture, inspect, replay, and modify HTTP traffic through a set of focused tools.137-
- FlicenseAqualityCmaintenanceEnables Claude Code to inspect network traffic, query the DOM, read console logs, and capture WebSocket frames in Firefox.17-