androjack-mcp 1.3.4 β 1.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +75 -18
- package/build/http-server.js +1 -1
- package/build/index.js +1 -1
- package/build/install.js +319 -101
- package/package.json +15 -3
- package/src/http-server.ts +1 -1
- package/src/index.ts +1 -1
- package/src/install.ts +377 -108
package/README.md
CHANGED
|
@@ -290,26 +290,62 @@ Each tool lists the **specific failure mode it prevents** β not just what it d
|
|
|
290
290
|
|
|
291
291
|
## π Quick Start β Zero Install Required
|
|
292
292
|
|
|
293
|
+
### Option 1 β Interactive CLI (v1.4.0) β¨ Recommended
|
|
294
|
+
|
|
293
295
|
```bash
|
|
294
|
-
# Option 1: Smart installer β detects your IDEs automatically
|
|
295
296
|
npx androjack-mcp install
|
|
297
|
+
```
|
|
298
|
+
|
|
299
|
+
Launches a full animated terminal wizard:
|
|
300
|
+
- π¨ Figlet ASCII-art banner with Android fixes tagline (`Gradle Β· ViewModel Β· Room Β· Compose Β· Hiltβ¦`)
|
|
301
|
+
- β³ Auto-scans your system for installed IDEs
|
|
302
|
+
- β¬οΈβ¬οΈ Arrow-key menu: Auto / Pick specific IDEs / Show config snippet
|
|
303
|
+
- βοΈ Checkbox multiselect for precise IDE targeting
|
|
304
|
+
- **Y/N confirm** before writing β and again if overwriting an existing config
|
|
305
|
+
- β
Per-IDE spinner with success/fail summary
|
|
296
306
|
|
|
297
|
-
|
|
307
|
+
> Works in all integrated terminals (VS Code, Cursor, Android Studio, IntelliJ, Windows Terminal).
|
|
308
|
+
> Falls back to `--auto` mode gracefully in CI or non-TTY environments.
|
|
309
|
+
|
|
310
|
+
### Option 2 β Targeted installs (non-interactive, safe in any environment)
|
|
311
|
+
|
|
312
|
+
```bash
|
|
313
|
+
# Auto-detect and install to all found IDEs
|
|
298
314
|
npx androjack-mcp install --auto
|
|
299
315
|
|
|
300
|
-
#
|
|
301
|
-
npx androjack-mcp install --ide
|
|
302
|
-
npx androjack-mcp install --ide
|
|
303
|
-
npx androjack-mcp install --ide
|
|
304
|
-
npx androjack-mcp install --ide
|
|
305
|
-
npx androjack-mcp install --ide
|
|
306
|
-
npx androjack-mcp install --ide
|
|
307
|
-
npx androjack-mcp install --ide
|
|
316
|
+
# Install to one specific IDE
|
|
317
|
+
npx androjack-mcp install --ide=cursor
|
|
318
|
+
npx androjack-mcp install --ide=claude
|
|
319
|
+
npx androjack-mcp install --ide=vscode
|
|
320
|
+
npx androjack-mcp install --ide=windsurf
|
|
321
|
+
npx androjack-mcp install --ide=jetbrains
|
|
322
|
+
npx androjack-mcp install --ide=antigravity
|
|
323
|
+
npx androjack-mcp install --ide=kiro
|
|
308
324
|
|
|
309
|
-
#
|
|
325
|
+
# Check what's installed where
|
|
310
326
|
npx androjack-mcp install --list
|
|
327
|
+
```
|
|
328
|
+
|
|
329
|
+
### Option 3 β From your IDE's NPM Scripts panel (one click)
|
|
330
|
+
|
|
331
|
+
If you have the repo cloned, open the npm scripts panel in VS Code, Cursor, or IntelliJ and click any of:
|
|
311
332
|
|
|
312
|
-
|
|
333
|
+
```
|
|
334
|
+
install-mcp β interactive (needs integrated terminal)
|
|
335
|
+
install-mcp:auto β auto-detect all IDEs
|
|
336
|
+
install-mcp:cursor β Cursor only
|
|
337
|
+
install-mcp:vscode β VS Code only
|
|
338
|
+
install-mcp:claude β Claude Desktop only
|
|
339
|
+
install-mcp:windsurf β Windsurf only
|
|
340
|
+
install-mcp:jetbrains β Android Studio / IntelliJ
|
|
341
|
+
install-mcp:antigravityβ Google Antigravity IDE
|
|
342
|
+
install-mcp:kiro β AWS Kiro
|
|
343
|
+
install-mcp:list β see detection status
|
|
344
|
+
```
|
|
345
|
+
|
|
346
|
+
### Option 4 β Test all tools (no IDE needed)
|
|
347
|
+
|
|
348
|
+
```bash
|
|
313
349
|
npx @modelcontextprotocol/inspector npx androjack-mcp
|
|
314
350
|
```
|
|
315
351
|
|
|
@@ -467,8 +503,8 @@ Android Studio added MCP support on January 15, 2026. The window between "first
|
|
|
467
503
|
| **Rate limiting** | 30 requests / domain / minute with exponential backoff on 429/5xx |
|
|
468
504
|
| **No credentials** | Zero API keys, zero auth tokens required |
|
|
469
505
|
| **No data stored** | Nothing persisted beyond process lifetime |
|
|
470
|
-
| **Transparent agent** | User-Agent: `AndroJack-MCP/1.
|
|
471
|
-
| **Read-only** | All
|
|
506
|
+
| **Transparent agent** | User-Agent: `AndroJack-MCP/1.4 (documentation-grounding bot; not-a-scraper)` |
|
|
507
|
+
| **Read-only** | All 20 tools are annotated `readOnlyHint: true` β no writes, no side effects |
|
|
472
508
|
| **Input bounds** | All inputs length-capped and sanitized before use |
|
|
473
509
|
| **Body size cap** | HTTP responses capped at 4 MB β no OOM risk on large documentation pages |
|
|
474
510
|
|
|
@@ -526,14 +562,35 @@ Android Studio added MCP support on January 15, 2026. The window between "first
|
|
|
526
562
|
git clone https://github.com/VIKAS9793/AndroJack-mcp.git
|
|
527
563
|
cd androjack-mcp
|
|
528
564
|
npm install
|
|
529
|
-
npm run build
|
|
530
|
-
npm run inspector
|
|
531
|
-
node build/index.js
|
|
532
|
-
|
|
565
|
+
npm run build # compiles TypeScript β build/
|
|
566
|
+
npm run inspector # opens MCP Inspector UI
|
|
567
|
+
node build/index.js # run MCP server directly
|
|
568
|
+
npm run install-mcp # interactive installer (needs real terminal)
|
|
569
|
+
npm run install-mcp:auto # non-interactive auto-install
|
|
570
|
+
npm run install-mcp:list # check IDE detection status
|
|
533
571
|
```
|
|
534
572
|
|
|
535
573
|
---
|
|
536
574
|
|
|
575
|
+
## π Changelog
|
|
576
|
+
|
|
577
|
+
### v1.4.0 β Interactive CLI Installer
|
|
578
|
+
|
|
579
|
+
- **New:** Animated `figlet` ASCII-art banner with cyanβpurple gradient and Android fixes tagline
|
|
580
|
+
(`Gradle Β· ViewModel Β· Room Β· Compose Β· Navigation Β· Hilt Β· WorkManager`)
|
|
581
|
+
- **New:** `@clack/prompts` arrow-key select + checkbox multiselect β no more typing numbers
|
|
582
|
+
- **New:** `ora` per-IDE spinner with β
/β result per IDE
|
|
583
|
+
- **New:** Y/N `confirm` dialogs before writing configs and when overwriting existing installs
|
|
584
|
+
- **New:** TTY guard β graceful `--auto` fallback in CI / non-TTY environments
|
|
585
|
+
- **New:** Per-IDE `npm run install-mcp:*` scripts visible in VS Code / IntelliJ npm panels
|
|
586
|
+
- **Fix:** `--ide` flag now uses `--ide=<name>` format consistently
|
|
587
|
+
|
|
588
|
+
### v1.3.4 and earlier
|
|
589
|
+
|
|
590
|
+
See [GitHub releases](https://github.com/VIKAS9793/AndroJack-mcp/releases) for prior history.
|
|
591
|
+
|
|
592
|
+
---
|
|
593
|
+
|
|
537
594
|
## π₯ Authorship & Ownership
|
|
538
595
|
|
|
539
596
|
**AndroJack-MCP** is a collaborative effort between human product vision and AI engineering excellence.
|
package/build/http-server.js
CHANGED
|
@@ -45,7 +45,7 @@ export async function startHttpServer(server) {
|
|
|
45
45
|
res.writeHead(200, { "Content-Type": "application/json" });
|
|
46
46
|
res.end(JSON.stringify({
|
|
47
47
|
name: "androjack-mcp",
|
|
48
|
-
version: "1.
|
|
48
|
+
version: "1.4.0",
|
|
49
49
|
description: "Documentation-grounded Android engineering MCP server. " +
|
|
50
50
|
"Forces AI tools to verify official docs before generating Android/Kotlin code.",
|
|
51
51
|
mcp_endpoint: `http://${host}:${port}${MCP_PATH}`,
|
package/build/index.js
CHANGED
|
@@ -38,7 +38,7 @@ import { androidWearOsGuide } from "./tools/wear.js";
|
|
|
38
38
|
// ββ Server Instantiation ββββββββββββββββββββββββββββββββββββββββββββββββββββ
|
|
39
39
|
const server = new McpServer({
|
|
40
40
|
name: "androjack-mcp",
|
|
41
|
-
version: "1.
|
|
41
|
+
version: "1.4.0",
|
|
42
42
|
});
|
|
43
43
|
// ββ Tool 1: Official Android Documentation Search ββββββββββββββββββββββββββ
|
|
44
44
|
server.registerTool("android_official_search", {
|