@telos.ready/mcp 1.4.0 → 1.5.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.
Files changed (2) hide show
  1. package/build/index.js +8 -44
  2. package/package.json +1 -1
package/build/index.js CHANGED
@@ -305,43 +305,7 @@ server.tool("start-ticket", "Starts working on a ticket by retrieving ticket det
305
305
  };
306
306
  }
307
307
  });
308
- // Tool 7: Ask Question About Ticket
309
- server.tool("ask-question-about-ticket", "Asks a question about a specific ticket and gets an AI-generated answer with ticket context. This tool uses the agent service to provide comprehensive answers based on the ticket's content, comments, and related documentation. If within an active MCP session, it will also extend the session and provide next-step guidance.", {
310
- ticketReference: z
311
- .string()
312
- .describe('The ticket reference for the ticket context, which is an uppercase alphabetical code followed by a number, such as "TEL037".'),
313
- question: z
314
- .string()
315
- .describe("The question to ask about the ticket."),
316
- }, async ({ ticketReference, question }) => {
317
- try {
318
- const result = await telosClient.post("/mcp/ask-question-about-ticket", {
319
- ticketReference,
320
- question,
321
- });
322
- if (result.success) {
323
- return {
324
- content: [{ type: "text", text: result.result }],
325
- };
326
- }
327
- else {
328
- return {
329
- content: [{ type: "text", text: `Error: ${result}` }],
330
- };
331
- }
332
- }
333
- catch (error) {
334
- return {
335
- content: [
336
- {
337
- type: "text",
338
- text: `Error asking question about ticket ${ticketReference}: ${error}`,
339
- },
340
- ],
341
- };
342
- }
343
- });
344
- // Tool 8: Get Next Task
308
+ // Tool 7: Get Next Task
345
309
  server.tool("get-next-task", "Gets the next task for a member and provides a ticket reference, next step and instructions for completing the task.", {
346
310
  applicationSlug: z
347
311
  .string()
@@ -373,7 +337,7 @@ server.tool("get-next-task", "Gets the next task for a member and provides a tic
373
337
  };
374
338
  }
375
339
  });
376
- // Tool 7: Get Git Branch for Ticket
340
+ // Tool 8: Get Git Branch for Ticket
377
341
  server.tool("get-git-branch-for-ticket", "Gets the git branch to be used for development work on this ticket. All commits for this ticket must use this branch. Git branches must stay ahead of main.", {
378
342
  ticketReference: z
379
343
  .string()
@@ -405,7 +369,7 @@ server.tool("get-git-branch-for-ticket", "Gets the git branch to be used for dev
405
369
  };
406
370
  }
407
371
  });
408
- // Tool 8: Mark Ticket as Blocked
372
+ // Tool 9: Mark Ticket as Blocked
409
373
  server.tool("mark-ticket-as-blocked", "Marks a ticket as blocked with a specified reason. This tool will load the ticket, add a comment with the blocking reason, and set the ticket status to blocked.", {
410
374
  ticketReference: z
411
375
  .string()
@@ -441,7 +405,7 @@ server.tool("mark-ticket-as-blocked", "Marks a ticket as blocked with a specifie
441
405
  };
442
406
  }
443
407
  });
444
- // Tool 9: Update Action Item
408
+ // Tool 10: Update Action Item
445
409
  server.tool("update-action-item", "Updates the status of an action item in a ticket. This tool finds a specific action item in the ticket or its comments and updates its status to INCOMPLETE, INPROGRESS, or COMPLETED.", {
446
410
  ticketReference: z
447
411
  .string()
@@ -481,7 +445,7 @@ server.tool("update-action-item", "Updates the status of an action item in a tic
481
445
  };
482
446
  }
483
447
  });
484
- // Tool 10: Get Resource List
448
+ // Tool 11: Get Resource List
485
449
  server.tool("get-resource-list", "Gets a list of resources for an application. Resources include system dependencies, infrastructure, documentation and policies.", {
486
450
  applicationSlug: z
487
451
  .string()
@@ -513,7 +477,7 @@ server.tool("get-resource-list", "Gets a list of resources for an application. R
513
477
  };
514
478
  }
515
479
  });
516
- // Tool 11: Get Resource Details
480
+ // Tool 12: Get Resource Details
517
481
  server.tool("get-resource-details", "Gets detailed information about a specific resource by name and group. Resource names can be identified by using get-resource-list. Special resources include: Application Map, Style Guide, Tech Patterns, Database Schema", {
518
482
  applicationSlug: z
519
483
  .string()
@@ -551,7 +515,7 @@ server.tool("get-resource-details", "Gets detailed information about a specific
551
515
  };
552
516
  }
553
517
  });
554
- // Tool 12: Answer Question
518
+ // Tool 13: Answer Question
555
519
  server.tool("answer-question", "Answers a question that was previously asked with a TECHNICAL or BUSINESS question type. Questions are identified by their six-character reference code. ", {
556
520
  ticketReference: z
557
521
  .string()
@@ -603,7 +567,7 @@ async function main() {
603
567
  await server.connect(transport);
604
568
  // Log success message
605
569
  console.error("✅ Telos MCP Server running on stdio");
606
- console.error("Available tools: ask-question, search-documentation, add-ticket-comment, add-documentation, get-ticket-details, start-ticket, ask-question-about-ticket, get-next-task, get-git-branch-for-ticket, mark-ticket-as-blocked, update-action-item, get-resource-list, get-resource-details, answer-question");
570
+ console.error("Available tools: ask-question, search-documentation, add-ticket-comment, add-documentation, get-ticket-details, start-ticket, get-next-task, get-git-branch-for-ticket, mark-ticket-as-blocked, update-action-item, get-resource-list, get-resource-details, answer-question");
607
571
  // Test connection in background without blocking or exiting
608
572
  // This is non-critical and should not cause the server to exit
609
573
  setImmediate(async () => {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos.ready/mcp",
3
- "version": "1.4.0",
3
+ "version": "1.5.0",
4
4
  "description": "Telos MCP server for managing tickets and project tasks",
5
5
  "main": "build/index.js",
6
6
  "type": "module",