vibekit-mcp 0.6.1 → 0.7.0
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 +32 -1
- package/package.json +2 -2
- package/tools.json +66 -0
package/dist/index.js
CHANGED
|
@@ -139,6 +139,37 @@ async function handleTool(name, args) {
|
|
|
139
139
|
case "vibekit_database_status":
|
|
140
140
|
result = await apiRequest("GET", `/hosting/app/${args.appId}/database`);
|
|
141
141
|
break;
|
|
142
|
+
case "vibekit_db_schema":
|
|
143
|
+
result = await apiRequest("GET", `/hosting/app/${args.appId}/database/schema`);
|
|
144
|
+
break;
|
|
145
|
+
case "vibekit_db_query":
|
|
146
|
+
result = await apiRequest("POST", `/hosting/app/${args.appId}/database/query`, {
|
|
147
|
+
sql: args.sql,
|
|
148
|
+
});
|
|
149
|
+
break;
|
|
150
|
+
case "vibekit_db_table": {
|
|
151
|
+
let path = `/hosting/app/${args.appId}/database/tables/${args.table}`;
|
|
152
|
+
const params = new URLSearchParams();
|
|
153
|
+
if (args.limit)
|
|
154
|
+
params.set("limit", String(args.limit));
|
|
155
|
+
if (args.offset)
|
|
156
|
+
params.set("offset", String(args.offset));
|
|
157
|
+
if (params.toString())
|
|
158
|
+
path += `?${params.toString()}`;
|
|
159
|
+
result = await apiRequest("GET", path);
|
|
160
|
+
break;
|
|
161
|
+
}
|
|
162
|
+
// Deploys
|
|
163
|
+
case "vibekit_list_deploys": {
|
|
164
|
+
let path = `/hosting/app/${args.appId}/deploys`;
|
|
165
|
+
if (args.limit)
|
|
166
|
+
path += `?limit=${args.limit}`;
|
|
167
|
+
result = await apiRequest("GET", path);
|
|
168
|
+
break;
|
|
169
|
+
}
|
|
170
|
+
case "vibekit_rollback_deploy":
|
|
171
|
+
result = await apiRequest("POST", `/hosting/app/${args.appId}/deploys/${args.deployId}/rollback`);
|
|
172
|
+
break;
|
|
142
173
|
// QA
|
|
143
174
|
case "vibekit_run_qa":
|
|
144
175
|
result = await apiRequest("POST", `/hosting/app/${args.appId}/qa`);
|
|
@@ -272,7 +303,7 @@ async function handleTool(name, args) {
|
|
|
272
303
|
// Main server setup
|
|
273
304
|
const server = new index_js_1.Server({
|
|
274
305
|
name: "vibekit-mcp",
|
|
275
|
-
version: "0.
|
|
306
|
+
version: "0.7.0",
|
|
276
307
|
}, {
|
|
277
308
|
capabilities: {
|
|
278
309
|
tools: {},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "vibekit-mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.7.0",
|
|
4
4
|
"mcpName": "io.github.609NFT/vibekit-mcp",
|
|
5
5
|
"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.",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -40,4 +40,4 @@
|
|
|
40
40
|
"@types/node": "^20.0.0",
|
|
41
41
|
"typescript": "^5.0.0"
|
|
42
42
|
}
|
|
43
|
-
}
|
|
43
|
+
}
|
package/tools.json
CHANGED
|
@@ -209,6 +209,72 @@
|
|
|
209
209
|
"required": ["appId"]
|
|
210
210
|
}
|
|
211
211
|
},
|
|
212
|
+
{
|
|
213
|
+
"category": "Database",
|
|
214
|
+
"name": "vibekit_db_schema",
|
|
215
|
+
"description": "Get the database schema for an app — all tables and their columns. Use this before writing a query.",
|
|
216
|
+
"inputSchema": {
|
|
217
|
+
"type": "object",
|
|
218
|
+
"properties": {
|
|
219
|
+
"appId": { "type": "string", "description": "The app ID" }
|
|
220
|
+
},
|
|
221
|
+
"required": ["appId"]
|
|
222
|
+
}
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
"category": "Database",
|
|
226
|
+
"name": "vibekit_db_query",
|
|
227
|
+
"description": "Run a SQL query against an app's Postgres database and return the result rows. Supports reads and writes. SQL string, max 5000 chars.",
|
|
228
|
+
"inputSchema": {
|
|
229
|
+
"type": "object",
|
|
230
|
+
"properties": {
|
|
231
|
+
"appId": { "type": "string", "description": "The app ID" },
|
|
232
|
+
"sql": { "type": "string", "description": "SQL to execute (max 5000 chars)" }
|
|
233
|
+
},
|
|
234
|
+
"required": ["appId", "sql"]
|
|
235
|
+
}
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
"category": "Database",
|
|
239
|
+
"name": "vibekit_db_table",
|
|
240
|
+
"description": "Browse rows in a specific database table, with pagination and optional sorting.",
|
|
241
|
+
"inputSchema": {
|
|
242
|
+
"type": "object",
|
|
243
|
+
"properties": {
|
|
244
|
+
"appId": { "type": "string", "description": "The app ID" },
|
|
245
|
+
"table": { "type": "string", "description": "Table name" },
|
|
246
|
+
"limit": { "type": "number", "description": "Max rows to return (default 50, max 200)" },
|
|
247
|
+
"offset": { "type": "number", "description": "Row offset for pagination (default 0)" }
|
|
248
|
+
},
|
|
249
|
+
"required": ["appId", "table"]
|
|
250
|
+
}
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
"category": "Hosting & Apps",
|
|
254
|
+
"name": "vibekit_list_deploys",
|
|
255
|
+
"description": "List recent deploys for an app, most recent first, with their status and commit info. Find a deploy ID here to roll back to.",
|
|
256
|
+
"inputSchema": {
|
|
257
|
+
"type": "object",
|
|
258
|
+
"properties": {
|
|
259
|
+
"appId": { "type": "string", "description": "The app ID" },
|
|
260
|
+
"limit": { "type": "number", "description": "Max deploys to return (default 20, max 50)" }
|
|
261
|
+
},
|
|
262
|
+
"required": ["appId"]
|
|
263
|
+
}
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
"category": "Hosting & Apps",
|
|
267
|
+
"name": "vibekit_rollback_deploy",
|
|
268
|
+
"description": "Roll an app back to a previous deploy. Get the deploy ID from vibekit_list_deploys. The container restarts on the rolled-back build.",
|
|
269
|
+
"inputSchema": {
|
|
270
|
+
"type": "object",
|
|
271
|
+
"properties": {
|
|
272
|
+
"appId": { "type": "string", "description": "The app ID" },
|
|
273
|
+
"deployId": { "type": "string", "description": "The deploy ID to roll back to (from vibekit_list_deploys)" }
|
|
274
|
+
},
|
|
275
|
+
"required": ["appId", "deployId"]
|
|
276
|
+
}
|
|
277
|
+
},
|
|
212
278
|
{
|
|
213
279
|
"category": "QA",
|
|
214
280
|
"name": "vibekit_run_qa",
|