MCPcopy
hub / github.com/mitmproxy/mitmproxy

github.com/mitmproxy/mitmproxy @v12.2.3 sqlite

repository ↗ · DeepWiki ↗ · release v12.2.3 ↗
11,204 symbols 43,511 edges 802 files 1,057 documented · 9%
README

mitmproxy

Continuous Integration Status autofix.ci: enabled Coverage Status Latest Version Supported Python versions

mitmproxy is an interactive, SSL/TLS-capable intercepting proxy with a console interface for HTTP/1, HTTP/2, and WebSockets.

mitmdump is the command-line version of mitmproxy. Think tcpdump for HTTP.

mitmweb is a web-based interface for mitmproxy.

Installation

The installation instructions are here. If you want to install from source, see CONTRIBUTING.md.

Documentation & Help

General information, tutorials, and precompiled binaries can be found on the mitmproxy website.

mitmproxy.org

The documentation for mitmproxy is available on our website:

mitmproxy documentation stable mitmproxy documentation dev

If you have questions on how to use mitmproxy, please use GitHub Discussions!

mitmproxy discussions

Contributing

As an open source project, mitmproxy welcomes contributions of all forms.

Dev Guide

Extension points exported contracts — how you extend this code

_Flow (Interface)
(no doc)
web/src/js/flow.ts
HTTPFlow (Interface)
(no doc)
web/src/js/flow.ts
TCPFlow (Interface)
(no doc)
web/src/js/flow.ts
UDPFlow (Interface)
(no doc)
web/src/js/flow.ts
Error (Interface)
(no doc)
web/src/js/flow.ts

Core symbols most depended-on inside this repo

call
called by 978
mitmproxy/command.py
t
called by 544
docs/src/assets/asciinema-player.js
append
called by 543
mitmproxy/tools/web/static/vendor-BS4xPthR.js
expect
called by 541
mitmproxy/proxy/utils.py
addToken
called by 536
mitmproxy/contrib/wbxml/ASWBXMLCodePage.py
h
called by 527
mitmproxy/tools/web/static/vendor-BS4xPthR.js
push
called by 500
mitmproxy/tools/console/window.py
e
called by 459
docs/src/assets/asciinema-player.js

Shape

Function 4,903
Method 4,793
Class 1,417
Interface 55
Route 28
Enum 8

Languages

Python53%
TypeScript47%

Modules by API surface

mitmproxy/tools/web/static/vendor-BS4xPthR.js3,228 symbols
docs/src/assets/asciinema-player.js897 symbols
mitmproxy/tools/web/static/index-Be7e-cwP.js539 symbols
web/src/js/filt/filt.js129 symbols
test/mitmproxy/test_http.py121 symbols
test/mitmproxy/test_flowfilter.py109 symbols
mitmproxy/flowfilter.py94 symbols
mitmproxy/tools/web/app.py93 symbols
mitmproxy/http.py92 symbols
mitmproxy/addons/view.py89 symbols
mitmproxy/types.py79 symbols
mitmproxy/contrib/kaitaistruct/png.py73 symbols

Used by 1 indexed graphs manifest dependencies, hub-wide

Dependencies from manifests, versioned

@codemirror/lang-css6.3.1 · 1×
@codemirror/lang-html6.4.9 · 1×
@codemirror/lang-javascript6.2.3 · 1×
@codemirror/lang-yaml6.1.2 · 1×
@eslint/js9.26.0 · 1×
@floating-ui/react-dom2.1.2 · 1×
@popperjs/core2.11.8 · 1×
@reduxjs/toolkit2.8.1 · 1×
@testing-library/dom10.4.0 · 1×
@testing-library/jest-dom6.6.3 · 1×
@testing-library/react16.3.0 · 1×
@testing-library/user-event14.6.1 · 1×

For agents

$ claude mcp add mitmproxy \
  -- python -m otcore.mcp_server <graph>

⬇ download graph artifact