@togglhq/mcp 1.5.23 → 1.5.25

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
@@ -7,13 +7,7 @@ A local MCP (Model Context Protocol) server that connects to the Toggl 2.0 API.
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
8
  [![Add to Cursor](https://cursor.com/deeplink/mcp-install-dark.svg)](https://cursor.com/install-mcp?name=toggl&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0b2dnbGhxL21jcCJdfQ%3D%3D)
9
9
 
10
- Cursor install link:
11
-
12
- ```
13
- https://cursor.com/install-mcp?name=toggl&config=eyJjb21tYW5kIjoibnB4IiwiYXJncyI6WyIteSIsIkB0b2dnbGhxL21jcCJdfQ%3D%3D
14
- ```
15
-
16
- 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.
17
11
 
18
12
  ## Install
19
13
 
@@ -22,7 +16,7 @@ npm install @togglhq/mcp
22
16
  # or: pnpm add @togglhq/mcp
23
17
  ```
24
18
 
25
- Authenticate:
19
+ Authenticate once the MCP server is connected — call the **auth** tool (opens your browser). Or from a terminal:
26
20
 
27
21
  ```bash
28
22
  npx @togglhq/mcp auth
@@ -60,11 +54,11 @@ Restart Claude Desktop after saving.
60
54
 
61
55
  ## Authentication
62
56
 
63
- 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).
64
58
 
65
59
  > **Upgrading from an older version?** Sessions previously stored at `~/.toggl-focus-mcp/config.json` are still read automatically — no re-authentication needed.
66
60
 
67
- > **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).
68
62
 
69
63
  ### CI or headless environments
70
64
 
package/build/cli.d.ts ADDED
@@ -0,0 +1 @@
1
+ export { };
package/build/cli.js ADDED
@@ -0,0 +1,8 @@
1
+ #!/usr/bin/env node
2
+ import { n as runMcpCli } from "./src-T4AiTB6E.js";
3
+ //#region src/cli.ts
4
+ runMcpCli();
5
+ //#endregion
6
+ export {};
7
+
8
+ //# sourceMappingURL=cli.js.map