@togglhq/mcp 1.5.67 → 1.5.69

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 { n as runMcpCli } from "./src-BfrJpoug.js";
2
+ import { n as runMcpCli } from "./src-Y2AYfrfQ.js";
3
3
  //#region src/cli.ts
4
4
  runMcpCli();
5
5
  //#endregion
package/build/index.js CHANGED
@@ -1,3 +1,3 @@
1
1
  #!/usr/bin/env node
2
- import { n as runMcpCli, t as bootstrapServer } from "./src-BfrJpoug.js";
2
+ import { n as runMcpCli, t as bootstrapServer } from "./src-Y2AYfrfQ.js";
3
3
  export { bootstrapServer, runMcpCli };
@@ -29768,6 +29768,12 @@ async function updateOrganizationGroupUserRole(httpClient, organization_id, grou
29768
29768
  json: data
29769
29769
  }).json();
29770
29770
  }
29771
+ async function getOrganizationMemberTags(httpClient, organization_id, { workspace_id }, signal) {
29772
+ return await httpClient.get(`organizations/${organization_id}/member-tags`, {
29773
+ signal,
29774
+ searchParams: buildSearchParams$3({ workspace_id })
29775
+ }).json();
29776
+ }
29771
29777
  async function getOrganizationRoles(httpClient, organization_id, signal) {
29772
29778
  return await httpClient.get(`organizations/${organization_id}/roles`, { signal }).json();
29773
29779
  }
@@ -30729,7 +30735,7 @@ const PublicMeEntryRequestSchema = /* @__PURE__ */ object$2({
30729
30735
  ]))
30730
30736
  });
30731
30737
  //#endregion
30732
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30738
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/invitation/requests.mjs
30733
30739
  async function getInvitations(httpClient, signal) {
30734
30740
  return (await httpClient.get(`invitations`, { signal })).json();
30735
30741
  }
@@ -30746,7 +30752,7 @@ async function resendInvitation(httpClient, organization_id, organization_user_i
30746
30752
  return (await httpClient.post(`organizations/${organization_id}/invitations/${organization_user_id}/resend`, { signal })).json();
30747
30753
  }
30748
30754
  //#endregion
30749
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30755
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/utils/requests.mjs
30750
30756
  function buildSearchParams$1(params, flattenArrays = false) {
30751
30757
  const searchParams = new URLSearchParams();
30752
30758
  Object.entries(params).forEach(([key, value]) => {
@@ -30758,7 +30764,7 @@ function buildSearchParams$1(params, flattenArrays = false) {
30758
30764
  return searchParams;
30759
30765
  }
30760
30766
  //#endregion
30761
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30767
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/organization-user/requests.mjs
30762
30768
  async function getOrganizationUser(httpClient, organization_id, organization_user_id, signal) {
30763
30769
  return (await httpClient.get(`organizations/${organization_id}/users/${organization_user_id}`, { signal })).json();
30764
30770
  }
@@ -30772,7 +30778,7 @@ async function patchOrganizationUserActive(httpClient, organization_id, organiza
30772
30778
  return (await httpClient.patch(`organizations/${organization_id}/users/${organization_user_id}/active_status/${status}`, { signal })).json();
30773
30779
  }
30774
30780
  //#endregion
30775
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30781
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/workspace/requests.mjs
30776
30782
  async function getWorkspaces(httpClient, organization_id, signal) {
30777
30783
  return (await httpClient.get(`organizations/${organization_id}/workspaces`, { signal })).json();
30778
30784
  }
@@ -30801,7 +30807,7 @@ const WorkingHoursUpdateInputSchema = /* @__PURE__ */ object$2({
30801
30807
  });
30802
30808
  const StatusOKSchema = /* @__PURE__ */ object$2({ status: /* @__PURE__ */ string$1() });
30803
30809
  //#endregion
30804
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30810
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/utils/requests.mjs
30805
30811
  const META_SYMBOL = Symbol.for("querygen:response:meta");
30806
30812
  function withResponseMeta(data, headers, status) {
30807
30813
  if (!data) return data;
@@ -30828,7 +30834,7 @@ function buildSearchParams(params, flattenArrays = false) {
30828
30834
  return searchParams;
30829
30835
  }
30830
30836
  //#endregion
30831
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30837
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/public-holidays/requests.mjs
30832
30838
  async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30833
30839
  const response = await httpClient.get(`shared_data/api/publicholidays/${year}`, {
30834
30840
  signal,
@@ -30837,12 +30843,12 @@ async function getPublicHolidays(httpClient, year, { country } = {}, signal) {
30837
30843
  return withResponseMeta(await response.json(), response.headers, response.status);
30838
30844
  }
30839
30845
  //#endregion
30840
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30846
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/status/requests.mjs
30841
30847
  async function getStatus(httpClient, signal) {
30842
30848
  return (await httpClient.get(`shared_data/api/status`, { signal })).json();
30843
30849
  }
30844
30850
  //#endregion
30845
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30851
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/org/timeoff/requests.mjs
30846
30852
  async function timeoffListMyEntries(httpClient, organization_id, { from, to }, signal) {
30847
30853
  return (await httpClient.get(`timeoff/organizations/${organization_id}/me`, {
30848
30854
  signal,
@@ -30870,7 +30876,7 @@ async function timeoffDeleteMyEntry(httpClient, organization_id, id, signal) {
30870
30876
  return response.json();
30871
30877
  }
30872
30878
  //#endregion
30873
- //#region ../../node_modules/.pnpm/@toggl+queries@1.1.7_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d46e7793b158fb84450457093d5b9e59/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30879
+ //#region ../../node_modules/.pnpm/@toggl+queries@1.1.8_@tanstack+react-query@5.99.0_react@19.2.5__@toggl+sync@0.2.4_react_d53b15a49a0f47b612fb5d5b159551c2/node_modules/@toggl/queries/dist/shared-data/working-hours/requests.mjs
30874
30880
  async function getMyWorkingHours(httpClient, organization_id, signal) {
30875
30881
  return (await httpClient.get(`shared_data/api/workinghours/${organization_id}/me`, { signal })).json();
30876
30882
  }
@@ -36607,6 +36613,32 @@ const generatedFocusOperations = [
36607
36613
  ]));
36608
36614
  }
36609
36615
  },
36616
+ {
36617
+ id: "focus.organization.get-member-tags",
36618
+ family: "focus",
36619
+ resource: "organization",
36620
+ action: "get-member-tags",
36621
+ title: "Get Member Tags Organization",
36622
+ description: "Get Member Tags Organization.",
36623
+ safety: "read",
36624
+ destructive: false,
36625
+ cli: {
36626
+ group: ["organization"],
36627
+ command: "get-member-tags",
36628
+ interactive: "available"
36629
+ },
36630
+ mcp: { entityTool: "organization" },
36631
+ inputSchema: /* @__PURE__ */ looseObject({ workspace_id: /* @__PURE__ */ number$2() }),
36632
+ execute: (input, { client }) => {
36633
+ const data = input;
36634
+ return client.runGeneratedRequest("getOrganizationMemberTags", () => callGeneratedRequest(getOrganizationMemberTags, [
36635
+ client.httpClient,
36636
+ client.organizationId,
36637
+ data,
36638
+ void 0
36639
+ ]));
36640
+ }
36641
+ },
36610
36642
  {
36611
36643
  id: "focus.organization.get-my-groups",
36612
36644
  family: "focus",
@@ -45851,7 +45883,7 @@ import_main.default.config({
45851
45883
  quiet: true,
45852
45884
  ignore: ["MISSING_ENV_FILE"]
45853
45885
  });
45854
- const packageVersion = "1.5.67";
45886
+ const packageVersion = "1.5.69";
45855
45887
  function resolvePublicUrls() {
45856
45888
  return {
45857
45889
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
@@ -45916,4 +45948,4 @@ function bootstrapServer(options = {}) {
45916
45948
  //#endregion
45917
45949
  export { runMcpCli as n, bootstrapServer as t };
45918
45950
 
45919
- //# sourceMappingURL=src-BfrJpoug.js.map
45951
+ //# sourceMappingURL=src-Y2AYfrfQ.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.67",
3
+ "version": "1.5.69",
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",