@taiga-ai/mcp-server 0.26.1-rc.544 → 0.26.2-dev.547

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 +29 -29
  2. package/dist/index.js +10 -4
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -6,44 +6,55 @@ The [Taiga](https://tai.ga) MCP server lets an AI assistant work with your Taiga
6
6
  - operate the line: queue initiatives, review plans, follow runs;
7
7
  - set up factories and products.
8
8
 
9
- It runs locally over stdio and calls the Taiga API with your API key.
9
+ It runs locally over stdio and calls the Taiga API with your access key.
10
10
 
11
11
  ## Before you install
12
12
 
13
- 1. Create an API key in Taiga under **Settings > Account > API keys**.
14
- 2. The key acts as you. It can do what your role can do, within the key's scopes.
13
+ 1. Create an access key in Taiga under **Settings > Account > AI tools**, and choose its permissions.
14
+ 2. The key acts as you. It can do what your role can do, and no more.
15
15
 
16
- The examples pin a release (`@taiga-ai/mcp-server@0.26.1`), so an install runs the version you chose rather than whatever `latest` is at the next start. Taiga's settings page shows the snippet for your environment.
16
+ The same page shows the setup for your tool and environment. The examples here pin a release (`@taiga-ai/mcp-server@0.26.2`), so an install runs the version you chose rather than whatever `latest` is at the next start.
17
17
 
18
18
  ## Install
19
19
 
20
- ### Claude Code
20
+ ### Claude Code and Codex
21
21
 
22
22
  Paste your key when the command waits for it; it is read without echo and stays out of your shell history:
23
23
 
24
24
  ```sh
25
- read -rs TAIGA_API_KEY && claude mcp add taiga -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.26.1
25
+ read -rs TAIGA_API_KEY && claude mcp add taiga --scope user -e TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.26.2
26
26
  ```
27
27
 
28
- ### Claude Desktop
28
+ ```sh
29
+ read -rs TAIGA_API_KEY && codex mcp add taiga --env TAIGA_API_KEY="$TAIGA_API_KEY" -- npx -y @taiga-ai/mcp-server@0.26.2
30
+ ```
29
31
 
30
- In `claude_desktop_config.json`:
32
+ ### Cursor, Windsurf, Claude Desktop and others
33
+
34
+ Most tools read the same `mcpServers` block:
31
35
 
32
36
  ```json
33
37
  {
34
38
  "mcpServers": {
35
39
  "taiga": {
36
40
  "command": "npx",
37
- "args": ["-y", "@taiga-ai/mcp-server@0.26.1"],
38
- "env": { "TAIGA_API_KEY": "your-key-here" }
41
+ "args": ["-y", "@taiga-ai/mcp-server@0.26.2"],
42
+ "env": { "TAIGA_API_KEY": "YOUR_ACCESS_KEY" }
39
43
  }
40
44
  }
41
45
  }
42
46
  ```
43
47
 
44
- ### Cursor and Windsurf
45
-
46
- The same `mcpServers` block, in `.cursor/mcp.json` or `.windsurf/mcp.json`.
48
+ | Tool | Where the block goes |
49
+ | ---------------------- | ------------------------------------------------------------------------- |
50
+ | Cursor | `~/.cursor/mcp.json` |
51
+ | Windsurf | `~/.codeium/windsurf/mcp_config.json` |
52
+ | Claude Desktop | Settings, Developer, Edit Config (`claude_desktop_config.json`) |
53
+ | Gemini CLI | `~/.gemini/settings.json` |
54
+ | Kiro | `~/.kiro/settings/mcp.json` |
55
+ | JetBrains AI Assistant | Settings, Tools, AI Assistant, Model Context Protocol (MCP), Add |
56
+ | GitHub Copilot CLI | `~/.copilot/mcp-config.json`, with `"type": "local"` and `"tools": ["*"]` |
57
+ | Zed | `~/.config/zed/settings.json`, under `context_servers` not `mcpServers` |
47
58
 
48
59
  ### VS Code
49
60
 
@@ -51,34 +62,23 @@ In `.vscode/mcp.json`. VS Code reads `servers`, and can prompt for the key once
51
62
 
52
63
  ```json
53
64
  {
54
- "inputs": [{ "type": "promptString", "id": "taiga-api-key", "description": "Taiga API key", "password": true }],
65
+ "inputs": [{ "type": "promptString", "id": "taiga-api-key", "description": "Taiga access key", "password": true }],
55
66
  "servers": {
56
67
  "taiga": {
57
68
  "type": "stdio",
58
69
  "command": "npx",
59
- "args": ["-y", "@taiga-ai/mcp-server@0.26.1"],
70
+ "args": ["-y", "@taiga-ai/mcp-server@0.26.2"],
60
71
  "env": { "TAIGA_API_KEY": "${input:taiga-api-key}" }
61
72
  }
62
73
  }
63
74
  }
64
75
  ```
65
76
 
66
- ### Codex
67
-
68
- In `~/.codex/config.toml`:
69
-
70
- ```toml
71
- [mcp_servers.taiga]
72
- command = "npx"
73
- args = ["-y", "@taiga-ai/mcp-server@0.26.1"]
74
- env = { TAIGA_API_KEY = "your-key-here" }
75
- ```
76
-
77
77
  ## Configuration
78
78
 
79
79
  | Variable | Required | Meaning |
80
80
  | ---------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
81
- | `TAIGA_API_KEY` | Yes | Your API key. |
81
+ | `TAIGA_API_KEY` | Yes | Your access key. |
82
82
  | `TAIGA_API_URL` | For `@dev` and `@staging` builds | The Taiga API. A release defaults to `https://api.eu.tai.ga`. It must be https (plain http only for `localhost`), with no query or fragment. |
83
83
  | `TAIGA_TOOLSETS` | No | Overrides the key's toolsets for this server, comma-separated, or `all`. See [Toolsets](#toolsets). |
84
84
 
@@ -94,7 +94,7 @@ The tools come in five toolsets. Every toolset is on unless you choose otherwise
94
94
  | `observe` | Deployments, monitoring, delivery metrics, packages and the SBOM. |
95
95
  | `documents` | Factory documents, writing and publishing documents, and the knowledge base. |
96
96
 
97
- Choose a key's toolsets in Taiga when you connect a tool under Settings › Account › AI tools, or change them later under Settings › Account › API keys, then restart your AI tool; the server reads them when it starts. `TAIGA_TOOLSETS` in the server's config overrides them for that server. A toolset never adds a tool your key does not allow: your role and the key's scopes decide what it may do. `taiga_whoami` lists the toolsets that are on and the tools in the ones that are off.
97
+ Choose a key's toolsets, which Taiga calls its permissions, when you create it under Settings › Account › AI tools, or change them there later, then restart your AI tool; the server reads them when it starts. `TAIGA_TOOLSETS` in the server's config overrides them for that server. A toolset never adds a tool your key does not allow: your role and the key's scopes decide what it may do. `taiga_whoami` lists the toolsets that are on and the tools in the ones that are off.
98
98
 
99
99
  ## First steps
100
100
 
@@ -116,7 +116,7 @@ This is what a security reviewer should know.
116
116
  - **Version check.** The server checks at start that the Taiga API it reached supports this version, and refuses to start if not, saying why.
117
117
  - **Nothing on stdout but the protocol.** The server writes only protocol messages to stdout. Its log goes to stderr and does not include your email.
118
118
 
119
- Organization administration stays in the web. That covers members and roles, SSO, API keys, connecting GitHub, the Discovery conversation, and deleting factories and products.
119
+ Organization administration stays in the web. That covers members and roles, SSO, access keys, connecting GitHub, the Discovery conversation, and deleting factories and products.
120
120
 
121
121
  ## Troubleshooting
122
122
 
package/dist/index.js CHANGED
@@ -2105,7 +2105,10 @@ const MAINTENANCE_IGNORE_REASONS = [
2105
2105
  * group is not in the runtime install. Poetry 1.x lockfiles carry no groups
2106
2106
  * at all, so an empty list says nothing.
2107
2107
  * - uv.lock: only direct members of a group are tagged, so an empty list says
2108
- * nothing; `dev` means dev.
2108
+ * nothing; `dev` means dev. Where osv-scanner said nothing, the sweep walks
2109
+ * the lockfile's package graph (PRO-2994): a package reachable from any
2110
+ * workspace member's runtime dependencies gets `prod` and reads runtime,
2111
+ * one reachable only from its development groups gets `dev`.
2109
2112
  * - yarn.lock, go.mod/go.sum, Cargo.lock, Gemfile.lock and the rest carry no
2110
2113
  * group information: unknown whatever the list says.
2111
2114
  *
@@ -2130,7 +2133,9 @@ function lockfileScope(path, groups) {
2130
2133
  case "pnpm-lock.yaml":
2131
2134
  if (set.has("prod")) return "runtime";
2132
2135
  return set.size === 1 && set.has("dev") ? "dev" : "unknown";
2133
- case "uv.lock": return set.size === 1 && set.has("dev") ? "dev" : "unknown";
2136
+ case "uv.lock":
2137
+ if (set.has("prod")) return "runtime";
2138
+ return set.size === 1 && set.has("dev") ? "dev" : "unknown";
2134
2139
  case "poetry.lock": return set.size > 0 && !set.has("optional") && !set.has("main") ? "dev" : "unknown";
2135
2140
  default: return "unknown";
2136
2141
  }
@@ -2702,7 +2707,7 @@ const LOCAL_HOSTS = /* @__PURE__ */ new Set([
2702
2707
  */
2703
2708
  function readConfig(version = SERVER_VERSION) {
2704
2709
  const env = envSchema.parse(process.env);
2705
- if (!env.TAIGA_API_KEY) return { problem: "TAIGA_API_KEY environment variable is required. Create one at https://eu.tai.ga under Settings > Account > API keys." };
2710
+ if (!env.TAIGA_API_KEY) return { problem: "TAIGA_API_KEY environment variable is required. Create one at https://eu.tai.ga under Settings > Account > AI tools." };
2706
2711
  const prerelease = version.includes("-");
2707
2712
  if (!env.TAIGA_API_URL && prerelease) return { problem: `This is a pre-release build (${version}) for one of Taiga's own environments: set TAIGA_API_URL to that environment's API. A released version defaults to ${DEFAULT_API_URL}.` };
2708
2713
  const apiUrl = (env.TAIGA_API_URL || DEFAULT_API_URL).replace(/\/+$/, "");
@@ -3389,6 +3394,7 @@ const PACKAGE_ROW_FIELDS = [
3389
3394
  "scope",
3390
3395
  "relation",
3391
3396
  "introducedBy",
3397
+ "firstParty",
3392
3398
  "sourcePath",
3393
3399
  "productRepositoryId",
3394
3400
  "detectedAt"
@@ -23643,7 +23649,7 @@ function registerWhoami(server, client, registered, toolsets, left) {
23643
23649
  for: TOOLSET_PURPOSE[set],
23644
23650
  tools: [...left].filter(([, s]) => s === set).map(([n]) => n)
23645
23651
  }]).filter(([, entry]) => entry.tools.length > 0)),
23646
- ...left.size > 0 ? { howToTurnOn: "Change this key's toolsets in Taiga (Settings, Account, API keys), then restart your AI tool. If TAIGA_TOOLSETS is set in this server's config, it chooses them instead: change or remove it, then restart." } : {}
23652
+ ...left.size > 0 ? { howToTurnOn: "Change this key's permissions in Taiga (Settings, Account, AI tools), then restart your AI tool. If TAIGA_TOOLSETS is set in this server's config, it chooses them instead: change or remove it, then restart." } : {}
23647
23653
  }
23648
23654
  });
23649
23655
  }));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taiga-ai/mcp-server",
3
- "version": "0.26.1-rc.544",
3
+ "version": "0.26.2-dev.547",
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",