Hexforge Gateway
APK reverse engineering workspace that orchestrates jadx, apktool, adb and Frida through a workflow engine, on Termux (Android) or PC.
Install
The installation steps are in the documentation below. Documentation
Documentation
From the project's README on GitHub, refreshed weekly. Links open on GitHub.
HexForge Gateway
AI-assisted APK reverse-engineering workspace API. Dispatches tasks to MCP agents (jadx, apktool, adb, frida, filesystem, MT Manager's APK MCP, AI providers) and streams updates over WebSocket. Runs entirely on-device (Termux + MT Manager on Android) or on a normal PC - no cloud required.
Flow: Workspace -> Workflow -> Jobs -> Tasks -> MCP Agents, with modules
talking through an Event Bus. MIT licensed. Contributing: run
npm run typecheck && npm run build && ./scripts/smoke-test.sh before a
PR - see CONTRIBUTING.md.
Getting started
npm install
cp .env.example .env
npm run dev
The Gateway starts on http://localhost:8080 and prints a banner with your
workspaces and copy-pasteable commands. GET / returns the same as JSON -
the quickest way to see what's here.
Core endpoints (request/response shapes are in the linked docs):
GET /- live cheat sheet -GET /health- service + config statusPOST /workspaces/GET /workspaces[/:id]/PUT /workspaces/by-name/:name(idempotent get-or-create)POST /workspaces/:id/tasks- dispatch to an MCP agent, fire-and-forget; poll or watch/ws(AGENTS)POST /workspaces/:id/jobs//workflows//knowledge(ARCHITECTURE)GET /workspaces/:id/inbox- APKs dropped intoAPK_INBOX_DIR, if configured, and auto-claimed into this workspace (INBOX)POST|GET /workspaces/:id/chat(AI)GET /plugins(PLUGINS)GET /capabilities- what the Gateway can do and which agents provide it (AGENTS)GET /workspaces/:id/artifacts/GET /artifacts/:id- directories and files finished tasks produced, with the run that made them (ARCHITECTURE)POST/GET /workspaces/:id/findings(filter bystatusor a citedentityId),GET/PATCH /findings/:id,GET /findings/:id/verification- claims with evidence checked against real artifacts and graph entities, and re-checked against the cited files (ARCHITECTURE)POST/GET /workspaces/:id/graph/entities,GET /graph/entities/:id,POST/GET /workspaces/:id/graph/edges- typed entities and relationships observed about the target (ARCHITECTURE)WS /ws- real-timetask:update,job:update,workflow:update,knowledge:entry_created,workspace:status_changedfor every workspaceWS /ws/workspaces/:id- same events, filtered to one workspace
Stack
Node.js 22+ / TypeScript, Fastify (+ @fastify/websocket), Zod. Storage is
local files by default; Supabase is opt-in (STORAGE_BACKEND=supabase). Auth
is an opt-in API key check, off by default (AUTH_ENABLED=false). npm test
runs the Vitest unit suite (retry/failure-path logic, no live instance
needed); scripts/smoke-test.sh covers end-to-end happy paths against a
running Gateway - see tests/README.md for the split.
Documentation
| Doc | Covers |
|---|---|
docs/SETUP.md | Requirements, auth, storage backend, running on PC and Android/Termux |
docs/ARCHITECTURE.md | Event Bus, Job Engine, Workflow Engine, Knowledge Engine |
docs/AGENTS.md | Every MCP agent - operations and examples |
docs/AI.md | The AI provider layer (9 providers), the ai agent, Terminal chat |
docs/MCP_SERVER.md | Registering HexForge's agents as native tools in Claude Desktop/Code/Cursor |
docs/PLUGINS.md | The Plugin System - contract, loader, reference plugins |
docs/CLI.md | the hf CLI (scripts/hf.sh) and scripts/smoke-test.sh |
docs/MT_MANAGER.md | MT Manager's APK MCP setup, with screenshots and troubleshooting |
docs/PROJECT_STRUCTURE.md | Repo layout and how the pieces talk |
docs/ROADMAP.md | What's done and what's still open |
Frequently asked questions
What is Hexforge Gateway?
APK reverse engineering workspace that orchestrates jadx, apktool, adb and Frida through a workflow engine, on Termux (Android) or PC.
How do I install Hexforge Gateway?
Follow the installation steps in its documentation, shown on this page and in its repository.
Is Hexforge Gateway open source?
Yes. Its code is on GitHub under the MIT license.
Who maintains Hexforge Gateway?
It is published by boy-offi9-inc. AI.tn lists it but does not maintain or endorse it.
From the community awesome-mcp-servers lists and the project's GitHub repository. Listing is not an endorsement: review a server's code and permissions before giving it access to your data.