otoinstall-mcp-server 1.2.0 โ†’ 1.3.1

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.
Files changed (2) hide show
  1. package/README.md +72 -30
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -1,8 +1,10 @@
1
- # ๐Ÿš€ @otoinstall/mcp-server
1
+ # ๐Ÿš€ otoinstall-mcp-server
2
2
 
3
3
  **Deploy projects from any AI tool with a single command.**
4
4
 
5
- Works with **Claude Desktop**, **Cursor**, **Windsurf**, **Cline**, **Continue**, **Zed**, **Roo Code**, **Amazon Q**, and any MCP-compatible AI assistant.
5
+ [![npm](https://img.shields.io/npm/v/otoinstall-mcp-server?style=flat-square&logo=npm)](https://www.npmjs.com/package/otoinstall-mcp-server)
6
+
7
+ Works with **Claude Desktop**, **Cursor**, **Windsurf**, **Cline**, **Continue**, **Zed**, **Roo Code**, **Antigravity**, **Amazon Q**, and any MCP-compatible AI assistant.
6
8
 
7
9
  ---
8
10
 
@@ -30,10 +32,9 @@ Edit `claude_desktop_config.json`:
30
32
  "mcpServers": {
31
33
  "otoinstall": {
32
34
  "command": "npx",
33
- "args": ["-y", "@otoinstall/mcp-server"],
35
+ "args": ["-y", "otoinstall-mcp-server"],
34
36
  "env": {
35
- "OTOINSTALL_API_KEY": "oi_live_your_key_here",
36
- "OTOINSTALL_BASE_URL": "https://otoinstall.com"
37
+ "OTOINSTALL_API_KEY": "oi_live_your_key_here"
37
38
  }
38
39
  }
39
40
  }
@@ -51,7 +52,7 @@ Settings โ†’ **MCP Servers** โ†’ Add:
51
52
  "mcpServers": {
52
53
  "otoinstall": {
53
54
  "command": "npx",
54
- "args": ["-y", "@otoinstall/mcp-server"],
55
+ "args": ["-y", "otoinstall-mcp-server"],
55
56
  "env": {
56
57
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
57
58
  }
@@ -73,7 +74,7 @@ Settings โ†’ **MCP** โ†’ Add server:
73
74
  "mcpServers": {
74
75
  "otoinstall": {
75
76
  "command": "npx",
76
- "args": ["-y", "@otoinstall/mcp-server"],
77
+ "args": ["-y", "otoinstall-mcp-server"],
77
78
  "env": {
78
79
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
79
80
  }
@@ -93,7 +94,7 @@ Cline settings โ†’ **MCP Servers** โ†’ Add:
93
94
  "mcpServers": {
94
95
  "otoinstall": {
95
96
  "command": "npx",
96
- "args": ["-y", "@otoinstall/mcp-server"],
97
+ "args": ["-y", "otoinstall-mcp-server"],
97
98
  "env": {
98
99
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
99
100
  }
@@ -116,7 +117,7 @@ Edit `~/.continue/config.json`:
116
117
  "transport": {
117
118
  "type": "stdio",
118
119
  "command": "npx",
119
- "args": ["-y", "@otoinstall/mcp-server"],
120
+ "args": ["-y", "otoinstall-mcp-server"],
120
121
  "env": {
121
122
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
122
123
  }
@@ -139,7 +140,7 @@ Edit `~/.config/zed/settings.json`:
139
140
  "otoinstall": {
140
141
  "command": {
141
142
  "path": "npx",
142
- "args": ["-y", "@otoinstall/mcp-server"],
143
+ "args": ["-y", "otoinstall-mcp-server"],
143
144
  "env": {
144
145
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
145
146
  }
@@ -160,7 +161,7 @@ Edit `~/.config/zed/settings.json`:
160
161
  "mcpServers": {
161
162
  "otoinstall": {
162
163
  "command": "npx",
163
- "args": ["-y", "@otoinstall/mcp-server"],
164
+ "args": ["-y", "otoinstall-mcp-server"],
164
165
  "env": {
165
166
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
166
167
  }
@@ -180,7 +181,7 @@ Add to your MCP configuration:
180
181
  "mcpServers": {
181
182
  "otoinstall": {
182
183
  "command": "npx",
183
- "args": ["-y", "@otoinstall/mcp-server"],
184
+ "args": ["-y", "otoinstall-mcp-server"],
184
185
  "env": {
185
186
  "OTOINSTALL_API_KEY": "oi_live_your_key_here"
186
187
  }
@@ -198,7 +199,7 @@ The universal configuration pattern:
198
199
  ```json
199
200
  {
200
201
  "command": "npx",
201
- "args": ["-y", "@otoinstall/mcp-server"],
202
+ "args": ["-y", "otoinstall-mcp-server"],
202
203
  "env": {
203
204
  "OTOINSTALL_API_KEY": "oi_live_your_key_here",
204
205
  "OTOINSTALL_BASE_URL": "https://otoinstall.com"
@@ -208,42 +209,63 @@ The universal configuration pattern:
208
209
 
209
210
  ---
210
211
 
211
- ## ๐Ÿ› ๏ธ Available Tools
212
+ ## ๐Ÿ› ๏ธ Available Tools (9 total)
212
213
 
213
214
  | Tool | Description |
214
215
  |---|---|
216
+ | `analyze_project` | **Required first** โ€” Analyze project type, dependencies, and compatibility |
215
217
  | `deploy_project` | Zip & deploy a project directory to a live server |
216
218
  | `deploy_zip` | Deploy an existing ZIP file |
217
219
  | `check_deploy_status` | Check deployment progress and status |
218
220
  | `get_deploy_logs` | View detailed deployment logs |
219
221
  | `list_projects` | List all your deployments |
220
222
  | `list_servers` | List configured server credentials |
223
+ | `add_server` | Save new FTP/SFTP/SSH server credentials |
221
224
  | `whoami` | Check API key owner and permissions |
222
225
 
223
226
  ---
224
227
 
225
228
  ## ๐Ÿ’ฌ Usage Examples
226
229
 
227
- ### Deploy from Claude
230
+ ### Deploy from Claude / Cursor / Any AI
228
231
 
229
232
  ```
230
233
  You: "Deploy this project to my server"
231
- Claude: I'll deploy the project. First, let me check your servers.
232
- [calls list_servers]
233
- You have 1 server: [ID: 1] MyVPS โ€” sftp://user@myserver.com
234
- [calls deploy_project with directory and credential_id=1]
235
- โœ… Deployment started! Deploy ID: 01HYJ3R8KQFG...
236
- [calls check_deploy_status]
237
- ๐ŸŽ‰ Deployment completed! Your site is live at https://mysite.com
234
+ AI: I'll deploy the project. First, let me check your servers.
235
+ [calls whoami โ†’ verifies account]
236
+ [calls list_servers โ†’ finds saved servers]
237
+
238
+ You have 1 server: [ID: 1] MyVPS โ€” sftp://user@myserver.com
239
+
240
+ [calls analyze_project โ†’ analyzes code]
241
+ ๐Ÿ“‹ Project Analysis:
242
+ โš™๏ธ Technology: React (Vite)
243
+ ๐Ÿ—„๏ธ Database: None
244
+ ๐Ÿ”จ Build: Yes (Vite)
245
+ โœ… Shared hosting compatible: Yes
246
+
247
+ Ready to deploy? (yes/no)
248
+
249
+ You: "yes"
250
+ AI: [calls deploy_project with analysis_confirmed=true]
251
+ โœ… Deployment started! Deploy ID: 01HYJ3R8KQ...
252
+ [calls check_deploy_status]
253
+ ๐ŸŽ‰ Deployment completed! Your site is live at https://mysite.com
238
254
  ```
239
255
 
240
- ### Deploy from Cursor
256
+ ### First-Time User (No Server Saved)
241
257
 
242
258
  ```
243
- You: "Publish this to production"
244
- Cursor: [calls deploy_project]
245
- โœ… Your project has been deployed!
246
- ๐ŸŒ Live at: https://yourproject.com
259
+ You: "Deploy this to production"
260
+ AI: [calls list_servers โ†’ empty]
261
+ You don't have any servers saved. Let me help you set one up.
262
+ Do you have a domain and hosting? What are your FTP details?
263
+
264
+ You: "host: ftp.mysite.com, user: admin, pass: secret123"
265
+ AI: [calls add_server โ†’ saves credentials]
266
+ โœ… Server saved! Now deploying...
267
+ [calls deploy_project โ†’ starts pipeline]
268
+ ๐ŸŽ‰ Done! Site is live.
247
269
  ```
248
270
 
249
271
  ---
@@ -257,11 +279,31 @@ Cursor: [calls deploy_project]
257
279
 
258
280
  ---
259
281
 
282
+ ## ๐Ÿ“ฆ What Happens During Deployment
283
+
284
+ OtoInstall runs an 8-stage pipeline automatically:
285
+
286
+ ```
287
+ ๐Ÿ“ฆ Extract โ†’ ๐Ÿ” Security Scan โ†’ ๐Ÿ”Ž Detect โ†’ ๐Ÿงช Compat Check
288
+ โ†’ ๐Ÿ”ง Auto-Fix โ†’ ๐Ÿ—๏ธ Build โ†’ ๐Ÿš€ Deploy โ†’ โœ… Verify
289
+ ```
290
+
291
+ **Auto-Fix includes:**
292
+ - Creates `.env` from `.env.example` with real credentials
293
+ - Generates `.htaccess` for Apache URL rewriting
294
+ - Fixes file permissions (`chmod`)
295
+ - Creates `install.php` for database setup
296
+ - Adjusts absolute paths to relative
297
+ - PHP version compatibility fixes
298
+ - Node.js `npm install && npm run build`
299
+
300
+ ---
301
+
260
302
  ## ๐Ÿ“ฆ Local Development
261
303
 
262
304
  ```bash
263
- git clone https://github.com/otoinstall/mcp-server
264
- cd mcp-server
305
+ git clone https://github.com/ovkdigital/otoinstall.git
306
+ cd packages/mcp-server
265
307
  npm install
266
308
  npm run build
267
309
  ```
@@ -275,4 +317,4 @@ npx @modelcontextprotocol/inspector node dist/index.js
275
317
 
276
318
  ## License
277
319
 
278
- MIT ยฉ OtoInstall
320
+ MIT ยฉ [OtoInstall](https://otoinstall.com)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "otoinstall-mcp-server",
3
- "version": "1.2.0",
3
+ "version": "1.3.1",
4
4
  "description": "OtoInstall MCP Server โ€” Deploy projects from Claude, Cursor, Windsurf, Cline, Zed, and any MCP-compatible AI tool",
5
5
  "keywords": [
6
6
  "mcp",