algorithmaide-mcp
An MCP server for real-device Android reversing workflows, wrapping AlgorithmAide config writes, AppSwitch/logList sync, LSPosed scope sync, Frida script injection, and runtime log queries into a stable MCP toolset.
README
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.
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 enabled- Device 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 install
Configure 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 test
Build 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
Recommended Servers
playwright-mcp
A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.
Magic Component Platform (MCP)
An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.
Audiense Insights MCP Server
Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.
VeyraX MCP
Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.
graphlit-mcp-server
The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.
Kagi MCP Server
An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.
E2B
Using MCP to run code via e2b.
Neon Database
MCP server for interacting with Neon Management API and databases
Exa Search
A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.
Qdrant Server
This repository is an example of how to create a MCP server for Qdrant, a vector search engine.