senq-mcp 1.2.0 → 1.3.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 CHANGED
@@ -9,7 +9,7 @@ if (process.argv[2] === "setup") {
9
9
  await runSetup();
10
10
  process.exit(0);
11
11
  }
12
- const server = new Server({ name: "senq-mcp", version: "1.2.0" }, { capabilities: { tools: {} } });
12
+ const server = new Server({ name: "senq-mcp", version: "1.3.0" }, { capabilities: { tools: {} } });
13
13
  server.setRequestHandler(ListToolsRequestSchema, async () => ({
14
14
  tools: [
15
15
  {
@@ -289,7 +289,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
289
289
  params.limit = String(args.limit);
290
290
  if (args?.offset)
291
291
  params.offset = String(args.offset);
292
- const data = await apiGet("/api/admin/tasks", params);
292
+ const data = await apiGet("/api/tasks/team", params);
293
293
  const tasks = data.tasks ?? [];
294
294
  const total = data.total ?? tasks.length;
295
295
  return {
@@ -308,7 +308,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
308
308
  params.projectId = String(args.projectId);
309
309
  if (args?.areaId)
310
310
  params.areaId = String(args.areaId);
311
- const data = await apiGet("/api/admin/tasks", params);
311
+ const data = await apiGet("/api/tasks/team", params);
312
312
  const allTasks = data.tasks ?? [];
313
313
  const dateFrom = args?.dateFrom ? String(args.dateFrom) : undefined;
314
314
  const dateTo = args?.dateTo ? String(args.dateTo) : undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "senq-mcp",
3
- "version": "1.2.0",
3
+ "version": "1.3.0",
4
4
  "description": "MCP server for Senq — connect your AI to tasks and knowledge",
5
5
  "type": "module",
6
6
  "bin": {
package/src/index.ts CHANGED
@@ -15,7 +15,7 @@ if (process.argv[2] === "setup") {
15
15
  }
16
16
 
17
17
  const server = new Server(
18
- { name: "senq-mcp", version: "1.2.0" },
18
+ { name: "senq-mcp", version: "1.3.0" },
19
19
  { capabilities: { tools: {} } },
20
20
  );
21
21
 
@@ -266,7 +266,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
266
266
  if (args?.dateTo) params.dateTo = String(args.dateTo);
267
267
  if (args?.limit) params.limit = String(args.limit);
268
268
  if (args?.offset) params.offset = String(args.offset);
269
- const data = await apiGet<{ tasks?: unknown[]; total?: number }>("/api/admin/tasks", params);
269
+ const data = await apiGet<{ tasks?: unknown[]; total?: number }>("/api/tasks/team", params);
270
270
  const tasks = data.tasks ?? [];
271
271
  const total = data.total ?? tasks.length;
272
272
  return {
@@ -289,7 +289,7 @@ server.setRequestHandler(CallToolRequestSchema, async (req) => {
289
289
  dueDate?: string | null; completedAt?: string | null;
290
290
  projectName?: string | null; areaName?: string | null;
291
291
  assigneeName?: string | null;
292
- }>; total?: number }>("/api/admin/tasks", params);
292
+ }>; total?: number }>("/api/tasks/team", params);
293
293
 
294
294
  const allTasks = data.tasks ?? [];
295
295
  const dateFrom = args?.dateFrom ? String(args.dateFrom) : undefined;