re-mitm2swagger
Provides tools to convert HTTP traffic captures (HAR or mitmproxy flow files) into OpenAPI 3.0 (Swagger) specifications, enabling reverse engineering of REST APIs from live traffic.
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., "@re-mitm2swaggerReverse engineer my app's API by capturing traffic and generating a Swagger spec"
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.
re-mitm2swagger
MCP server for REST API reverse engineering from HTTP traffic captures. Wraps mitmproxy for live capture and mitmproxy2swagger for spec derivation.
Tools
Tool | What it does |
| Confirm mitmdump is on PATH |
| Spawn mitmdump in the background |
| Stop a previously-started capture |
| Read a mitmproxy flow file |
| Convert HAR → OpenAPI 3.0 spec (with path templating) |
| mitmproxy2swagger on a flow file → OAS |
| Filter flows by method/host/path/status/content-type |
| Heuristically find tokens, JWTs, API keys |
Related MCP server: Swagger Testcase MCP
Install
pip install mitmproxy mitmproxy2swagger
pip install -e ./servers/re-mitm2swaggerWhy this matters
Most mobile apps and SPAs talk to a REST API. The fastest way to understand the API surface is to capture traffic, then derive the spec. mitmproxy handles the capture, mitmproxy2swagger handles the spec — this server glues them together with secrets detection and filtering.
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for AI access to Swagger by SmartBear.
MCP server for Riveter's enrichment, scraping, and monitoring API
Read-only MCP server over the APIs.io catalog — discover APIs, providers, tags & artifacts.
AI-native mock API server with MCP. Create REST/SOAP mocks from Claude, Cursor, or Windsurf.
Related MCP Servers
- AlicenseNot gradedqualityAmaintenanceMCP server providing token-efficient access to OpenAPI/Swagger specs via MCP Resources for client-side exploration.234 npm76MIT
- AlicenseAqualityFmaintenanceMCP server for API test case generation from Swagger/OpenAPI specs. Parses Swagger 2.0 and OpenAPI 3.x, generates test cases across 8 categories (positive, negative, boundary, auth, security, idempotency, pagination, business logic), and exports to Postman, TestRail, Allure, k6, pytest, Gherkin, and CSV. Supports internal corporate APIs with auth headers. Auto-saves export files to your working di1012 npm2MIT
- AlicenseNot gradedqualityCmaintenanceTurn any OpenAPI / Swagger spec into an agent-ready MCP server.25 npm1MIT
- AlicenseNot gradedqualityDmaintenanceMCP server for mitmproxy that lets any MCP client analyze, intercept, and replay HTTP/HTTPS traffic.9MIT