algorithmaide-mcp
Enables real-device Android reversing workflows, including AlgorithmAide config management, LSPosed scope sync, Frida script injection, and runtime log queries on Android devices.
Integrates with Magisk root to execute privileged commands on Android devices, required for device control and LSPosed_mod CLI operations.
Click on "Install 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., "@algorithmaide-mcpapply AlgorithmAide config to com.mb.hawkeye"
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.
algorithmaide-mcp
Special thanks to Junge (军哥) for open-sourcing AlgorithmAide.
algorithmaide-mcp is an MCP server for real-device Android reversing workflows. It wraps AlgorithmAide config writes, AppSwitch/logList sync, LSPosed scope sync, Frida script injection, and runtime log queries into a stable MCP toolset.
Upstream And Downloads
This MCP targets AlgorithmAide Pro (
com.junge.algorithmAidePro).AlgorithmAide Pro APK: 关注公众号 算法助手Plus 下载 APK。
LSPosed_mod.zip: please prepare a CLI-enabled LSPosed_mod package for this workflow.
Magisk APK: please install official Magisk before running this MCP.
Related MCP server: mobile-debug-mcp
Verified Scope
This project is currently verified only on:
Android
10(API 29)Root with
Magisk(su 0 sh -c ...works)LSPosed_mod1.9.3_mod(7296)with CLI enabledDevice sample: Pixel 4
Important compatibility notes:
Non-mod LSPosed is currently not supported because CLI is unavailable.
Other Android versions and environments may work, but you must validate them yourself.
LSPosed_mod CLI scope updates are already built into this MCP (
sync_lsposed_scopeand high-level workflow tools).
Before real use, run:
npm run device:preflight -- --target-package <your.package>
npm run device:smoke:suite -- --target-package <your.package>Quick Start
Clone and install dependencies:
git clone https://github.com/vwww-droid/algorithmaide-mcp.git algorithmaide-mcp
cd algorithmaide-mcp
npm installConfigure mcp profile:
{
"mcpServers": {
"algorithmaide": {
"command": "node",
"args": [
"/absolute/path/to/algorithmaide-mcp/bin/algorithmaide-mcp.js"
]
}
}
}Common Commands
npm run device:preflight -- --target-package com.mb.hawkeye
npm run device:smoke -- --target-package com.mb.hawkeye
npm run device:smoke:suite -- --target-package com.mb.hawkeye
npm run release:selfcheck
npm testBuild Notes (LSPosed_mod)
If you need reproducible LSPosed_mod builds for this workflow, use the pinned-version one-click script from your companion project:
/Users/admin/Projects/Reverses/LSPosed_mod/build-last.sh
This script sets Java from .java-version, builds required libxposed artifacts, then runs zipAll, and should produce a usable LSPosed_mod package.
Tool Overview
Frequently used tools:
read_target_stateapply_algorithm_aide_configadd_custom_hooksinject_frida_scriptquery_agent_logsquery_frida_logs
Full tool contracts: docs/tool-contracts.md
Documentation
Getting started: docs/getting-started.md
Compatibility matrix: docs/compatibility.md
Troubleshooting: docs/troubleshooting.md
Examples: examples/README.md
Architecture: docs/architecture.md
Contributing
Issues and PRs are welcome.
When opening an issue, include:
Device and system info (Android version, root solution, LSPosed version)
Target package
Commands you ran
JSON output from
device:preflightanddevice:smoke:suite
License
MIT
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseAqualityBmaintenanceAn MCP server that integrates with Apktool to provide live reverse engineering support for Android applications using Claude and other LLMs through the Model Context Protocol.16631Apache 2.0
- AlicenseAqualityBmaintenanceA minimal, secure MCP server for AI-assisted mobile development, enabling build, install, interact, and inspect Android/iOS apps.33907Apache 2.0
- AlicenseNot gradedqualityDmaintenanceAn MCP server that wraps Android ADB functionality into AI assistant tools, enabling device management, shell execution, file operations, app management, media capture, and log analysis via natural language.281MIT
- FlicenseNot gradedqualityAmaintenanceMCP server that provides AI coding agents real Android development tools—Gradle, adb, logcat, lint, crash triage—through a local, permissioned interface. Enables agents to inspect projects, run safe Gradle tasks, capture logs/screenshots, and triage crashes.2
Related MCP Connectors
Personal assistant MCP server with search, execute, packages, jobs, secrets, and integrations.
Remote MCP for Android CLI agent build gate, structured receipts, audit logs, and reviewer-ready evi
MCP server for static security analysis of Android source code
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/vwww-droid/algorithmaide-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server