@telos.ready/mcp 1.0.0 → 1.0.1

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/README.md CHANGED
@@ -216,3 +216,8 @@ If you encounter issues:
216
216
  ## License
217
217
 
218
218
  ISC
219
+
220
+ ## Deploying
221
+ npm whoami
222
+ npm login
223
+ npm version patch|minor|major
package/build/index.js CHANGED
@@ -18,7 +18,7 @@ class TelosClient {
18
18
  this.config = config;
19
19
  this.client = axios.create({
20
20
  baseURL: config.baseUrl,
21
- timeout: 30000,
21
+ timeout: 300000,
22
22
  headers: {
23
23
  "User-Agent": "telos-mcp/1.0.0",
24
24
  "Content-Type": "application/json",
@@ -90,17 +90,17 @@ const telosClient = new TelosClient({
90
90
  apiKey,
91
91
  });
92
92
  // Tool 1: Ask Question
93
- server.tool("ask-question", "Asks a question about a ticket and gets an answer with supporting context. This tool uses the agent service to provide comprehensive answers with relevant documentation. Provide both a ticket reference and a specific question.", {
94
- ticketReference: z
93
+ server.tool("ask-question", "Asks a question about an application and gets an answer with supporting context. This tool uses the agent service to provide comprehensive answers with relevant documentation. Provide both an application slug and a specific question.", {
94
+ applicationSlug: z
95
95
  .string()
96
- .describe('The ticket reference for the ticket you want to ask a question about, which is an uppercase alphabetical code followed by a number, such as "XXX037".'),
96
+ .describe('The application slug for the application you want to ask a question about, which is a unique identifier string used to reference specific applications.'),
97
97
  question: z
98
98
  .string()
99
- .describe("The question you want to ask about the ticket."),
100
- }, async ({ ticketReference, question }) => {
99
+ .describe("The question you want to ask about the application."),
100
+ }, async ({ applicationSlug, question }) => {
101
101
  try {
102
102
  const result = await telosClient.post("/mcp/ask-question", {
103
- ticketReference,
103
+ applicationSlug,
104
104
  question,
105
105
  });
106
106
  if (result.success) {
@@ -119,7 +119,7 @@ server.tool("ask-question", "Asks a question about a ticket and gets an answer w
119
119
  content: [
120
120
  {
121
121
  type: "text",
122
- text: `Error asking question about ticket ${ticketReference}: ${error}`,
122
+ text: `Error asking question about application ${applicationSlug}: ${error}`,
123
123
  },
124
124
  ],
125
125
  };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telos.ready/mcp",
3
- "version": "1.0.0",
3
+ "version": "1.0.1",
4
4
  "description": "Telos MCP server for managing tickets and project tasks",
5
5
  "main": "build/index.js",
6
6
  "type": "module",