@togglhq/mcp 1.5.22 → 1.5.24

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
@@ -5,16 +5,9 @@ A local MCP (Model Context Protocol) server that connects to the Toggl 2.0 API.
5
5
  ## One-click install
6
6
 
7
7
  [![Install in VS Code](https://img.shields.io/badge/Install_in-VS_Code-0098FF?style=flat-square&logo=visualstudiocode&logoColor=white)](https://vscode.dev/redirect/mcp/install?name=toggl&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40togglhq%2Fmcp%22%5D%2C%22env%22%3A%7B%7D%7D)
8
- [![Install in VS Code Insiders](https://img.shields.io/badge/Install_in-VS_Code_Insiders-24bfa5?style=flat-square&logo=visualstudiocode&logoColor=white)](https://insiders.vscode.dev/redirect/mcp/install?name=toggl&config=%7B%22command%22%3A%22npx%22%2C%22args%22%3A%5B%22-y%22%2C%22%40togglhq%2Fmcp%22%5D%2C%22env%22%3A%7B%7D%7D&quality=insiders)
9
- [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](cursor://anysphere.cursor-deeplink/mcp/install?name=toggl&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0b2dnbGhxL21jcCJdfQ==)
8
+ [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=toggl&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0b2dnbGhxL21jcCJdfQ%3D%3D)
10
9
 
11
- Cursor install link (copy or open in Cursor):
12
-
13
- ```
14
- cursor://anysphere.cursor-deeplink/mcp/install?name=toggl&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0b2dnbGhxL21jcCJdfQ==
15
- ```
16
-
17
- After install, run `npx @togglhq/mcp auth` once to sign in. For Claude Code and Claude Desktop, see **Add to your MCP client** below.
10
+ On first use, call the **auth** MCP tool to sign in (opens your browser). For Claude Code and Claude Desktop, see **Add to your MCP client** below.
18
11
 
19
12
  ## Install
20
13
 
@@ -23,7 +16,7 @@ npm install @togglhq/mcp
23
16
  # or: pnpm add @togglhq/mcp
24
17
  ```
25
18
 
26
- Authenticate:
19
+ Authenticate once the MCP server is connected — call the **auth** tool (opens your browser). Or from a terminal:
27
20
 
28
21
  ```bash
29
22
  npx @togglhq/mcp auth
@@ -61,11 +54,11 @@ Restart Claude Desktop after saving.
61
54
 
62
55
  ## Authentication
63
56
 
64
- Uses **OAuth2 with PKCE** via the Toggl Accounts service. Credentials are stored in `~/.toggl/focus-tools.json` (mode 0600). Access tokens refresh automatically — re-run `npx @togglhq/mcp auth` to switch workspaces or if your refresh token expires (after 4 weeks of inactivity).
57
+ Uses **OAuth2 with PKCE** via the Toggl Accounts service. Credentials are stored in `~/.toggl/focus-tools.json` (mode 0600). Access tokens refresh automatically — call **auth** again (or run `npx @togglhq/mcp auth`) to switch workspaces or if your refresh token expires (after 4 weeks of inactivity).
65
58
 
66
59
  > **Upgrading from an older version?** Sessions previously stored at `~/.toggl-focus-mcp/config.json` are still read automatically — no re-authentication needed.
67
60
 
68
- > **Unified config vs legacy file:** MCP **logout** only removes credentials when there is a matching profile row under **`~/.toggl/focus-tools.json`** with **`active.mcp`** set. Run **`npx @togglhq/mcp auth`** once to migrate into the unified file if logout reports nothing was cleared.
61
+ > **Unified config vs legacy file:** MCP **logout** only removes credentials when there is a matching profile row under **`~/.toggl/focus-tools.json`** with **`active.mcp`** set. Call **`auth`** once to migrate into the unified file if logout reports nothing was cleared (or run `npx @togglhq/mcp auth` from a terminal).
69
62
 
70
63
  ### CI or headless environments
71
64
 
package/build/index.js CHANGED
@@ -45953,7 +45953,7 @@ import_main.default.config({
45953
45953
  quiet: true,
45954
45954
  ignore: ["MISSING_ENV_FILE"]
45955
45955
  });
45956
- const packageVersion = "1.5.22";
45956
+ const packageVersion = "1.5.24";
45957
45957
  function resolvePublicUrls() {
45958
45958
  return {
45959
45959
  focusApiUrl: process.env.TOGGL_FOCUS_API_URL ?? "https://focus.toggl.com",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@togglhq/mcp",
3
- "version": "1.5.22",
3
+ "version": "1.5.24",
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",