mobsf
This MCP server uses mobsf api's to scan and analyze the apk and ipa files.
claude mcp add --transport stdio pullkitsan-mobsf-mcp-server npx tsx /absolute/path/to/server.ts \ --env MOBSF_URL="http://localhost:8000" \ --env MOBSF_API_KEY="YOUR_MOBSF_API_KEY"
How to use
MobSF MCP Tool exposes a scanFile action that allows MCP clients to submit APK or IPA files for analysis via MobSF's REST API. This server acts as a bridge between an MCP client and MobSF, translating the MCP protocol into MobSF API calls: uploading the file, triggering the MobSF scan, and retrieving a structured report. The tool automatically filters large, verbose fields (such as raw strings or source dumps) to keep responses concise for Claude, 5ire, and other MCP-enabled clients. To use it, start the server and connect with an MCP client that supports the scanFile command. Then issue prompts like scan <your-app>.apk or scan <your-app>.ipa to receive a summarized analysis report.
Once running, you can leverage the MobSF REST API through the MCP layer without needing to manage MobSF interactions directly. The MCP interface handles file submission, scan initiation, and result aggregation, returning a structured JSON report suitable for quick review or integration into your security workflow.
How to install
Prerequisites:
- MobSF installed and running locally or accessible at your MobSF_URL
- Node.js and npm installed
- MCP typescript SDK downloaded and renamed to sdk (as per the repo guidance)
Installation steps:
-
Clone the MobSF MCP server repository (or set up the project as per your source): git clone https://github.com/yourusername/mobsf-mcp.git cd mobsf-mcp
-
Install dependencies: npm install
-
Configure environment variables: copy the example and edit as needed cp .env.example .env Edit MOBSF_API_KEY and MOBSF_URL to point to your MobSF instance
-
Start the server during development (example using tsx for TS server): npx tsx server.ts
-
Validate the server is running by sending a test request via your MCP client or curl to the configured endpoint. Ensure MobSF is reachable at the URL you configured.
Additional notes
Notes and tips:
- Ensure MobSF is accessible from the machine running the MCP server and that the API key is valid.
- The MCP server is designed to handle APK and IPA files only; other file types will be rejected.
- If you encounter missing dependencies, run npm install to refresh node_modules.
- When deploying, you can pin specific versions of dependencies to improve stability. Consider using a process manager (e.g., pm2) to keep the server running in production.
- If the MobSF reports large payloads, the MCP layer will trim those fields to keep responses within message size limits for Claude/5ire integrations.
Related MCP Servers
iterm
A Model Context Protocol server that executes commands in the current iTerm session - useful for REPL and CLI assistance
mcp
Octopus Deploy Official MCP Server
furi
CLI & API for MCP management
editor
MCP Server for Phaser Editor
DoorDash
MCP server from JordanDalton/DoorDash-MCP-Server
mcp
MCP сервер для автоматического создания и развертывания приложений в Timeweb Cloud