@togglhq/mcp 1.13.75 → 1.13.77

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/build/cli.js CHANGED
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-fsG71TkP.js";
2
+ import { a as PUBLIC_SENTRY_PRIVACY_OPTIONS, c as initProductAnalytics, d as shutdownProductAnalytics, i as runMcpCli, l as resolveProductAnalyticsDistinctId, o as captureToolInvocation, s as getProductAnalyticsDistinctId, u as resolvePublicSentryDsn } from "./src-p23eoN1Q.js";
3
3
  import * as Sentry from "@sentry/node";
4
4
  //#region src/analytics-tool-metadata.ts
5
5
  /**
@@ -162,7 +162,7 @@ function wrapServerWithProductAnalytics(server) {
162
162
  }
163
163
  //#endregion
164
164
  //#region src/cli.ts
165
- const packageVersion = "1.13.75";
165
+ const packageVersion = "1.13.77";
166
166
  let sentryEnabled = false;
167
167
  let productAnalyticsEnabled = false;
168
168
  runMcpCli({
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-fsG71TkP.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-p23eoN1Q.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37626,7 +37626,7 @@ async function unarchiveTag(httpClient, workspace_id, tag_id, signal) {
37626
37626
  }
37627
37627
  //#endregion
37628
37628
  //#region ../focus-queries/dist/projects/requests.ts
37629
- async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37629
+ async function getProjectsClassic(httpClient, organization_id, workspace_id, { member_only, include_task_counts, include_tasks, unified_search, include_picker_parent_group_counts, include_picker_pinned_tasks, task_archived, task_recurring, task_state, task_source, task_assignee_user_id, task_assignee_team_id, task_include_unassigned, task_name, task_occurrence_window_date, task_occurrence_window_days, page, per_page, order_by, pinned, archived, completed, private: private_, name, client_id, creator_id, tag_id, project_id, user_id, only_me, include_rates, include_rollover, include_idle_recurring_templates, collapse_recurring, include_drafts, include_locked_private, start_date, end_date, date_overlap_start, date_overlap_end, cf_filter } = {}, signal) {
37630
37630
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/projects`, {
37631
37631
  signal,
37632
37632
  searchParams: buildSearchParams$2({
@@ -37635,6 +37635,7 @@ async function getProjectsClassic(httpClient, organization_id, workspace_id, { m
37635
37635
  include_tasks,
37636
37636
  unified_search,
37637
37637
  include_picker_parent_group_counts,
37638
+ include_picker_pinned_tasks,
37638
37639
  task_archived,
37639
37640
  task_recurring,
37640
37641
  task_state,
@@ -38488,7 +38489,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
38488
38489
  ]))
38489
38490
  });
38490
38491
  //#endregion
38491
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38492
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
38492
38493
  async function getInvitations(httpClient, signal) {
38493
38494
  return (await httpClient.get(`invitations`, { signal })).json();
38494
38495
  }
@@ -38505,7 +38506,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
38505
38506
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
38506
38507
  }
38507
38508
  //#endregion
38508
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38509
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/utils/requests.mjs
38509
38510
  function buildSearchParams(params, flattenArrays = false) {
38510
38511
  const searchParams = new URLSearchParams();
38511
38512
  Object.entries(params).forEach(([key, value]) => {
@@ -38517,7 +38518,7 @@ function buildSearchParams(params, flattenArrays = false) {
38517
38518
  return searchParams;
38518
38519
  }
38519
38520
  //#endregion
38520
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38521
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
38521
38522
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
38522
38523
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
38523
38524
  }
@@ -38531,7 +38532,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
38531
38532
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
38532
38533
  }
38533
38534
  //#endregion
38534
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38535
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
38535
38536
  async function getWorkspaces(httpClient, organization_id, signal) {
38536
38537
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
38537
38538
  }
@@ -38551,7 +38552,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
38551
38552
  });
38552
38553
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
38553
38554
  //#endregion
38554
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38555
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/holiday-calendar/requests.mjs
38555
38556
  async function holidayListDates(httpClient, organization_id, { year, country }, signal) {
38556
38557
  return (await httpClient.get(`holidays/organizations/${organization_id}/calendar/dates`, {
38557
38558
  signal,
@@ -38562,12 +38563,12 @@ async function holidayListDates(httpClient, organization_id, { year, country },
38562
38563
  })).json();
38563
38564
  }
38564
38565
  //#endregion
38565
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38566
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
38566
38567
  async function getStatus(httpClient, signal) {
38567
38568
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
38568
38569
  }
38569
38570
  //#endregion
38570
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38571
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
38571
38572
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
38572
38573
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
38573
38574
  signal,
@@ -38595,7 +38596,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
38595
38596
  return response.json();
38596
38597
  }
38597
38598
  //#endregion
38598
- //#region ../../node_modules/.pnpm/@toggl+queries@2.2.255_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_10da1b8f2eab0489969c8db7473ef79b/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38599
+ //#region ../../node_modules/.pnpm/@toggl+queries@2.2.257_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_rea_6219ff2a8f5c4a05cc95903d440d5155/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
38599
38600
  async function getMyWorkingHours(httpClient, organization_id, signal) {
38600
38601
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
38601
38602
  }
@@ -42611,6 +42612,24 @@ async function getArchivedProject(httpClient, organization_id, workspace_id, pro
42611
42612
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/projects/${project_id}`, { signal }).json();
42612
42613
  }
42613
42614
  //#endregion
42615
+ //#region ../focus-queries/dist/archived-time-entries/requests.ts
42616
+ async function getArchivedTimeEntriesClassic(httpClient, organization_id, workspace_id, { date_from, date_to, page = 1, per_page, task_id, project_id }, signal) {
42617
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries`, {
42618
+ signal,
42619
+ searchParams: buildSearchParams$2({
42620
+ date_from,
42621
+ date_to,
42622
+ page,
42623
+ per_page,
42624
+ task_id,
42625
+ project_id
42626
+ })
42627
+ }).json();
42628
+ }
42629
+ async function getArchivedTimeEntry(httpClient, organization_id, workspace_id, time_entry_id, signal) {
42630
+ return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/archived/time-entries/${time_entry_id}`, { signal }).json();
42631
+ }
42632
+ //#endregion
42614
42633
  //#region ../focus-queries/dist/attachments/requests.ts
42615
42634
  async function getWorkspaceAttachmentStorage(httpClient, organization_id, workspace_id, signal) {
42616
42635
  return await httpClient.get(`organizations/${organization_id}/workspaces/${workspace_id}/attachments/storage`, { signal }).json();
@@ -44745,6 +44764,67 @@ const generatedFocusOperations = [
44745
44764
  ]));
44746
44765
  }
44747
44766
  },
44767
+ {
44768
+ id: "focus.archived-time-entries.get",
44769
+ family: "focus",
44770
+ resource: "archived-time-entries",
44771
+ action: "get",
44772
+ title: "Get Archived Time Entries",
44773
+ description: "Get Archived Time Entries.",
44774
+ safety: "read",
44775
+ destructive: false,
44776
+ cli: {
44777
+ group: ["archived-time-entries"],
44778
+ command: "get",
44779
+ interactive: "hidden"
44780
+ },
44781
+ mcp: { entityTool: "archived-time-entries" },
44782
+ inputSchema: /* @__PURE__ */ looseObject({
44783
+ date_from: /* @__PURE__ */ unknown$1(),
44784
+ date_to: /* @__PURE__ */ unknown$1(),
44785
+ page: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44786
+ per_page: /* @__PURE__ */ optional$1(/* @__PURE__ */ unknown$1()),
44787
+ project_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2()),
44788
+ task_id: /* @__PURE__ */ optional$1(/* @__PURE__ */ number$2())
44789
+ }),
44790
+ execute: (input, { client }) => {
44791
+ const data = input;
44792
+ return client.runGeneratedRequest("getArchivedTimeEntriesClassic", () => callGeneratedRequest(getArchivedTimeEntriesClassic, [
44793
+ client.httpClient,
44794
+ client.organizationId,
44795
+ client.workspaceIdNumber,
44796
+ data,
44797
+ void 0
44798
+ ]));
44799
+ }
44800
+ },
44801
+ {
44802
+ id: "focus.archived-time-entries.get-get",
44803
+ family: "focus",
44804
+ resource: "archived-time-entries",
44805
+ action: "get-get",
44806
+ title: "Get Get Archived Time Entries",
44807
+ description: "Get Get Archived Time Entries.",
44808
+ safety: "read",
44809
+ destructive: false,
44810
+ cli: {
44811
+ group: ["archived-time-entries"],
44812
+ command: "get-get",
44813
+ interactive: "available"
44814
+ },
44815
+ mcp: { entityTool: "archived-time-entries" },
44816
+ inputSchema: /* @__PURE__ */ looseObject({ time_entry_id: /* @__PURE__ */ number$2() }),
44817
+ execute: (input, { client }) => {
44818
+ const data = input;
44819
+ return client.runGeneratedRequest("getArchivedTimeEntry", () => callGeneratedRequest(getArchivedTimeEntry, [
44820
+ client.httpClient,
44821
+ client.organizationId,
44822
+ client.workspaceIdNumber,
44823
+ data.time_entry_id,
44824
+ void 0
44825
+ ]));
44826
+ }
44827
+ },
44748
44828
  {
44749
44829
  id: "focus.attachments.get-workspace-attachment-storage",
44750
44830
  family: "focus",
@@ -57933,7 +58013,7 @@ function registerWorkspaceTools(server) {
57933
58013
  //#region src/package-version.ts
57934
58014
  function mcpPackageVersion() {
57935
58015
  try {
57936
- return "1.13.75";
58016
+ return "1.13.77";
57937
58017
  } catch {
57938
58018
  return "unknown";
57939
58019
  }
@@ -58114,7 +58194,7 @@ import_main.default.config({
58114
58194
  quiet: true,
58115
58195
  ignore: ["MISSING_ENV_FILE"]
58116
58196
  });
58117
- const packageVersion = "1.13.75";
58197
+ const packageVersion = "1.13.77";
58118
58198
  const MCP_CACHE_TTL_MS = 300 * 1e3;
58119
58199
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
58120
58200
  function resolvePublicUrls() {
@@ -58234,4 +58314,4 @@ function bootstrapServer(options = {}) {
58234
58314
  //#endregion
58235
58315
  export { PUBLIC_SENTRY_PRIVACY_OPTIONS as a, initProductAnalytics as c, shutdownProductAnalytics as d, runMcpCli as i, resolveProductAnalyticsDistinctId as l, MCP_MAX_TOOL_INPUT_ELEMENTS as n, captureToolInvocation as o, bootstrapServer as r, getProductAnalyticsDistinctId as s, MCP_CACHE_TTL_MS as t, resolvePublicSentryDsn as u };
58236
58316
 
58237
- //# sourceMappingURL=src-fsG71TkP.js.map
58317
+ //# sourceMappingURL=src-p23eoN1Q.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.75",
3
+ "version": "1.13.77",
4
4
  "description": "Toggl 2.0 MCP server for Claude Code, Claude Desktop, and other MCP clients.",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",