You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(installer): Overhaul with interactive React/Ink CLI
This commit completely revamps the installation process by replacing the basic Node.js script with a modern, interactive command-line interface built with React and Ink.
Key enhancements include:
- **Interactive UI**: A multi-step, visually appealing installer with spinners, colored output, and clear instructions.
- **Real-time API Key Validation**: The installer now communicates with the LeadMagic API to validate the user's API key and displays their remaining credits directly in the terminal.
- **Expanded Client Support**: Added a 'Manual Setup' option with clear instructions for generic MCP-compatible clients like Aider, Augment Code, and custom scripts.
- **Improved User Experience**:
- Clickable hyperlinks for easy access to the dashboard and documentation.
- Better error handling and contextual troubleshooting tips.
- Refined all UI text for clarity and a more professional feel.
- **Code Refactoring**: The installer codebase is now fully TypeScript with JSX (.tsx), cleaner, more modular, and easier to maintain.
The 'install-interactive' script in package.json has been updated to run the new src/install.tsx file.
The easiest way to get started - works on **macOS**, **Windows**, and **Linux**:
58
+
The easiest way to get started - works on **macOS**, **Windows**, and **Linux**. Our new interactive installer, built with React and Ink, makes setup a breeze.
59
59
60
60
```bash
61
61
# 🔥 Using npx (no installation required)
62
62
npx leadmagic-mcp-server install
63
-
64
-
# 📦 Or install globally first
65
-
npm install -g leadmagic-mcp-server
66
-
leadmagic-mcp-install
67
63
```
68
64
69
65
**✨ The installer will:**
70
-
- ✅ Help you get your LeadMagic API key
71
-
- ✅ Automatically configure your preferred AI tool
72
-
- ✅ Create all necessary config files
73
-
- ✅ Provide usage examples and documentation
66
+
- ✅ **Validate your API key** in real-time and show your remaining credits.
67
+
- ✅ Automatically detect and configure your preferred AI tool (Claude, Cursor, VS Code, etc.).
68
+
- ✅ Create all necessary config files and a local `.env` for development.
69
+
- ✅ Provide usage examples and helpful links.
74
70
75
71
### 📱 Option 2: Quick Manual Setup
76
72
77
-
For specific tools, use these one-liner configs:
73
+
If you prefer manual setup or are using a client like **Aider**, you can add the server configuration directly to your client's settings file. The interactive installer provides copy-pasteable snippets for this.
78
74
79
-
#### 🤖 Claude Desktop
75
+
Run the installer and choose the "Other (Manual Setup)" option:
0 commit comments