vibekit-mcp 0.5.0 → 0.5.2
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/dist/index.js +28 -13
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -264,16 +264,27 @@ const tools = [
|
|
|
264
264
|
},
|
|
265
265
|
},
|
|
266
266
|
{
|
|
267
|
-
name: "
|
|
268
|
-
description: "
|
|
267
|
+
name: "vibekit_agent_set_model",
|
|
268
|
+
description: "Change the AI model used by an app's agent.",
|
|
269
269
|
inputSchema: {
|
|
270
270
|
type: "object",
|
|
271
271
|
properties: {
|
|
272
272
|
appId: { type: "string", description: "App ID or subdomain slug" },
|
|
273
|
-
model: { type: "string", description: "Model to use
|
|
274
|
-
systemPrompt: { type: "string", description: "Custom system prompt for the agent" },
|
|
273
|
+
model: { type: "string", description: "Model to use. Options: 'claude-opus-4-6', 'claude-sonnet-4-20250514', 'claude-haiku-3.5'" },
|
|
275
274
|
},
|
|
276
|
-
required: ["appId"],
|
|
275
|
+
required: ["appId", "model"],
|
|
276
|
+
},
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
name: "vibekit_exec",
|
|
280
|
+
description: "Run a shell command inside an app's container. The app must be running. Useful for inspecting state, running migrations, or debugging.",
|
|
281
|
+
inputSchema: {
|
|
282
|
+
type: "object",
|
|
283
|
+
properties: {
|
|
284
|
+
appId: { type: "string", description: "App ID or subdomain slug" },
|
|
285
|
+
command: { type: "string", description: "Shell command to run, e.g. 'ls -la' or 'node -e \"console.log(process.env)\"'" },
|
|
286
|
+
},
|
|
287
|
+
required: ["appId", "command"],
|
|
277
288
|
},
|
|
278
289
|
},
|
|
279
290
|
{
|
|
@@ -514,8 +525,8 @@ const tools = [
|
|
|
514
525
|
limit: { type: "number", description: "Max tasks to return (default: 10)" },
|
|
515
526
|
status: {
|
|
516
527
|
type: "string",
|
|
517
|
-
enum: ["pending", "running", "
|
|
518
|
-
description: "Filter by status",
|
|
528
|
+
enum: ["pending", "running", "complete", "failed"],
|
|
529
|
+
description: "Filter by status. Note: completed tasks have status 'complete' (not 'completed')",
|
|
519
530
|
},
|
|
520
531
|
},
|
|
521
532
|
},
|
|
@@ -673,10 +684,14 @@ async function handleTool(name, args) {
|
|
|
673
684
|
case "vibekit_agent_config":
|
|
674
685
|
result = await apiRequest("GET", `/hosting/app/${args.appId}/agent/config`);
|
|
675
686
|
break;
|
|
676
|
-
case "
|
|
687
|
+
case "vibekit_agent_set_model":
|
|
677
688
|
result = await apiRequest("POST", `/hosting/app/${args.appId}/agent/config`, {
|
|
678
689
|
model: args.model,
|
|
679
|
-
|
|
690
|
+
});
|
|
691
|
+
break;
|
|
692
|
+
case "vibekit_exec":
|
|
693
|
+
result = await apiRequest("POST", `/hosting/app/${args.appId}/exec`, {
|
|
694
|
+
command: args.command,
|
|
680
695
|
});
|
|
681
696
|
break;
|
|
682
697
|
case "vibekit_agent_reset":
|
|
@@ -743,8 +758,8 @@ async function handleTool(name, args) {
|
|
|
743
758
|
case "vibekit_create_app_schedule":
|
|
744
759
|
result = await apiRequest("POST", `/hosting/app/${args.appId}/schedules`, {
|
|
745
760
|
name: args.name,
|
|
746
|
-
|
|
747
|
-
|
|
761
|
+
cron_expression: args.cron, // API field is "cron_expression", not "cron"
|
|
762
|
+
prompt: args.task, // API field is "prompt", not "task"
|
|
748
763
|
});
|
|
749
764
|
break;
|
|
750
765
|
case "vibekit_delete_app_schedule":
|
|
@@ -753,7 +768,7 @@ async function handleTool(name, args) {
|
|
|
753
768
|
// Tasks
|
|
754
769
|
case "vibekit_submit_task":
|
|
755
770
|
result = await apiRequest("POST", "/task", {
|
|
756
|
-
|
|
771
|
+
prompt: args.task, // API field is "prompt", not "task"
|
|
757
772
|
repo: args.repo,
|
|
758
773
|
branch: args.branch,
|
|
759
774
|
deploy: args.deploy ?? true,
|
|
@@ -786,7 +801,7 @@ async function handleTool(name, args) {
|
|
|
786
801
|
}
|
|
787
802
|
const task = poll.data;
|
|
788
803
|
result = poll;
|
|
789
|
-
if (task.status === "completed" || task.status === "failed")
|
|
804
|
+
if (task.status === "complete" || task.status === "completed" || task.status === "failed")
|
|
790
805
|
break;
|
|
791
806
|
await new Promise((r) => setTimeout(r, 5000));
|
|
792
807
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibekit-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.2",
|
|
4
4
|
"description": "MCP server for VibeKit — deploy apps, manage hosting, chat with AI agents, and run coding tasks from Claude Desktop, Cursor, and other MCP clients.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"bin": {
|