Make-A-Clone-of-X

mcp
Guvenlik Denetimi
Uyari
Health Uyari
  • License รขโ‚ฌโ€ License: MIT
  • Description รขโ‚ฌโ€ Repository has a description
  • Active repo รขโ‚ฌโ€ Last push 0 days ago
  • Low visibility รขโ‚ฌโ€ Only 9 GitHub stars
Code Uyari
  • process.env รขโ‚ฌโ€ Environment variable access in scripts/macx.mjs
  • process.env รขโ‚ฌโ€ Environment variable access in src/cli.ts
Permissions Gecti
  • Permissions รขโ‚ฌโ€ No dangerous permissions requested

Bu listing icin henuz AI raporu yok.

SUMMARY

Replicate any Software (Opensource) ๐ŸŒŸ Star if you like it! ๐ŸŒŸ

README.md
MACX: Make A Clone of X โ€” one MCP server & CLI for AI-assisted reverse engineering

MACX: Make A Clone of X

One MCP server and CLI for AI-assisted reverse engineering across binaries, applications, and runtime behavior.

See a feature you like. Understand how it works, down to the binary level.

AwesomeDiscord npm version
MIT license GitHub followers

npx macx-agents setup

[!IMPORTANT]
This is MACX โ€” a simplified, minimal-feature edition focused on core
reverse-engineering workflows via CLI and MCP.


MACX ๐Ÿ›ก๏ธ (npm package: macx-agents) is a local-first reverse-engineering toolkit for AI agents. It packages a Model Context Protocol (MCP) server and a command-line interface (CLI) into one tool that lets your agent decompile and analyze software you are authorized to examine โ€” without needing the original source code.

See a feature in an app that you want in your own product? Ask your agent to investigate it with MACX. It can inspect the app without its source code, explain how the feature works, show the evidence, and build a version for your project.

MACX connects your agent to tools for inspecting native binaries, JavaScript and Electron apps, .NET assemblies, and websites. You can also use the same tools from your terminal. Analysis runs locally, and results include the evidence and limitations behind each conclusion.

Setup registers MACX with your agent and installs matching workflow instructions. Native analysis can use an existing Hopper, Ghidra, or IDA installation; setup can optionally install Hopper with approval. Static JavaScript analysis needs no native analysis engine.

Table of contents

๐Ÿš€ Quick start

๐Ÿค– Set up your agent

With Node.js and npm installed, run:

npx macx-agents setup

Choose your agents, review the proposed changes, and approve them. Setup adds
MACX's MCP server and matching workflow instructions, with backups of existing
configuration. Restart your agent afterward.

Setup supports ๐Ÿค– Claude Code, Codex, Cursor, Gemini CLI, Grok Build and other agents.

๐Ÿ’ฌ Ask your agent

Understand how search works in the Notes app, show me the evidence, and build a
similar feature for my project.

Replace Notes with your target app and the feature you want to understand.

๐Ÿ–ฅ๏ธ Use the terminal

Inspect an extracted JavaScript/Electron app directory or ASAR:

npx -y macx-agents@latest analyze-javascript-application /absolute/path/to/app --json

The result includes modules, imports, Electron boundaries and their evidence.

To install the macx command for regular use:

npm install --global macx-agents
macx --help

๐Ÿ”„ Update MACX

For a CLI installed with npm install --global:

macx update

For agent setup through npx:

npx macx-agents@latest setup

Review the setup changes and restart your agent.

๐Ÿ” How MACX works

Your agent calls MACX through MCP to inspect the target and trace relevant code.
MACX returns findings with their evidence. The agent uses them to ask follow-up
questions, explain the behavior, or write and test an implementation.
CLI commands use the same workflows.

๐ŸŽฏ What you can analyze

MACX requires Node.js 22.x (>=22.23.4), 24.x (>=24.22.1), or 26.12.1+, plus npm.

Target What MACX returns
Native binaries Pseudocode, assembly, strings, symbols, calls and references
JavaScript / Electron Modules, imports, source maps, routes, IPC and native add-on relationships
Websites Page structure, scripts, network observations and requested screenshots
.NET assemblies Metadata, CIL instructions, declared native dependencies and build comparisons
Desktop installations Runtime candidates, supporting files, component markers and next probes
Go binaries Embedded compiler version, modules, replacements and build settings
Rust binaries Embedded cargo-auditable crate names, versions, sources and dependency edges
SQLite databases Tables, columns, indexes, views, triggers and selected ordinary-table rows

Static JavaScript and .NET inspection read the supplied files without running
the application.

For native-binary inspection, MACX supports Hopper, Ghidra, and IDA providers.

โ“ FAQ

Which agents can use MACX?

Any agent that supports local MCP servers.

Do I need Hopper, Ghidra or IDA?

Deep native analysis uses one of them. Static JavaScript and .NET inspection
work without a native analysis engine.

What code does MACX return?

Native analysis returns pseudocode and assembly. JavaScript/Electron analysis
recovers modules and their relationships. Your agent uses these findings to
write and test an implementation.

Does MACX upload my app?

MACX analyzes targets locally. Your agent receives the tool results, and its
model provider has its own data policy.

๐Ÿ“š Documentation

  • ๐Ÿ› ๏ธ Installation and setup: agent registration, provider configuration, updates and uninstall.
  • ๐Ÿงพ CLI and Evidence: commands, provider selection, snapshots and exit statuses.

Report vulnerabilities through SECURITY.md.

โš–๏ธ Disclaimer

See DISCLAIMER.md for responsible-use guidance.

MACX is for lawful research, education, interoperability, software preservation,
and analysis of software you own or are authorized to examine.

๐Ÿค Contributing

We'd love your help with MACX! ๐Ÿ’œ Open an issue to
report a bug or suggest a feature, or send a pull request
to improve the code or docs.

See CONTRIBUTING.md for development setup and checks.

๐Ÿ“„ License

MIT

MACX-authored code is licensed under MIT. Third-party material retains its own
licenses and copyright notices.

You must legally obtain and be authorized to use commercial tools, including
IDA Pro / Hex-Rays decompilers, Hopper, and JEB, under their applicable
licenses. MACX grants no tool license, key, or activation entitlement.

โญ Star History

Star History Chart

Yorumlar (0)

Sonuc bulunamadi