🛡MobSF MCP Tool
This is an MCP (Model Context Protocol) compatible tool that allows MobSF (Mobile Security Framework) to scan APK and IPA files directly via Claude, 5ire, or any MCP-capable client.
Prerequisites
- MobSF should be installed( and running ) on the system.
- Download the MCP typescript sdk and rename the folder to sdk.
- npm should be installed on the system
🚀 Features
-
Supports APK and IPA file scanning
-
Uses MobSF's REST API to:
Upload files
Trigger scans
Fetch analysis summary
Automatically filters large results like strings or secrets (to prevent output overload)
MCP-compatible interface via server.ts
🎞️ Installation
Clone the repo and install dependencies:
git clone https://github.com/yourusername/mobsf-mcp.git cd mobsf-mcp npm install
Troubleshooting
Go inside mobsf server directory and run 'npx tsx server.ts'. Install any missing npm dependency if any.
🔐 Setup
Copy the .env.example to .env:
cp .env.example .env
Edit .env to include your MobSF API key:
MOBSF_API_KEY=YOUR_MOBSF_API_KEY
MOBSF_URL=http://localhost:8000
▶️ Run the Server
-
Add the configuration settings shown at the end for claude AI desktop app, it will automatically run the server.
-
Make sure your MobSF server is running locally at http://localhost:8000.
🧲 Example Input
- The server exposes tool scanFile . So, use any MCP client to try the following prompt scan
.apk or scan.ipa . It will scan the IPA or APK file and will analyze the report(json) for you.
📌 Notes
-
Only .apk and .ipa file types are supported.
-
This tool avoids fetching large fields like raw strings or source code dumps to keep responses fast and compliant with Claude/5ire message limits.
✅ Claude Config file (Example)
{ "mcpServers": { "mobsf": { "command": "npx", "args": ["tsx", "/absolute/path/to/server.ts"] } } }
✅ 5ire Config file example ( Windows)
{ "key": "mobsf", "command": "npx", "args": [ "tsx", "C:\Users\Downloads\mobsf-mcp-server\server.js" ] }
Recommend MCP Servers 💡
mcp-server-time
A Model Context Protocol server that provides time and timezone conversion capabilities, enabling LLMs to get current time information and perform timezone conversions using IANA timezone names.
postmancer
An experimental MCP server Rest Client intended to be a replacement of tools postman & insomnia
raymondlowe/roo-code-custom-mode-editor-mcp-server
An MCP server that knows how to edit the Roo Code custom modes file
@ivan-saorin/mcp-expr-lang
A powerful expression evaluation tool for Claude Desktop using the Model Context Protocol (MCP)
label-studio
This project provides a Model Context Protocol (MCP) server that allows interaction with a Label Studio instance using the label-studio-sdk. It enables programmatic management of labeling projects, tasks, and predictions via natural language or structured calls from MCP clients. Using this MCP Server, you can make requests like: * "Create a project in label studio with this data ..." * "How many tasks are labeled in my RAG review project?" * "Add predictions for my tasks." * "Update my labeling template to include a comment box."
bundler_mcp
A Model Context Protocol (MCP) server enabling AI agents to query information about gems in a Ruby project's Gemfile, including source code and metadata.