mobperf MCP
Provides tools to start Android emulators, install and launch apps, configure the device proxy and CA certificate, mark journey steps, detect SSL pinning, and clear proxy settings for recording Android app performance journeys.
Provides tools to boot iOS simulators, install and launch apps, configure the simulator proxy and CA certificate, mark journey steps, detect SSL pinning, and clear proxy settings for recording iOS app performance journeys.
This server does not currently have a deployable release on Glama. Follow the repository's setup instructions to install and configure it for your MCP client, including any required credentials and local dependencies.
π±π MobPerf Studio
Mobile or web recording β ready-to-run JMeter script. Two sections, one engine:
π± Mobile app: record an Android Emulator or iOS Simulator journey (driven by an MCP server, so Claude or any MCP client can do the recording).
π Web / API app: upload a HAR from browser DevTools, Postman, Fiddler or any proxy, or record with the bundled Playwright recorder.
Both give you a .jmx that is correlated, parameterised, correctly named, checks status and response body, and is verified to open in the JMeter GUI.
Android Emulator / iOS Simulator
β proxy + CA certificate installed by the MCP server
βΌ
mitmproxy + MobPerf capture addon βββ mobperf MCP (mark_step "Login", "Search"...)
β + Mobile MCP taps through the app
βΌ
recording_userA.har + recording_userB.har
β
βΌ engine (same code in the MCP server, CLI and Streamlit app)
noise filter β correlation β parameterisation β naming β JMX builder
β JMX checkpoint (10 checks + real JMeter load) β 1 user Γ 2 iteration replay
βΌ
MOB_<App>.jmx + MOB_<App>_data.csv + HTML report + HOW_TO_RUN.txtWhat you get in every script
Correlation | Every value the server sends back and the app reuses: JSON Extractor (JSON fields) or boundary Regex Extractor (HTML, XML, text, |
Generated values | UUIDs (lower/upper case), epoch ms/s timestamps, ISO dates, random nonces β recreated every iteration with JMeter functions. |
Parameterisation | Login, password, search terms, amounts, payee... β |
Assertions | Recorded status code on every request, plus body checks: the request fails when the response contains |
Workload | Think time per step (recorded, or one fixed value) with random Β± % variation (default 20%) so users do not hit the server in lock-step; excluded from transaction times. Pacing: minimum time per iteration, the user waits only for what is left. Test data: shared (rows reused) or unique (each CSV row once, the user stops when rows run out). All baked in as defaults and overridable with |
Naming | Transactions |
Clean script | 70+ SDK/telemetry domains removed (Firebase, Crashlytics, AppsFlyer, Branch, Sentry, Datadog RUM...), static assets removed, cookie manager, all hosts / users / ramp-up / loops overridable with |
JMX checkpoint | 10 structural checks that catch "Problem loading XML" before JMeter does + a real JMeter load (0 users) when JMeter is installed. |
Honest flags | On-device HMAC signatures, device attestation, real OTPs, gRPC/protobuf, recorded errors β reported as blockers, never faked. |
Why record twice?
Record the same journey with two different test users. Every value that differs between the runs is proven dynamic, so nothing is guessed. The report shows a dynamic values resolved score (for example 16/16 = 100%). With one recording the engine still works, using heuristics.
Related MCP server: ARTEMIS MCP Server
Tested on (tests/)
Test | App style | Result |
| MobiBank: REST + OAuth (302 | 10 requests, 9 correlations, 5 params, 5 generated, 100% dynamic resolved. Replayed 3 iterations including a user who was never recorded: 30/30 pass, 0 backend rejections. A raw, uncorrelated replay is rejected. |
| ShopKart: iOS-style GraphQL, JWT, numeric customer id, cart id + weak ETag / If-Match, checkout token in XML, uppercase idempotency UUID, ISO request time, on-device | 4 steps found from timing and named from GraphQL operations, |
| ShopWeb (web): recorded in real headless Chromium via the Playwright recorder. One-time CSRF token in an HTML hidden field, cookie session after a 302, API token in an HTML | 2 correlations from HTML, 100% dynamic resolved, replay passes incl. unrecorded user. Negative controls: HTTP 200 + |
| 17 real-world HAR quirks: HTTP/2 pseudo-headers ( | No crash, every JMX passes the checkpoint. |
| Think time, pacing and data mode measured on real requests: | All pass. |
| 13 deliberately broken JMX files (control characters, missing hashTree, wrong guiclass, bad booleans, missing method, broken regex/JSONPath, undefined variables, unknown functions, unbalanced | All 13 caught with the exact line/element. |
Run them: pip install -r requirements-local.txt, python -m playwright install chromium, then each python tests/test_*.py. GitHub Actions runs all six on every push.
What is not covered: these are realistic mock apps plus synthetic HAR quirks, not every app in existence. Not tested here: a real Android/iOS emulator, a real JMeter run (JMeter was not installable in the build sandbox; the JMX is checked against JMeter's own element and property names, and cli check loads it in your JMeter), and third-party production sites.
Ways to use it
1. Streamlit app (no install)
Pick π± Mobile app or π Web / API app in the sidebar. Upload one or two HAR / mitmproxy .flow files, review correlations and assertions, edit the fail if response contains list, rename steps, edit the CSV, check any .jmx, and download the bundle. Each section has a bundled sample (MobiBank, ShopWeb).
2. Claude + MCP (fully automated recording)
pip install -r requirements-local.txt
claude mcp add mobperf -- python -m mcp_server.server # run from the repo folder
claude mcp add mobile-mcp -- npx -y @mobilenext/mobile-mcp@latestCopy skills/mobile-perf-testing/ into your skills folder (Claude Code: ~/.claude/skills/), then ask:
Record com.mobibank on my Pixel_7 AVD: Launch, Login, View Statement, Fund Transfer. Record it with alice and bob, generate the JMeter script and run both checkpoints.
MCP tools: environment_check, list_devices, start_android_emulator, boot_ios_simulator, start_recording, configure_device_proxy, install_ca_cert, install_app, launch_app, mark_step, recording_status, detect_pinning, stop_recording, clear_device_proxy, generate_script, check_jmx, validate_script.
3. Web app recorder (Playwright, on your machine)
pip install -r requirements-local.txt && python -m playwright install chromium
python -m engine.web_recorder scenario_alice.json shop_alice.har # add --headful to watch
python -m engine.web_recorder scenario_bob.json shop_bob.harA scenario is a JSON list of actions: {"step": "Login"}, {"goto": url}, {"fill": [selector, value]}, {"click": selector}, {"press": "Enter"}, {"wait_ms": 500}. Each step becomes a transaction. An example is on the Record web app page.
4. Command line
python -m mcp_server.cli generate userA.har userB.har --app MyApp --out out --validate
python -m mcp_server.cli generate shop_alice.har shop_bob.har --app Shop --type web --fail-pattern "token expired" --fail-pattern "SessionTimeout"
python -m mcp_server.cli generate userA.har --app MyApp --no-body-checks
python -m mcp_server.cli generate userA.har userB.har --app MyApp --think-dev-pct 30 --pacing-ms 60000 --data-mode unique
python -m mcp_server.cli check out/MOB_MyApp.jmx
python -m mcp_server.cli validate out/MOB_MyApp.jmx --csv out/MOB_MyApp_data.csvFree emulator setup (Android + iOS, CA certificate, pinning): docs/EMULATOR_SETUP.md. Publish to GitHub and Streamlit Cloud: docs/DEPLOY_GITHUB_STREAMLIT.md.
Project layout
engine/ model, rules, correlate, naming, jmx_builder, jmx_lint (checkpoint), validator, report, pipeline,
web_recorder (Playwright)
mcp_server/ server.py (MCP), capture_addon.py (mitmproxy), cli.py
skills/ mobile-perf-testing/SKILL.md (Claude skill)
rules/ sdk_noise.yaml, naming.yaml, correlation_rules.yaml, assertions.yaml - edit to tune
samples/ recordings + generated script from the MobiBank, ShopKart and ShopWeb test apps
tests/ strict mock apps + end-to-end tests
streamlit_app.py the web UILimits (by design, flagged in the report)
Values computed on the device from secrets (HMAC request signing, Play Integrity / App Attest) cannot come from traffic. Use a test-environment bypass, or add the signing logic as a JSR223 PreProcessor.
SSL-pinned apps need a debug/perf build that trusts the proxy CA.
gRPC / protobuf needs a JMeter gRPC plugin.
Real OTPs need a fixed test OTP or an OTP-reader API; CAPTCHA needs a test bypass.
WebSockets / server-sent events are not converted (JMeter needs a WebSocket plugin).
Body checks are plain text and case-sensitive. Keep the list short and specific to your app's error format.
Only record and load-test environments you are authorised to test, and never commit recordings that contain real user data.
License
MIT
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelogβ¦
Related MCP Connectors
Mobile sandboxes for AI agents: each agent gets its own cloud Android phone or iOS simulator over MCP, reads the screen, taps, types and installs your app. Android $0.01/min, iOS $0.03/min, parked phones free.
MCP server for Appcircle mobile CI/CD platform.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
Create App Store screenshots, icons, ASO copy, localization, and revisions via hosted MCP.
Related MCP Servers
- AlicenseBqualityBmaintenanceEnables mobile device automation on Android and iOS via MCP, including native UI operations, WebView CDP debugging, and reusable JSON flow replay.352Apache 2.0
- AlicenseNot gradedqualityBmaintenanceEnables AI assistants and test suites to drive real Android devices or emulators through MCP, executing natural-language automation and testing workflows while collecting screenshots, Logcat output, and device state.Apache 2.0
- AlicenseBqualityCmaintenanceEnables harnesses to record supplied GUI actions, inspect trajectory statistics, and export privacy-filtered datasets through MCP tools without executing device actions.3MIT
- AlicenseNot gradedqualityBmaintenanceEnables MCP clients to control an Android phone by reading the screen, taking screenshots, tapping, typing, swiping, opening apps, and running multi-step tasks. It also supports on-device Android app testing and optional adb commands.488 npm2MIT