@grec0/memory-bank-mcp 0.1.34 → 0.1.35

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.
Files changed (2) hide show
  1. package/dist/index.js +30 -0
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -534,6 +534,34 @@ server.tool(manageAgentsToolDefinition.name, manageAgentsToolDefinition.descript
534
534
  content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
535
535
  };
536
536
  });
537
+ // Tool: Claim Task
538
+ server.tool("memorybank_claim_task", "Reclama una tarea pendiente para trabajar en ella. Cambia el estado de PENDING a IN_PROGRESS.", {
539
+ projectId: z.string().describe("Identificador único del proyecto (OBLIGATORIO)"),
540
+ taskId: z.string().describe("ID de la tarea a reclamar (ej: 'EXT-123456', 'TASK-789012')"),
541
+ }, async (args) => {
542
+ const result = await manageAgentsTool({
543
+ projectId: args.projectId,
544
+ action: 'claim_task',
545
+ taskId: args.taskId,
546
+ });
547
+ return {
548
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
549
+ };
550
+ });
551
+ // Tool: Complete Task
552
+ server.tool("memorybank_complete_task", "Marca una tarea como completada. Funciona tanto para tareas internas (TASK-*) como externas (EXT-*).", {
553
+ projectId: z.string().describe("Identificador único del proyecto (OBLIGATORIO)"),
554
+ taskId: z.string().describe("ID de la tarea a completar (ej: 'EXT-123456', 'TASK-789012')"),
555
+ }, async (args) => {
556
+ const result = await manageAgentsTool({
557
+ projectId: args.projectId,
558
+ action: 'complete_task',
559
+ taskId: args.taskId,
560
+ });
561
+ return {
562
+ content: [{ type: "text", text: JSON.stringify(result, null, 2) }],
563
+ };
564
+ });
537
565
  // ==========================================
538
566
  // MCP Resources (Direct document access)
539
567
  // ==========================================
@@ -860,6 +888,8 @@ async function startStdioServer() {
860
888
  console.error(" - memorybank_track_progress: Actualizar progreso del proyecto");
861
889
  console.error(" Multi-Agent Coordination:");
862
890
  console.error(" - memorybank_manage_agents: Coordinación y bloqueos de recursos");
891
+ console.error(" - memorybank_claim_task: Reclamar una tarea pendiente");
892
+ console.error(" - memorybank_complete_task: Marcar una tarea como completada");
863
893
  console.error(" - memorybank_discover_projects: Descubrir otros proyectos en el ecosistema");
864
894
  console.error(" - memorybank_delegate_task: Delegar tareas a otros proyectos");
865
895
  console.error("");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@grec0/memory-bank-mcp",
3
- "version": "0.1.34",
3
+ "version": "0.1.35",
4
4
  "description": "MCP server for semantic code indexing with Memory Bank - AI-powered codebase understanding",
5
5
  "license": "MIT",
6
6
  "author": "@grec0",