@taiga-ai/mcp-server 0.25.0-rc.474 → 0.26.0-rc.480

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 (55) hide show
  1. package/README.md +111 -0
  2. package/dist/index.js +292 -115
  3. package/package.json +15 -2
  4. package/scripts/build.mjs +0 -37
  5. package/scripts/prepare-publish.cjs +0 -49
  6. package/src/client.test.ts +0 -424
  7. package/src/client.ts +0 -977
  8. package/src/config.test.ts +0 -24
  9. package/src/config.ts +0 -28
  10. package/src/index.ts +0 -45
  11. package/src/modern.integration.test.ts +0 -153
  12. package/src/server.integration.test.ts +0 -9214
  13. package/src/server.ts +0 -18
  14. package/src/tools/annotations.ts +0 -38
  15. package/src/tools/autonomy.ts +0 -86
  16. package/src/tools/backlogs.ts +0 -802
  17. package/src/tools/builds.ts +0 -668
  18. package/src/tools/catalogue.test.ts +0 -170
  19. package/src/tools/catalogue.ts +0 -223
  20. package/src/tools/context.ts +0 -513
  21. package/src/tools/documents.ts +0 -375
  22. package/src/tools/errors.ts +0 -172
  23. package/src/tools/hints.ts +0 -99
  24. package/src/tools/inbox.ts +0 -546
  25. package/src/tools/index.ts +0 -239
  26. package/src/tools/inputs.ts +0 -47
  27. package/src/tools/instructions.ts +0 -41
  28. package/src/tools/jobs.ts +0 -90
  29. package/src/tools/knowledge.ts +0 -249
  30. package/src/tools/maintenance.ts +0 -547
  31. package/src/tools/markdown.test.ts +0 -249
  32. package/src/tools/markdown.ts +0 -151
  33. package/src/tools/observe.ts +0 -311
  34. package/src/tools/product-documents.ts +0 -184
  35. package/src/tools/products.ts +0 -529
  36. package/src/tools/prompts.ts +0 -265
  37. package/src/tools/queue.ts +0 -250
  38. package/src/tools/readiness.ts +0 -177
  39. package/src/tools/remote.test.ts +0 -44
  40. package/src/tools/remote.ts +0 -107
  41. package/src/tools/repositories.ts +0 -360
  42. package/src/tools/request-prompt.test.ts +0 -32
  43. package/src/tools/request-prompt.ts +0 -28
  44. package/src/tools/resources.ts +0 -217
  45. package/src/tools/sections.test.ts +0 -143
  46. package/src/tools/sections.ts +0 -287
  47. package/src/tools/setup.ts +0 -455
  48. package/src/tools/summarize.test.ts +0 -20
  49. package/src/tools/summarize.ts +0 -96
  50. package/src/tools/wait.ts +0 -490
  51. package/src/version.test.ts +0 -10
  52. package/src/version.ts +0 -14
  53. package/taiga-ai-mcp-server-0.25.0-rc.474.tgz +0 -0
  54. package/tsconfig.json +0 -21
  55. package/vitest.config.ts +0 -9
package/README.md ADDED
@@ -0,0 +1,111 @@
1
+ # @taiga-ai/mcp-server
2
+
3
+ The [Taiga](https://tai.ga) MCP server lets an AI assistant work with your Taiga organization from the editor. It can:
4
+
5
+ - read where a product stands, its policies, initiatives, runs and findings;
6
+ - operate the line: queue initiatives, review plans, follow runs;
7
+ - set up factories and products.
8
+
9
+ It runs locally over stdio and calls the Taiga API with your API key.
10
+
11
+ ## Before you install
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.
15
+
16
+ The examples pin a release (`@taiga-ai/mcp-server@0.26.0`), 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.
17
+
18
+ ## Install
19
+
20
+ ### Claude Code
21
+
22
+ Paste your key when the command waits for it; it is read without echo and stays out of your shell history:
23
+
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.0
26
+ ```
27
+
28
+ ### Claude Desktop
29
+
30
+ In `claude_desktop_config.json`:
31
+
32
+ ```json
33
+ {
34
+ "mcpServers": {
35
+ "taiga": {
36
+ "command": "npx",
37
+ "args": ["-y", "@taiga-ai/mcp-server@0.26.0"],
38
+ "env": { "TAIGA_API_KEY": "your-key-here" }
39
+ }
40
+ }
41
+ }
42
+ ```
43
+
44
+ ### Cursor and Windsurf
45
+
46
+ The same `mcpServers` block, in `.cursor/mcp.json` or `.windsurf/mcp.json`.
47
+
48
+ ### VS Code
49
+
50
+ In `.vscode/mcp.json`. VS Code reads `servers`, and can prompt for the key once and keep it out of the file:
51
+
52
+ ```json
53
+ {
54
+ "inputs": [{ "type": "promptString", "id": "taiga-api-key", "description": "Taiga API key", "password": true }],
55
+ "servers": {
56
+ "taiga": {
57
+ "type": "stdio",
58
+ "command": "npx",
59
+ "args": ["-y", "@taiga-ai/mcp-server@0.26.0"],
60
+ "env": { "TAIGA_API_KEY": "${input:taiga-api-key}" }
61
+ }
62
+ }
63
+ }
64
+ ```
65
+
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.0"]
74
+ env = { TAIGA_API_KEY = "your-key-here" }
75
+ ```
76
+
77
+ ## Configuration
78
+
79
+ | Variable | Required | Meaning |
80
+ | --------------- | -------------------------------- | -------------------------------------------------------------------------------------------------------------------------------------------- |
81
+ | `TAIGA_API_KEY` | Yes | Your API key. |
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
+
84
+ ## First steps
85
+
86
+ - Ask about a product. The assistant starts with `taiga_get_product_context`, which takes the git remote of the checkout you are in, a slug or an ID.
87
+ - `taiga_list_action_required` lists what waits on people.
88
+ - `taiga_whoami` says which tools your key can call.
89
+
90
+ ## How it behaves
91
+
92
+ This is what a security reviewer should know.
93
+
94
+ - **Named tools, one risk class each.** Every tool is one of four kinds: a read, a plain write, a write that starts paid agent work, or a write others see. No tool switches between kinds on an argument, so a client can allow the reads and prompt on the rest.
95
+ - **Reads are free, writes are announced.**
96
+ - A tool that writes opens its description with "Writes.", "Ask first (paid agent work)." or "Ask first (others see it).".
97
+ - The server tells the assistant to wait for your yes before an ask-first tool.
98
+ - Your client's own approval prompt is the control that enforces it.
99
+ - **The key is the boundary.** The API enforces what the key may do, product by product. The server only registers the tools your key can use.
100
+ - **Record text is data.** Initiative descriptions, document text, findings and pull request titles were written by people or agents. The server tells the assistant to read them as data, never as instructions.
101
+ - **Version check.** The server checks at start that the Taiga API it reached supports this version, and refuses to start if not, saying why.
102
+ - **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.
103
+
104
+ Organization administration stays in the web. That covers members and roles, SSO, API keys, connecting GitHub, the Discovery conversation, and deleting factories and products.
105
+
106
+ ## Troubleshooting
107
+
108
+ - **"TAIGA_API_KEY environment variable is required":** the client did not pass the key to the server. Check the `env` block or the `-e` flag.
109
+ - **"Failed to validate API key":** the key is wrong, revoked or expired. Create a new one.
110
+ - **"The Taiga API at ... is older than @taiga-ai/mcp-server ... needs":** run the release your Taiga environment names on its settings page.
111
+ - **"This is a pre-release build":** `@dev` and `@staging` builds are for Taiga's own environments and need `TAIGA_API_URL`.