vibekit-mcp 0.5.1 → 0.5.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/dist/index.js +18 -11
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -254,7 +254,7 @@ const tools = [
|
|
|
254
254
|
},
|
|
255
255
|
{
|
|
256
256
|
name: "vibekit_agent_config",
|
|
257
|
-
description: "Get the AI agent configuration for an app
|
|
257
|
+
description: "Get the AI agent configuration for an app. Returns the current model.",
|
|
258
258
|
inputSchema: {
|
|
259
259
|
type: "object",
|
|
260
260
|
properties: {
|
|
@@ -289,13 +289,18 @@ const tools = [
|
|
|
289
289
|
},
|
|
290
290
|
{
|
|
291
291
|
name: "vibekit_agent_reset",
|
|
292
|
-
description: "Reset an agent
|
|
292
|
+
description: "Reset an app's agent. Choose an action: 'clear-sessions' (wipe conversation history), 'clear-memory' (wipe memory files), 'restart-agent' (restart the gateway process), 'cleanup-disk' (free disk space).",
|
|
293
293
|
inputSchema: {
|
|
294
294
|
type: "object",
|
|
295
295
|
properties: {
|
|
296
296
|
appId: { type: "string", description: "App ID or subdomain slug" },
|
|
297
|
+
action: {
|
|
298
|
+
type: "string",
|
|
299
|
+
enum: ["clear-sessions", "clear-memory", "restart-agent", "cleanup-disk"],
|
|
300
|
+
description: "Reset action to perform",
|
|
301
|
+
},
|
|
297
302
|
},
|
|
298
|
-
required: ["appId"],
|
|
303
|
+
required: ["appId", "action"],
|
|
299
304
|
},
|
|
300
305
|
},
|
|
301
306
|
{
|
|
@@ -525,8 +530,8 @@ const tools = [
|
|
|
525
530
|
limit: { type: "number", description: "Max tasks to return (default: 10)" },
|
|
526
531
|
status: {
|
|
527
532
|
type: "string",
|
|
528
|
-
enum: ["pending", "running", "
|
|
529
|
-
description: "Filter by status",
|
|
533
|
+
enum: ["pending", "running", "complete", "failed"],
|
|
534
|
+
description: "Filter by status. Note: completed tasks have status 'complete' (not 'completed')",
|
|
530
535
|
},
|
|
531
536
|
},
|
|
532
537
|
},
|
|
@@ -654,7 +659,7 @@ async function handleTool(name, args) {
|
|
|
654
659
|
break;
|
|
655
660
|
// Env
|
|
656
661
|
case "vibekit_app_env":
|
|
657
|
-
result = await apiRequest("GET", `/hosting/app/${args.appId}/env`);
|
|
662
|
+
result = await apiRequest("GET", `/hosting/app/${args.appId}/env?reveal=true`);
|
|
658
663
|
break;
|
|
659
664
|
case "vibekit_set_env":
|
|
660
665
|
result = await apiRequest("PUT", `/hosting/app/${args.appId}/env`, {
|
|
@@ -695,7 +700,9 @@ async function handleTool(name, args) {
|
|
|
695
700
|
});
|
|
696
701
|
break;
|
|
697
702
|
case "vibekit_agent_reset":
|
|
698
|
-
result = await apiRequest("POST", `/hosting/app/${args.appId}/agent/reset
|
|
703
|
+
result = await apiRequest("POST", `/hosting/app/${args.appId}/agent/reset`, {
|
|
704
|
+
action: args.action,
|
|
705
|
+
});
|
|
699
706
|
break;
|
|
700
707
|
case "vibekit_agent_compact":
|
|
701
708
|
result = await apiRequest("POST", `/hosting/app/${args.appId}/agent/compact`);
|
|
@@ -758,8 +765,8 @@ async function handleTool(name, args) {
|
|
|
758
765
|
case "vibekit_create_app_schedule":
|
|
759
766
|
result = await apiRequest("POST", `/hosting/app/${args.appId}/schedules`, {
|
|
760
767
|
name: args.name,
|
|
761
|
-
|
|
762
|
-
|
|
768
|
+
cron_expression: args.cron, // API field is "cron_expression", not "cron"
|
|
769
|
+
prompt: args.task, // API field is "prompt", not "task"
|
|
763
770
|
});
|
|
764
771
|
break;
|
|
765
772
|
case "vibekit_delete_app_schedule":
|
|
@@ -768,7 +775,7 @@ async function handleTool(name, args) {
|
|
|
768
775
|
// Tasks
|
|
769
776
|
case "vibekit_submit_task":
|
|
770
777
|
result = await apiRequest("POST", "/task", {
|
|
771
|
-
|
|
778
|
+
prompt: args.task, // API field is "prompt", not "task"
|
|
772
779
|
repo: args.repo,
|
|
773
780
|
branch: args.branch,
|
|
774
781
|
deploy: args.deploy ?? true,
|
|
@@ -801,7 +808,7 @@ async function handleTool(name, args) {
|
|
|
801
808
|
}
|
|
802
809
|
const task = poll.data;
|
|
803
810
|
result = poll;
|
|
804
|
-
if (task.status === "completed" || task.status === "failed")
|
|
811
|
+
if (task.status === "complete" || task.status === "completed" || task.status === "failed")
|
|
805
812
|
break;
|
|
806
813
|
await new Promise((r) => setTimeout(r, 5000));
|
|
807
814
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibekit-mcp",
|
|
3
|
-
"version": "0.5.
|
|
3
|
+
"version": "0.5.3",
|
|
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": {
|