@vibescope/mcp-server 0.3.13 → 0.3.14
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/api-client/fallback.d.ts +33 -0
- package/dist/api-client/fallback.js +21 -0
- package/dist/api-client/findings.d.ts +34 -62
- package/dist/api-client/findings.js +20 -39
- package/dist/api-client/index.d.ts +47 -54
- package/dist/api-client/index.js +26 -10
- package/dist/api-client/milestones.d.ts +36 -37
- package/dist/api-client/milestones.js +17 -30
- package/dist/api-client/validation.d.ts +35 -0
- package/dist/api-client/validation.js +23 -0
- package/dist/handlers/cloud-agents.js +4 -12
- package/dist/handlers/discovery.js +1 -0
- package/dist/handlers/findings.js +1 -1
- package/dist/handlers/ideas.js +1 -1
- package/dist/handlers/session.js +1 -0
- package/dist/handlers/tool-docs.js +344 -0
- package/docs/TOOLS.md +1 -1
- package/package.json +1 -1
- package/src/api-client/fallback.ts +52 -0
- package/src/api-client/findings.ts +56 -110
- package/src/api-client/index.ts +34 -14
- package/src/api-client/milestones.ts +47 -67
- package/src/api-client/validation.ts +60 -0
- package/src/handlers/cloud-agents.test.ts +438 -0
- package/src/handlers/cloud-agents.ts +7 -17
- package/src/handlers/discovery.ts +1 -0
- package/src/handlers/findings.ts +1 -1
- package/src/handlers/ideas.ts +1 -1
- package/src/handlers/session.ts +1 -0
- package/src/handlers/tool-docs.test.ts +511 -0
- package/src/handlers/tool-docs.ts +382 -0
|
@@ -1106,4 +1106,386 @@ Query aggregated project knowledge in a single call. Reduces token usage by comb
|
|
|
1106
1106
|
**Token savings:** Replaces multiple tool calls (get_findings, get_decisions, get_blockers, etc.) with one call.
|
|
1107
1107
|
|
|
1108
1108
|
**Example:** query_knowledge_base(project_id, categories: ["findings", "decisions"], limit: 10)`,
|
|
1109
|
+
|
|
1110
|
+
// Session tools (additional)
|
|
1111
|
+
report_token_usage: `# report_token_usage
|
|
1112
|
+
Report actual token usage from Claude API responses.
|
|
1113
|
+
|
|
1114
|
+
**Parameters:**
|
|
1115
|
+
- session_id (optional): Session UUID (uses current session if not provided)
|
|
1116
|
+
- input_tokens (required): Number of input tokens
|
|
1117
|
+
- output_tokens (required): Number of output tokens
|
|
1118
|
+
- model (optional): Model used (e.g., "claude-3-opus")
|
|
1119
|
+
|
|
1120
|
+
**Returns:** Updated token usage summary`,
|
|
1121
|
+
|
|
1122
|
+
signal_idle: `# signal_idle
|
|
1123
|
+
Signal that the agent is idle and available for work.
|
|
1124
|
+
|
|
1125
|
+
**Parameters:**
|
|
1126
|
+
- session_id (optional): Session UUID (uses current session if not provided)
|
|
1127
|
+
|
|
1128
|
+
**Returns:** Idle status confirmation, may include suggested activities`,
|
|
1129
|
+
|
|
1130
|
+
confirm_agent_setup: `# confirm_agent_setup
|
|
1131
|
+
Confirm that agent setup is complete after following setup instructions.
|
|
1132
|
+
|
|
1133
|
+
**Parameters:**
|
|
1134
|
+
- project_id (required): Project UUID
|
|
1135
|
+
- agent_type (required): Type of agent (e.g., "claude", "gemini")
|
|
1136
|
+
|
|
1137
|
+
**Returns:** Setup confirmation status`,
|
|
1138
|
+
|
|
1139
|
+
// Project tools (additional)
|
|
1140
|
+
get_project_summary: `# get_project_summary
|
|
1141
|
+
Get unified project statistics overview in a single call.
|
|
1142
|
+
|
|
1143
|
+
**Parameters:**
|
|
1144
|
+
- project_id (required): Project UUID
|
|
1145
|
+
|
|
1146
|
+
**Returns:** Task counts, blocker counts, finding counts, decision counts, and more`,
|
|
1147
|
+
|
|
1148
|
+
// Blocker tools (additional)
|
|
1149
|
+
get_blocker: `# get_blocker
|
|
1150
|
+
Get a single blocker by ID.
|
|
1151
|
+
|
|
1152
|
+
**Parameters:**
|
|
1153
|
+
- blocker_id (required): Blocker UUID
|
|
1154
|
+
|
|
1155
|
+
**Returns:** Blocker details including description, status, resolution`,
|
|
1156
|
+
|
|
1157
|
+
get_blockers_stats: `# get_blockers_stats
|
|
1158
|
+
Get aggregate blocker statistics.
|
|
1159
|
+
|
|
1160
|
+
**Parameters:**
|
|
1161
|
+
- project_id (required): Project UUID
|
|
1162
|
+
|
|
1163
|
+
**Returns:** Open/resolved counts, breakdown by age`,
|
|
1164
|
+
|
|
1165
|
+
// Decision tools (additional)
|
|
1166
|
+
get_decision: `# get_decision
|
|
1167
|
+
Get a single decision by ID.
|
|
1168
|
+
|
|
1169
|
+
**Parameters:**
|
|
1170
|
+
- decision_id (required): Decision UUID
|
|
1171
|
+
|
|
1172
|
+
**Returns:** Decision details including title, description, rationale`,
|
|
1173
|
+
|
|
1174
|
+
get_decisions_stats: `# get_decisions_stats
|
|
1175
|
+
Get aggregate decision statistics.
|
|
1176
|
+
|
|
1177
|
+
**Parameters:**
|
|
1178
|
+
- project_id (required): Project UUID
|
|
1179
|
+
|
|
1180
|
+
**Returns:** Total count, recent decisions count`,
|
|
1181
|
+
|
|
1182
|
+
// Idea tools (additional)
|
|
1183
|
+
get_idea: `# get_idea
|
|
1184
|
+
Get a single idea by ID.
|
|
1185
|
+
|
|
1186
|
+
**Parameters:**
|
|
1187
|
+
- idea_id (required): Idea UUID
|
|
1188
|
+
|
|
1189
|
+
**Returns:** Idea details including title, description, status`,
|
|
1190
|
+
|
|
1191
|
+
// Finding tools (additional)
|
|
1192
|
+
get_finding: `# get_finding
|
|
1193
|
+
Get a single finding by ID.
|
|
1194
|
+
|
|
1195
|
+
**Parameters:**
|
|
1196
|
+
- finding_id (required): Finding UUID
|
|
1197
|
+
|
|
1198
|
+
**Returns:** Finding details including title, category, severity, status`,
|
|
1199
|
+
|
|
1200
|
+
get_findings_stats: `# get_findings_stats
|
|
1201
|
+
Get aggregate finding statistics.
|
|
1202
|
+
|
|
1203
|
+
**Parameters:**
|
|
1204
|
+
- project_id (required): Project UUID
|
|
1205
|
+
|
|
1206
|
+
**Returns:** Counts by category, severity, and status`,
|
|
1207
|
+
|
|
1208
|
+
// Deployment tools (additional)
|
|
1209
|
+
get_deployment_requirements_stats: `# get_deployment_requirements_stats
|
|
1210
|
+
Get aggregate deployment requirement statistics.
|
|
1211
|
+
|
|
1212
|
+
**Parameters:**
|
|
1213
|
+
- project_id (required): Project UUID
|
|
1214
|
+
|
|
1215
|
+
**Returns:** Counts by stage and status`,
|
|
1216
|
+
|
|
1217
|
+
// Worktree tools
|
|
1218
|
+
get_stale_worktrees: `# get_stale_worktrees
|
|
1219
|
+
Find orphaned worktrees that need cleanup.
|
|
1220
|
+
|
|
1221
|
+
**Parameters:**
|
|
1222
|
+
- project_id (required): Project UUID
|
|
1223
|
+
- hostname (optional): Filter to worktrees created on this machine
|
|
1224
|
+
|
|
1225
|
+
**Returns:** List of stale worktrees with task info and cleanup commands`,
|
|
1226
|
+
|
|
1227
|
+
clear_worktree_path: `# clear_worktree_path
|
|
1228
|
+
Clear worktree path from a task after cleanup.
|
|
1229
|
+
|
|
1230
|
+
**Parameters:**
|
|
1231
|
+
- task_id (required): Task UUID
|
|
1232
|
+
|
|
1233
|
+
**Note:** Call this AFTER running git worktree remove`,
|
|
1234
|
+
|
|
1235
|
+
// Role tools
|
|
1236
|
+
get_role_settings: `# get_role_settings
|
|
1237
|
+
Get project role settings and configuration.
|
|
1238
|
+
|
|
1239
|
+
**Parameters:**
|
|
1240
|
+
- project_id (required): Project UUID
|
|
1241
|
+
|
|
1242
|
+
**Returns:** Role configuration including allowed roles, default role`,
|
|
1243
|
+
|
|
1244
|
+
update_role_settings: `# update_role_settings
|
|
1245
|
+
Configure project role behavior.
|
|
1246
|
+
|
|
1247
|
+
**Parameters:**
|
|
1248
|
+
- project_id (required): Project UUID
|
|
1249
|
+
- default_role (optional): Default role for new sessions
|
|
1250
|
+
- allowed_roles (optional): Array of allowed role names
|
|
1251
|
+
|
|
1252
|
+
**Returns:** Updated role settings`,
|
|
1253
|
+
|
|
1254
|
+
set_session_role: `# set_session_role
|
|
1255
|
+
Set the role for the current session.
|
|
1256
|
+
|
|
1257
|
+
**Parameters:**
|
|
1258
|
+
- session_id (optional): Session UUID (uses current session)
|
|
1259
|
+
- role (required): Role name (e.g., "developer", "validator", "deployer")
|
|
1260
|
+
|
|
1261
|
+
**Returns:** Updated session with new role`,
|
|
1262
|
+
|
|
1263
|
+
get_agents_by_role: `# get_agents_by_role
|
|
1264
|
+
List active agents grouped by role.
|
|
1265
|
+
|
|
1266
|
+
**Parameters:**
|
|
1267
|
+
- project_id (required): Project UUID
|
|
1268
|
+
|
|
1269
|
+
**Returns:** Agents organized by role`,
|
|
1270
|
+
|
|
1271
|
+
// File checkout/lock tools
|
|
1272
|
+
checkout_file: `# checkout_file
|
|
1273
|
+
Lock a file for editing to prevent conflicts with other agents.
|
|
1274
|
+
|
|
1275
|
+
**Parameters:**
|
|
1276
|
+
- project_id (required): Project UUID
|
|
1277
|
+
- file_path (required): Path to the file to lock
|
|
1278
|
+
- reason (optional): Why you need to edit this file
|
|
1279
|
+
|
|
1280
|
+
**Returns:** Checkout confirmation with expiry time`,
|
|
1281
|
+
|
|
1282
|
+
checkin_file: `# checkin_file
|
|
1283
|
+
Release a file lock after editing.
|
|
1284
|
+
|
|
1285
|
+
**Parameters:**
|
|
1286
|
+
- project_id (required): Project UUID
|
|
1287
|
+
- file_path (required): Path to the file to release
|
|
1288
|
+
|
|
1289
|
+
**Returns:** Checkin confirmation`,
|
|
1290
|
+
|
|
1291
|
+
get_file_checkouts: `# get_file_checkouts
|
|
1292
|
+
List current file locks.
|
|
1293
|
+
|
|
1294
|
+
**Parameters:**
|
|
1295
|
+
- project_id (required): Project UUID
|
|
1296
|
+
- file_path (optional): Filter to specific file
|
|
1297
|
+
|
|
1298
|
+
**Returns:** List of active file checkouts`,
|
|
1299
|
+
|
|
1300
|
+
get_file_checkouts_stats: `# get_file_checkouts_stats
|
|
1301
|
+
Get file checkout statistics.
|
|
1302
|
+
|
|
1303
|
+
**Parameters:**
|
|
1304
|
+
- project_id (required): Project UUID
|
|
1305
|
+
|
|
1306
|
+
**Returns:** Active checkout count, breakdown by agent`,
|
|
1307
|
+
|
|
1308
|
+
abandon_checkout: `# abandon_checkout
|
|
1309
|
+
Force-release a file lock (use with caution).
|
|
1310
|
+
|
|
1311
|
+
**Parameters:**
|
|
1312
|
+
- project_id (required): Project UUID
|
|
1313
|
+
- file_path (required): Path to the file to release
|
|
1314
|
+
|
|
1315
|
+
**Note:** Only use when the original agent is unreachable`,
|
|
1316
|
+
|
|
1317
|
+
is_file_available: `# is_file_available
|
|
1318
|
+
Check if a file is available for checkout.
|
|
1319
|
+
|
|
1320
|
+
**Parameters:**
|
|
1321
|
+
- project_id (required): Project UUID
|
|
1322
|
+
- file_path (required): Path to check
|
|
1323
|
+
|
|
1324
|
+
**Returns:** Availability status, current holder if locked`,
|
|
1325
|
+
|
|
1326
|
+
// Connector tools
|
|
1327
|
+
get_connectors: `# get_connectors
|
|
1328
|
+
List project connectors (integrations).
|
|
1329
|
+
|
|
1330
|
+
**Parameters:**
|
|
1331
|
+
- project_id (required): Project UUID
|
|
1332
|
+
|
|
1333
|
+
**Returns:** Array of configured connectors`,
|
|
1334
|
+
|
|
1335
|
+
get_connector: `# get_connector
|
|
1336
|
+
Get connector details.
|
|
1337
|
+
|
|
1338
|
+
**Parameters:**
|
|
1339
|
+
- connector_id (required): Connector UUID
|
|
1340
|
+
|
|
1341
|
+
**Returns:** Connector configuration and status`,
|
|
1342
|
+
|
|
1343
|
+
add_connector: `# add_connector
|
|
1344
|
+
Create a new external integration connector.
|
|
1345
|
+
|
|
1346
|
+
**Parameters:**
|
|
1347
|
+
- project_id (required): Project UUID
|
|
1348
|
+
- type (required): Connector type (webhook, slack, discord, etc.)
|
|
1349
|
+
- name (required): Display name
|
|
1350
|
+
- config (required): Type-specific configuration
|
|
1351
|
+
|
|
1352
|
+
**Returns:** Created connector details`,
|
|
1353
|
+
|
|
1354
|
+
update_connector: `# update_connector
|
|
1355
|
+
Update connector configuration.
|
|
1356
|
+
|
|
1357
|
+
**Parameters:**
|
|
1358
|
+
- connector_id (required): Connector UUID
|
|
1359
|
+
- name (optional): New display name
|
|
1360
|
+
- config (optional): Updated configuration
|
|
1361
|
+
- enabled (optional): Enable/disable connector
|
|
1362
|
+
|
|
1363
|
+
**Returns:** Updated connector details`,
|
|
1364
|
+
|
|
1365
|
+
delete_connector: `# delete_connector
|
|
1366
|
+
Remove a connector.
|
|
1367
|
+
|
|
1368
|
+
**Parameters:**
|
|
1369
|
+
- connector_id (required): Connector UUID
|
|
1370
|
+
|
|
1371
|
+
**Returns:** Deletion confirmation`,
|
|
1372
|
+
|
|
1373
|
+
test_connector: `# test_connector
|
|
1374
|
+
Send a test event to verify connector configuration.
|
|
1375
|
+
|
|
1376
|
+
**Parameters:**
|
|
1377
|
+
- connector_id (required): Connector UUID
|
|
1378
|
+
|
|
1379
|
+
**Returns:** Test result with success/failure details`,
|
|
1380
|
+
|
|
1381
|
+
get_connector_events: `# get_connector_events
|
|
1382
|
+
Get event history for a connector.
|
|
1383
|
+
|
|
1384
|
+
**Parameters:**
|
|
1385
|
+
- connector_id (required): Connector UUID
|
|
1386
|
+
- limit (optional): Max events to return (default: 50)
|
|
1387
|
+
|
|
1388
|
+
**Returns:** Array of sent events with status`,
|
|
1389
|
+
|
|
1390
|
+
// Cloud agent tools
|
|
1391
|
+
update_agent_status: `# update_agent_status
|
|
1392
|
+
Update your status message on the dashboard. Call this after start_work_session and whenever you start a new task.
|
|
1393
|
+
|
|
1394
|
+
**Parameters:**
|
|
1395
|
+
- status_message (required): Status text shown on dashboard (e.g. "Working on: Task title")
|
|
1396
|
+
- agent_name (required): Your agent name
|
|
1397
|
+
- project_id (required): Project UUID
|
|
1398
|
+
|
|
1399
|
+
**Example:** update_agent_status(status_message: "Working on: Progress Report Modal", agent_name: "Leon", project_id: "...")`,
|
|
1400
|
+
|
|
1401
|
+
cleanup_stale_cloud_agents: `# cleanup_stale_cloud_agents
|
|
1402
|
+
Clean up stale cloud agents that failed to start or lost connection.
|
|
1403
|
+
|
|
1404
|
+
**Parameters:**
|
|
1405
|
+
- project_id (required): Project UUID
|
|
1406
|
+
- stale_minutes (optional): Minutes of inactivity before considered stale (default: 5)
|
|
1407
|
+
- include_running (optional): Include running agents in cleanup (default: false)
|
|
1408
|
+
- dry_run (optional): Preview what would be cleaned without actually cleaning (default: false)
|
|
1409
|
+
|
|
1410
|
+
**Returns:**
|
|
1411
|
+
- cleaned: Number of agents cleaned up
|
|
1412
|
+
- failed: Number of cleanup failures
|
|
1413
|
+
- agents: Array of affected agents with status
|
|
1414
|
+
|
|
1415
|
+
**Example:** cleanup_stale_cloud_agents(project_id, stale_minutes: 10, dry_run: true)`,
|
|
1416
|
+
|
|
1417
|
+
list_cloud_agents: `# list_cloud_agents
|
|
1418
|
+
List cloud agents for a project with optional status filter.
|
|
1419
|
+
|
|
1420
|
+
**Parameters:**
|
|
1421
|
+
- project_id (required): Project UUID
|
|
1422
|
+
- status (optional): Filter by status - starting, running, stopped, failed, or all (default: all)
|
|
1423
|
+
|
|
1424
|
+
**Returns:**
|
|
1425
|
+
- agents: Array of agents with id, name, status, created_at, last_heartbeat, public_ip, ecs_task_id
|
|
1426
|
+
- count: Total number of agents returned
|
|
1427
|
+
|
|
1428
|
+
**Example:** list_cloud_agents(project_id, status: "running")`,
|
|
1429
|
+
|
|
1430
|
+
// Chat tools
|
|
1431
|
+
send_project_message: `# send_project_message
|
|
1432
|
+
Send a message to the project chat channel for agent and user communication.
|
|
1433
|
+
|
|
1434
|
+
**Parameters:**
|
|
1435
|
+
- project_id (required): Project UUID
|
|
1436
|
+
- message (required): Message content to send
|
|
1437
|
+
- author_name (optional): Name of the message sender (defaults to session persona)
|
|
1438
|
+
|
|
1439
|
+
**Returns:**
|
|
1440
|
+
- message_id: UUID of the sent message
|
|
1441
|
+
- timestamp: When the message was sent
|
|
1442
|
+
|
|
1443
|
+
**Example:** send_project_message(project_id: "123e4567-e89b-12d3-a456-426614174000", message: "Deployment completed successfully")`,
|
|
1444
|
+
|
|
1445
|
+
get_project_messages: `# get_project_messages
|
|
1446
|
+
Read recent project chat messages to stay informed about project communication.
|
|
1447
|
+
|
|
1448
|
+
**Parameters:**
|
|
1449
|
+
- project_id (required): Project UUID
|
|
1450
|
+
- limit (optional): Number of recent messages to retrieve (default: 20, max: 100)
|
|
1451
|
+
- since (optional): ISO timestamp to get messages after this time
|
|
1452
|
+
|
|
1453
|
+
**Returns:**
|
|
1454
|
+
- messages: Array of messages with id, author_name, message, timestamp
|
|
1455
|
+
- count: Number of messages returned
|
|
1456
|
+
|
|
1457
|
+
**Example:** get_project_messages(project_id: "123e4567-e89b-12d3-a456-426614174000", limit: 10)`,
|
|
1458
|
+
|
|
1459
|
+
// Version management tools
|
|
1460
|
+
check_mcp_version: `# check_mcp_version
|
|
1461
|
+
Check for available MCP server updates and version information.
|
|
1462
|
+
|
|
1463
|
+
**Parameters:**
|
|
1464
|
+
- check_remote (optional): Whether to check remote registry for updates (default: true)
|
|
1465
|
+
|
|
1466
|
+
**Returns:**
|
|
1467
|
+
- current_version: Currently running MCP server version
|
|
1468
|
+
- latest_version: Latest available version (if check_remote is true)
|
|
1469
|
+
- update_available: Boolean indicating if an update is available
|
|
1470
|
+
- release_notes: Summary of changes in latest version (if available)
|
|
1471
|
+
|
|
1472
|
+
**Example:** check_mcp_version(check_remote: true)`,
|
|
1473
|
+
|
|
1474
|
+
update_mcp_server: `# update_mcp_server
|
|
1475
|
+
Self-update the MCP server to the latest available version.
|
|
1476
|
+
|
|
1477
|
+
**Parameters:**
|
|
1478
|
+
- version (optional): Specific version to update to (defaults to latest)
|
|
1479
|
+
- restart_after_update (optional): Whether to restart after update (default: true)
|
|
1480
|
+
- backup_config (optional): Whether to backup current config (default: true)
|
|
1481
|
+
|
|
1482
|
+
**Returns:**
|
|
1483
|
+
- success: Boolean indicating if update succeeded
|
|
1484
|
+
- old_version: Previous version before update
|
|
1485
|
+
- new_version: Version after update
|
|
1486
|
+
- restart_required: Whether manual restart is needed
|
|
1487
|
+
|
|
1488
|
+
**Example:** update_mcp_server()
|
|
1489
|
+
|
|
1490
|
+
**Note:** This operation may temporarily disconnect active sessions during restart.`,
|
|
1109
1491
|
};
|