@taiga-ai/mcp-server 0.46.0-dev.1252 → 0.48.0-dev.1253

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.
Files changed (3) hide show
  1. package/README.md +10 -10
  2. package/dist/index.js +13 -7
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -14,7 +14,7 @@ You need an access key, made in Taiga under **Settings > Account > MCP**, where
14
14
 
15
15
  Create the key first, and choose when it expires: in 30 days, 90 days, a year, or never. Taiga copies it to your clipboard, shows it once, and keeps it on the page until you say you have saved it, so copying the setup next does not lose it.
16
16
 
17
- The same page shows the setup for your client and environment, with the key already filled in where a config file needs it, and a one-click install for Cursor. The examples here pin a release (`@taiga-ai/mcp-server@0.46.0`), so an install runs the version you chose rather than whatever `latest` is at the next start.
17
+ The same page shows the setup for your client and environment, with the key already filled in where a config file needs it, and a one-click install for Cursor. The examples here pin a release (`@taiga-ai/mcp-server@0.48.0`), so an install runs the version you chose rather than whatever `latest` is at the next start.
18
18
 
19
19
  ## Install
20
20
 
@@ -23,29 +23,29 @@ The same page shows the setup for your client and environment, with the key alre
23
23
  Run the command. When it asks for your access key, paste it once and press Enter. Nothing appears as you paste (PowerShell shows asterisks), and the key stays out of your shell history:
24
24
 
25
25
  ```sh
26
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && claude mcp add taiga --scope user -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
26
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && claude mcp add taiga --scope user -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.48.0
27
27
  ```
28
28
 
29
29
  ```sh
30
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && codex mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
30
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && codex mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.48.0
31
31
  ```
32
32
 
33
33
  ```sh
34
- printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && copilot mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.46.0
34
+ printf 'Taiga access key: ' && read -rs TAIGA_API_KEY && echo && copilot mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.48.0
35
35
  ```
36
36
 
37
37
  On Windows, in PowerShell (Claude Code and Copilot start `npx` through `cmd /c`; the quoted `'--'` survives npm's PowerShell shims):
38
38
 
39
39
  ```powershell
40
- $k = Read-Host 'Taiga access key' -AsSecureString; claude mcp add taiga --scope user -e "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.46.0
40
+ $k = Read-Host 'Taiga access key' -AsSecureString; claude mcp add taiga --scope user -e "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.48.0
41
41
  ```
42
42
 
43
43
  ```powershell
44
- $k = Read-Host 'Taiga access key' -AsSecureString; codex mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' npx -y @taiga-ai/mcp-server@0.46.0
44
+ $k = Read-Host 'Taiga access key' -AsSecureString; codex mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' npx -y @taiga-ai/mcp-server@0.48.0
45
45
  ```
46
46
 
47
47
  ```powershell
48
- $k = Read-Host 'Taiga access key' -AsSecureString; copilot mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.46.0
48
+ $k = Read-Host 'Taiga access key' -AsSecureString; copilot mcp add taiga --env "TAIGA_API_KEY=$([Net.NetworkCredential]::new('', $k).Password)" '--' cmd /c npx -y @taiga-ai/mcp-server@0.48.0
49
49
  ```
50
50
 
51
51
  The Copilot command also sets up the GitHub Copilot app. If you have the app but no `copilot` command, add the server to `~/.copilot/mcp-config.json` instead, beside any servers already there. It holds your key, so keep it out of repositories:
@@ -56,7 +56,7 @@ The Copilot command also sets up the GitHub Copilot app. If you have the app but
56
56
  "taiga": {
57
57
  "type": "local",
58
58
  "command": "npx",
59
- "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
59
+ "args": ["-y", "@taiga-ai/mcp-server@0.48.0"],
60
60
  "env": { "TAIGA_API_KEY": "YOUR_ACCESS_KEY" },
61
61
  "tools": ["*"]
62
62
  }
@@ -73,7 +73,7 @@ Most clients read the same `mcpServers` block. Add it with your key in place of
73
73
  "mcpServers": {
74
74
  "taiga": {
75
75
  "command": "npx",
76
- "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
76
+ "args": ["-y", "@taiga-ai/mcp-server@0.48.0"],
77
77
  "env": { "TAIGA_API_KEY": "YOUR_ACCESS_KEY" }
78
78
  }
79
79
  }
@@ -101,7 +101,7 @@ In `.vscode/mcp.json`. VS Code reads `servers`, and prompts for the key once and
101
101
  "taiga": {
102
102
  "type": "stdio",
103
103
  "command": "npx",
104
- "args": ["-y", "@taiga-ai/mcp-server@0.46.0"],
104
+ "args": ["-y", "@taiga-ai/mcp-server@0.48.0"],
105
105
  "env": { "TAIGA_API_KEY": "${input:taiga-api-key}" }
106
106
  }
107
107
  }
package/dist/index.js CHANGED
@@ -24066,12 +24066,18 @@ var TaigaClient = class {
24066
24066
  * What waits on a person (GET /users/me/requests), up to the API's cap, with
24067
24067
  * what is assigned to someone else: a key speaks for the team's work.
24068
24068
  */
24069
- async listRequests() {
24070
- return this.request("GET", `/users/me/requests${query$1({ everyone: "true" })}`);
24069
+ async listRequests(productId) {
24070
+ return this.request("GET", `/users/me/requests${query$1({
24071
+ everyone: "true",
24072
+ productId
24073
+ })}`);
24071
24074
  }
24072
24075
  /** What closed in the last two weeks (GET /users/me/requests/done), by the same rules. */
24073
- async listDoneRequests() {
24074
- return this.request("GET", `/users/me/requests/done${query$1({ everyone: "true" })}`);
24076
+ async listDoneRequests(productId) {
24077
+ return this.request("GET", `/users/me/requests/done${query$1({
24078
+ everyone: "true",
24079
+ productId
24080
+ })}`);
24075
24081
  }
24076
24082
  /** Answer a request with one of the answers it offers. */
24077
24083
  async answerRequest(id, exit) {
@@ -37509,7 +37515,7 @@ function outsideAllowlist(expression, allowlist) {
37509
37515
  * reads as deleted) and fields they explain would simply be missing. So it
37510
37516
  * refuses to start, and says what to do.
37511
37517
  */
37512
- function apiLevelProblem(introspection, apiUrl, required = 12, version = SERVER_VERSION) {
37518
+ function apiLevelProblem(introspection, apiUrl, required = 13, version = SERVER_VERSION) {
37513
37519
  const offered = introspection.mcpApiLevel ?? 0;
37514
37520
  if (offered >= required) return null;
37515
37521
  return `The Taiga API at ${apiUrl} is older than @taiga-ai/mcp-server ${version} needs (API level ${offered}, needs ${required}). Run the version published for it, or wait for that API to be updated; an earlier release of this package works against it.`;
@@ -45273,7 +45279,7 @@ function summaryOf(rows) {
45273
45279
  const inProduct = (productIdWanted) => (row) => productIdWanted === void 0 || (row["product"] ?? {})["id"] === productIdWanted;
45274
45280
  /** One product's Action Required as counts, as the list's summary counts them. */
45275
45281
  async function attentionCounts(client, productIdWanted) {
45276
- const result = await client.listRequests();
45282
+ const result = await client.listRequests(productIdWanted);
45277
45283
  const [entry] = summaryOf(result.data.filter(inProduct(productIdWanted)).filter((row) => row["kind"] !== "license_review"));
45278
45284
  return {
45279
45285
  open: entry ? Number(entry["open"]) : 0,
@@ -45379,7 +45385,7 @@ function registerInboxTools(server, client) {
45379
45385
  annotations: READ_ONLY
45380
45386
  }, (params) => runTool(async () => {
45381
45387
  const { resolved, full, kind, category, limit } = params;
45382
- const result = resolved ? await client.listDoneRequests() : await client.listRequests();
45388
+ const result = resolved ? await client.listDoneRequests(params.productId) : await client.listRequests(params.productId);
45383
45389
  const now = Date.now();
45384
45390
  const here = result.data.filter(inProduct(params.productId));
45385
45391
  const licences = here.filter((row) => row["kind"] === "license_review");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.46.0-dev.1252",
3
+ "version": "0.48.0-dev.1253",
4
4
  "description": "Taiga for AI coding assistants: read products, policies, initiatives and runs, and operate the line, over MCP",
5
5
  "mcpName": "ga.tai/mcp-server",
6
6
  "license": "UNLICENSED",