LuckyStar MCP Server
Provides tools for Android memory debugging via the LS_KTool debugger, including device connection management, process targeting, memory read/write and dump, memory scanning, pointer analysis, and module/breakpoint 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., "@LuckyStar MCP ServerAttach to package com.example.app and scan for value 12345"
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.
lucky-star-mcp
AI-agent plugins for the LuckyStar / LS_KTool Android memory-debugging stack (from lsnbm/Linux-android-arm64).
This repository packages the agent-facing components so any MCP-capable client (Claude Code, Claude Desktop, Cursor, etc.) can drive the Android debugger through the standard Model Context Protocol (MCP).
⚠️ Research/learning use only. The upstream driver provides kernel memory read/write, module scanning, hardware breakpoints, and input simulation. Use it only on devices and processes you own or are authorized to test.
What's inside
lucky-star-mcp/
├── python/
│ ├── LuckyStarMcp.py # FastMCP server → exposes the Android bridge as MCP tools
│ ├── http_bridge.py # NativeHttpBridge → talks to the Android HTTP server (port 9494)
│ └── examples/
│ └── mcp-config.example.json # sample MCP client registration
├── go-client/ # Go desktop client (Fyne UI) with a bundled MCP server (internal/mcp)
├── requirements.txt # Python deps (mcp, pydantic)
└── LICENSE # MITPython MCP server (python/)
LuckyStarMcp.py is a self-contained FastMCP server. It exposes the Android
debugger's full toolset as MCP tools:
Connection:
android_connection,discover_android_bridges,android_bridge_pingTarget:
android_target_set_pid,android_target_attach_package,android_target_find_pid,android_target_currentEnvironment:
android_env_get_paramsMemory:
android_memory_regions,android_memory_read,android_memory_write,android_memory_dumpScanning:
android_memory_scan_start,android_memory_scan_refine,android_memory_scan_results,android_memory_scan_status,android_memory_scan_clearPointers:
android_pointer_status,android_pointer_scan,android_pointer_merge,android_saved_*Modules/breakpoints:
android_module_address, breakpoint helpers
Go client (go-client/)
A desktop GUI client (Fyne) for the same bridge, with its own MCP server in
internal/mcp (uses mark3labs/mcp-go). Build with build.ps1 / go build.
Related MCP server: ghidraMCP
Prerequisites
Android device running
LS_KToolin HTTP-server mode (port9494), reachable over the LAN (or via a Cloudflare tunnel URL).Python 3.12+ for the Python MCP server.
The MCP server starts even when the device is offline — each tool call will then return a bridge-connection error instead.
One-shot install for local agents
./install.sh sets up a Python venv, registers the MCP server with your local
agents (Claude Code, Claude Desktop, Cursor), and starts it:
./install.sh # venv + deps + register agents + start server
./install.sh status # check server / adb forward state
./install.sh stop # stop the serverIt also runs adb forward tcp:9494 tcp:9494 so the server reaches the device
through the adb connection (--android-host 127.0.0.1).
Install & run (Python)
pip install -r requirements.txt
# Start the MCP server (default: http://127.0.0.1:14447/mcp)
python python/LuckyStarMcp.py
# Point it at a specific device on your LAN:
python python/LuckyStarMcp.py --android-host 192.168.1.50 --android-timeout 4
# Use a Cloudflare tunnel URL instead of a raw IP:
python python/LuckyStarMcp.py --android-host "https://your-tunnel.trycloudflare.com"Flag | Default | Description |
|
| Bind host for the local MCP web server |
|
| Bind port for the local MCP web server |
|
| HTTP endpoint path for streamable-http clients |
|
| Android IP/host, full HTTP(S) tunnel URL, or |
|
| Timeout (seconds) for Android bridge requests |
Environment variables: ANDROID_HTTP_HOST (default auto), ANDROID_HTTP_PORT
(9494), ANDROID_HTTP_TIMEOUT (4), ANDROID_MCP_BIND_HOST (127.0.0.1),
ANDROID_MCP_BIND_PORT (14447), ANDROID_MCP_PATH (/mcp).
Register with an MCP client
With the server running, register it in your client's MCP config. Example (Claude Code / Claude Desktop style):
{
"mcpServers": {
"luckystar": {
"type": "http",
"url": "http://127.0.0.1:14447/mcp",
"enabled": true
}
}
}Or, to have the client launch the server itself (stdio mode):
{
"mcpServers": {
"luckystar": {
"command": "python",
"args": ["/path/to/lucky-star-mcp/python/LuckyStarMcp.py"]
}
}
}License
MIT. The LuckyStarMcp.py, http_bridge.py, and go-client/ sources are
derived from lsnbm/Linux-android-arm64
(© 2025 LsLucky). See LICENSE.
This server cannot be installed
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
- AlicenseAqualityAmaintenanceAn 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.16623Apache 2.0
- Alicense-qualityDmaintenanceAn Model Context Protocol server that enables LLMs to autonomously reverse engineer applications by exposing Ghidra's decompilation and analysis tools. It allows AI agents to list code structures, rename methods, and analyze binaries directly through MCP-compatible clients.Apache 2.0
- AlicenseCqualityDmaintenanceAn 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.2313MIT
- Alicense-qualityBmaintenanceA Linux-native MCP server that gives AI assistants direct access to DMA-based memory operations for memory inspection, process analysis, reverse engineering, and game engine SDK extraction via natural language.13AGPL 3.0
Related MCP Connectors
MCP server for AI dialogue using various LLM models via AceDataCloud
Person-owned, portable AI memory as a remote MCP server, readable and writable by any MCP client.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
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/lilyco-42/lucky-star-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server