@togglhq/mcp 1.13.360 → 1.13.361

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-ymujSn5t.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-DuUaqKP6.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.360";
165
+ const packageVersion = "1.13.361";
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-ymujSn5t.js";
2
+ import { i as runMcpCli, n as MCP_MAX_TOOL_INPUT_ELEMENTS, r as bootstrapServer, t as MCP_CACHE_TTL_MS } from "./src-DuUaqKP6.js";
3
3
  export { MCP_CACHE_TTL_MS, MCP_MAX_TOOL_INPUT_ELEMENTS, bootstrapServer, runMcpCli };
@@ -37520,6 +37520,9 @@ async function unarchiveClient(httpClient, workspace_id, client_id, signal) {
37520
37520
  }
37521
37521
  //#endregion
37522
37522
  //#region ../focus-queries/dist/organization/requests.ts
37523
+ async function getOrganizations(httpClient, signal) {
37524
+ return (await httpClient.get(`organizations`, { signal })).json();
37525
+ }
37523
37526
  async function createOrganizationGroup(httpClient, organization_id, data, signal) {
37524
37527
  return (await httpClient.post(`organizations/${organization_id}/groups`, {
37525
37528
  signal,
@@ -37616,6 +37619,9 @@ async function createWorkspaceInvitations(httpClient, organization_id, workspace
37616
37619
  json: data
37617
37620
  })).json();
37618
37621
  }
37622
+ async function getWorkspaces$1(httpClient, signal) {
37623
+ return (await httpClient.get(`workspaces`, { signal })).json();
37624
+ }
37619
37625
  //#endregion
37620
37626
  //#region ../focus-queries/out/utils/requests.js
37621
37627
  function buildSearchParams$1(params, flattenArrays = false) {
@@ -49455,6 +49461,24 @@ const generatedFocusOperations = [
49455
49461
  ]));
49456
49462
  }
49457
49463
  },
49464
+ {
49465
+ id: "focus.organization.get",
49466
+ family: "focus",
49467
+ resource: "organization",
49468
+ action: "get",
49469
+ title: "Get Organization",
49470
+ description: "Get Organization.",
49471
+ safety: "read",
49472
+ destructive: false,
49473
+ cli: {
49474
+ group: ["organization"],
49475
+ command: "get",
49476
+ interactive: "hidden"
49477
+ },
49478
+ mcp: { entityTool: "organization" },
49479
+ inputSchema: /* @__PURE__ */ looseObject({}),
49480
+ execute: (_input, { client }) => client.runGeneratedRequest("getOrganizations", () => callGeneratedRequest(getOrganizations, [client.httpClient, void 0]))
49481
+ },
49458
49482
  {
49459
49483
  id: "focus.organization.get-member-tags",
49460
49484
  family: "focus",
@@ -49562,6 +49586,24 @@ const generatedFocusOperations = [
49562
49586
  ]));
49563
49587
  }
49564
49588
  },
49589
+ {
49590
+ id: "focus.organization.get-workspaces",
49591
+ family: "focus",
49592
+ resource: "organization",
49593
+ action: "get-workspaces",
49594
+ title: "Get Workspaces Organization",
49595
+ description: "Get Workspaces Organization.",
49596
+ safety: "read",
49597
+ destructive: false,
49598
+ cli: {
49599
+ group: ["organization"],
49600
+ command: "get-workspaces",
49601
+ interactive: "hidden"
49602
+ },
49603
+ mcp: { entityTool: "organization" },
49604
+ inputSchema: /* @__PURE__ */ looseObject({}),
49605
+ execute: (_input, { client }) => client.runGeneratedRequest("getWorkspaces", () => callGeneratedRequest(getWorkspaces$1, [client.httpClient, void 0]))
49606
+ },
49565
49607
  {
49566
49608
  id: "focus.organization.update-group",
49567
49609
  family: "focus",
@@ -62296,7 +62338,7 @@ function registerWorkspaceTools(server) {
62296
62338
  //#region src/package-version.ts
62297
62339
  function mcpPackageVersion() {
62298
62340
  try {
62299
- return "1.13.360";
62341
+ return "1.13.361";
62300
62342
  } catch {
62301
62343
  return "unknown";
62302
62344
  }
@@ -62478,7 +62520,7 @@ import_main.default.config({
62478
62520
  quiet: true,
62479
62521
  ignore: ["MISSING_ENV_FILE"]
62480
62522
  });
62481
- const packageVersion = "1.13.360";
62523
+ const packageVersion = "1.13.361";
62482
62524
  const MCP_CACHE_TTL_MS = 300 * 1e3;
62483
62525
  const MCP_MAX_TOOL_INPUT_ELEMENTS = 1e4;
62484
62526
  function resolvePublicUrls() {
@@ -62598,4 +62640,4 @@ function bootstrapServer(options = {}) {
62598
62640
  //#endregion
62599
62641
  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 };
62600
62642
 
62601
- //# sourceMappingURL=src-ymujSn5t.js.map
62643
+ //# sourceMappingURL=src-DuUaqKP6.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.13.360",
3
+ "version": "1.13.361",
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",