mcp-inflight 0.2.2 → 0.2.3
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 +43 -8
- package/dist/index.js +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -25,26 +25,61 @@ Then restart Claude Code.
|
|
|
25
25
|
|
|
26
26
|
## Usage
|
|
27
27
|
|
|
28
|
-
|
|
28
|
+
Ask Claude to share your project:
|
|
29
29
|
|
|
30
30
|
```
|
|
31
|
-
User:
|
|
31
|
+
User: Share this project on InFlight
|
|
32
32
|
|
|
33
|
-
Claude:
|
|
33
|
+
Claude: I'll share your project to InFlight...
|
|
34
34
|
Your prototype is live at: https://www.inflight.co/v/xyz789
|
|
35
35
|
```
|
|
36
36
|
|
|
37
|
-
##
|
|
37
|
+
## Tools
|
|
38
38
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
39
|
+
The MCP server provides these tools:
|
|
40
|
+
|
|
41
|
+
| Tool | Description |
|
|
42
|
+
|------|-------------|
|
|
43
|
+
| `share` | Share a local project as a live prototype |
|
|
44
|
+
| `prototype_list` | List your deployed prototypes |
|
|
45
|
+
| `prototype_sync` | Sync changes to an existing prototype |
|
|
46
|
+
| `prototype_delete` | Delete a prototype |
|
|
47
|
+
| `login` | Login to InFlight (opens browser) |
|
|
48
|
+
| `logout` | Logout from InFlight |
|
|
43
49
|
|
|
44
50
|
## Supported Projects
|
|
45
51
|
|
|
46
52
|
Next.js, Vite, Create React App, Node.js, and static HTML.
|
|
47
53
|
|
|
54
|
+
## Slash Commands (Optional)
|
|
55
|
+
|
|
56
|
+
For a better experience, install the included slash commands. These provide `/share` and `/inflight` commands in Claude Code.
|
|
57
|
+
|
|
58
|
+
### Installation
|
|
59
|
+
|
|
60
|
+
Copy the command files to your Claude Code commands directory:
|
|
61
|
+
|
|
62
|
+
```bash
|
|
63
|
+
# Create the commands directory if it doesn't exist
|
|
64
|
+
mkdir -p ~/.claude/commands
|
|
65
|
+
|
|
66
|
+
# Copy the commands (run from the mcp-inflight package directory, or adjust the path)
|
|
67
|
+
cp node_modules/mcp-inflight/commands/*.md ~/.claude/commands/
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
Or if you cloned the repo:
|
|
71
|
+
|
|
72
|
+
```bash
|
|
73
|
+
cp packages/mcp-inflight/commands/*.md ~/.claude/commands/
|
|
74
|
+
```
|
|
75
|
+
|
|
76
|
+
### Available Commands
|
|
77
|
+
|
|
78
|
+
| Command | Description |
|
|
79
|
+
|---------|-------------|
|
|
80
|
+
| `/share` | Share a project to InFlight (shortcut for the share tool) |
|
|
81
|
+
| `/inflight` | Menu for managing prototypes: list, sync, delete, login, logout |
|
|
82
|
+
|
|
48
83
|
## License
|
|
49
84
|
|
|
50
85
|
MIT
|
package/dist/index.js
CHANGED
package/package.json
CHANGED