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.
- package/README.md +72 -30
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
# ๐
|
|
1
|
+
# ๐ otoinstall-mcp-server
|
|
2
2
|
|
|
3
3
|
**Deploy projects from any AI tool with a single command.**
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
[](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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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", "
|
|
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
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
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
|
-
###
|
|
256
|
+
### First-Time User (No Server Saved)
|
|
241
257
|
|
|
242
258
|
```
|
|
243
|
-
You: "
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
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
|
|
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