@levitating/tensor-mcp 4.4.0 → 5.0.0

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 +60 -8
  2. package/dist/index.js +32 -32
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -8,6 +8,29 @@ Published as [`@levitating/tensor-mcp`](https://www.npmjs.com/package/@levitatin
8
8
 
9
9
  See the full docs at [tensor.levitating.org/docs/mcp](https://tensor.levitating.org/docs/mcp). The contract behind these tools — scope mapping, access boundaries, and the version policy — is `docs/contract/MCP.md` in the Tensor repo.
10
10
 
11
+ ## 5.0.0 — Todo labels are Todo tags
12
+
13
+ Breaking tool-name change. Todos and Ideas now use Tensor's canonical tag
14
+ catalog and assignments. Todo reads return `tags` and `tagIds`, and Todo tag
15
+ writes use the same records that the web app, REST API, filters and settings
16
+ use.
17
+
18
+ Rename calls by replacing `set_todo_labels` with `set_todo_tags`,
19
+ `list_todo_labels` with `list_todo_tags`, `create_todo_label` with
20
+ `create_todo_tag`, `update_todo_label` with `update_todo_tag`, and
21
+ `delete_todo_label` with `delete_todo_tag`.
22
+
23
+ There are no MCP aliases for the old tool names. Update any prompt, script or
24
+ saved workflow that calls a tool by name. Hosted HTTP clients only need to
25
+ refresh or reconnect so they fetch the latest tool catalog. Local stdio clients
26
+ must update to `@levitating/tensor-mcp@^5.0.0` and restart the client.
27
+
28
+ The underlying REST label routes remain deprecated compatibility adapters, but
29
+ new integrations should use `PUT /api/todos/:id/tags` with `{ "tagIds": [] }`.
30
+ MCP tools never write `tag_catalog` or `tag_assignments` directly: the REST
31
+ handlers validate scope and target type, then perform the canonical catalog and
32
+ assignment writes transactionally.
33
+
11
34
  ## 2.0.0 — breaking change
12
35
 
13
36
  Tensor's **Documents** feature was renamed to **Files** (2026-08), all the way down: tables, routes, scope and tool names. For an MCP client that means:
@@ -150,13 +173,42 @@ No scope changed and **no key needs re-issuing** — `tensor:todos:write` covers
150
173
 
151
174
  Tensor opened its work surfaces to API keys (2026-08), and this server grew tools for all three: todos (with workflow states and labels), the ideas capture inbox, and full file management alongside the existing export manifest. Additive only — every existing tool, name and scope is untouched, so installed clients keep working. The new tools need the new scopes (`tensor:todos:read/write`, `tensor:ideas:read/write`, `tensor:files:write` — see the table below) attached to your key when it is issued or re-issued.
152
175
 
176
+ ## Do you need this package at all?
177
+
178
+ **Probably not.** Tensor hosts an MCP endpoint that speaks OAuth, so a client
179
+ that can open a browser needs a URL and nothing else — no install, no key to
180
+ paste, no key to rotate:
181
+
182
+ ```
183
+ https://your-instance.example.com/mcp
184
+ ```
185
+
186
+ Point your client at it and connect. It reads the `WWW-Authenticate` challenge
187
+ on the first 401, discovers Tensor's authorization server, registers itself,
188
+ shows you a consent screen and holds its own token. Revoke it later from
189
+ **Settings → Connected Apps**. That is the path for Claude Desktop, Claude Code,
190
+ and any agent platform with a "Connect" button.
191
+
192
+ **This npm package is the stdio transport, for clients that have no browser** —
193
+ CI jobs, scripts, an agent on a machine nobody is sitting at. A local process
194
+ cannot complete an OAuth redirect, so it authenticates with an API key instead.
195
+ That is the whole difference; the tool set is identical, because both transports
196
+ register from the same file.
197
+
198
+ | | Hosted `/mcp` | This package (stdio) |
199
+ | --- | --- | --- |
200
+ | You hand out | a URL | an API key |
201
+ | Credential | OAuth token the client gets itself (an API key also works) | `TENSOR_API_KEY` |
202
+ | Good for | anything interactive | headless / CI |
203
+ | Tools | identical | identical |
204
+
153
205
  ## Configuration
154
206
 
155
207
  Set two environment variables:
156
208
 
157
209
  | Variable | Description |
158
210
  |----------|-------------|
159
- | `TENSOR_API_KEY` | Your Tensor API key — shape `ak_live_…` (or `ak_test_…`). Create one at **Developer → API Keys** inside your Tensor instance and attach the scopes listed below. Shown once at creation. |
211
+ | `TENSOR_API_KEY` | Your Tensor API key — shape `ak_live_…` (or `ak_test_…`). Create one at **Developer → Access** inside your Tensor instance and attach the scopes listed below. Shown once at creation. |
160
212
  | `TENSOR_BASE_URL` | Tensor instance URL, e.g. `https://tensor.levitating.org` (default: `http://localhost:5000`) |
161
213
 
162
214
  ## Running standalone
@@ -214,7 +266,7 @@ Three tools have consequences an MCP client cannot undo, and they are worth conf
214
266
  - **`delete_position`** — hard-deletes the position together with its entire transaction ledger, valuation-event history, loan/fund terms, relations and attachments. To record an exit, use `sell_all_position` instead; that keeps the history.
215
267
  - **`data_apply`** — writes a whole batch. Always `data_dry_run` first and read the preview.
216
268
 
217
- Deletes on entities, accounts, assets and reference data are likewise immediate and unrecoverable. The work surfaces are deliberately softer: `delete_file`, `delete_idea` and `delete_todo` all move a row to a restorable Trash, and every permanent purge is UI-only. `delete_todo` replaced `archive_todo` in 2026-08, when Archive was removed from Todos — a rename with a real change behind it, and therefore a MAJOR bump. All three Trashes are the same in one way worth knowing: each empties itself 60 days after deletion, on one shared window and one sweeper. (This sentence used to name that as a difference between Todos and the other two; Files and Ideas joined the same sweep in 2026-08.) Still immediate: `delete_todo_state`, `delete_todo_label` and `delete_file_folder` — each refuses while in use, but once through, there is no undo.
269
+ Deletes on entities, accounts, assets and reference data are likewise immediate and unrecoverable. The work surfaces are deliberately softer: `delete_file`, `delete_idea` and `delete_todo` all move a row to a restorable Trash, and every permanent purge is UI-only. `delete_todo` replaced `archive_todo` in 2026-08, when Archive was removed from Todos — a rename with a real change behind it, and therefore a MAJOR bump. All three Trashes are the same in one way worth knowing: each empties itself 60 days after deletion, on one shared window and one sweeper. (This sentence used to name that as a difference between Todos and the other two; Files and Ideas joined the same sweep in 2026-08.) Still immediate: `delete_todo_state`, `delete_todo_tag` and `delete_file_folder` — each refuses while in use, but once through, there is no undo.
218
270
 
219
271
  ## Available Tools
220
272
 
@@ -329,7 +381,7 @@ Bodies and comments are TipTap JSON, never HTML — the write tools take plain t
329
381
 
330
382
  | Tool | Scope | Description |
331
383
  |------|-------|-------------|
332
- | `list_todos` | `tensor:todos:read` | List todos with server-side filters (state, category, assignee, priority, label, parent, linked record, search, `trash`) and sort. `assigneeId` and `labelId` take one id or several |
384
+ | `list_todos` | `tensor:todos:read` | List todos with server-side filters (state, category, assignee, priority, tag, parent, linked record, search, `trash`) and sort. `assigneeId` and `tagId` take one id or several |
333
385
  | `get_todo` | `tensor:todos:read` | One todo: body, state, labels, links, sub-task counts. Links to records your key cannot read are omitted |
334
386
  | `get_todo_subtree` | `tensor:todos:read` | The branch under a todo — counts and depth, for naming what a delete or a re-parent takes with it |
335
387
  | `get_todo_activity` | `tensor:todos:read` | Activity feed, folded from the mutation audit log — a rolling 90-day window, not permanent history |
@@ -339,7 +391,7 @@ Bodies and comments are TipTap JSON, never HTML — the write tools take plain t
339
391
  | `restore_todo` | `tensor:todos:write` | Take a todo out of Trash; `cascade` restores its deleted branch, `withAncestors` the chain above (409 without it) |
340
392
  | `set_todo_parent` | `tensor:todos:write` | Re-parent (or promote to top level); cycles and over-depth are refused |
341
393
  | `reorder_todo` | `tensor:todos:write` | Move within the manual order, optionally changing state |
342
- | `set_todo_labels` | `tensor:todos:write` | Replace the todo's whole label set |
394
+ | `set_todo_tags` | `tensor:todos:write` | Replace the todo's whole tag set |
343
395
  | `list_todo_comments` | `tensor:todos:read` | The comment thread |
344
396
  | `create_todo_comment` | `tensor:todos:write` | Comment (plain text, stored as TipTap JSON) |
345
397
  | `update_todo_comment` | `tensor:todos:write` | Edit your own comment — comments are never deletable here |
@@ -347,10 +399,10 @@ Bodies and comments are TipTap JSON, never HTML — the write tools take plain t
347
399
  | `create_todo_state` | `tensor:todos:write` | Create a workflow state |
348
400
  | `update_todo_state` | `tensor:todos:write` | Update a state; category change refuses while in use |
349
401
  | `delete_todo_state` | `tensor:todos:write` | Delete a state; refuses while todos hold it |
350
- | `list_todo_labels` | `tensor:todos:read` | Labels with usage counts |
351
- | `create_todo_label` | `tensor:todos:write` | Create a label |
352
- | `update_todo_label` | `tensor:todos:write` | Rename / recolor a label |
353
- | `delete_todo_label` | `tensor:todos:write` | Delete a label (removed from every todo) |
402
+ | `list_todo_tags` | `tensor:todos:read` | Tags with usage counts |
403
+ | `create_todo_tag` | `tensor:todos:write` | Create a tag |
404
+ | `update_todo_tag` | `tensor:todos:write` | Rename / recolor a tag |
405
+ | `delete_todo_tag` | `tensor:todos:write` | Delete a tag (removed from every todo) |
354
406
  | `list_todo_files` | `tensor:todos:read` **+ `tensor:files:read`** | Files attached to a todo. The rows are file rows, so the files read scope is required too |
355
407
  | `attach_todo_file` | `tensor:todos:write` **+ `tensor:files:read`** | Attach an existing file (upload via the files tools first) |
356
408
  | `detach_todo_file` | `tensor:todos:write` **+ `tensor:files:read`** | Detach a file; the file itself is untouched |
package/dist/index.js CHANGED
@@ -1217,11 +1217,11 @@ function registerAllTools(server2, api) {
1217
1217
  limit: z.number().optional().describe("Max results. Default 500."),
1218
1218
  offset: z.number().optional().describe("Pagination offset"),
1219
1219
  stateId: z.number().optional().describe("Only todos in this workflow state (see list_todo_states)"),
1220
- category: z.enum(TODO_STATE_CATEGORIES).optional().describe("Only todos whose state has this category \u2014 the stable axis; states are org-renamable labels over it"),
1220
+ category: z.enum(TODO_STATE_CATEGORIES).optional().describe("Only todos whose state has this category \u2014 the stable axis; states are org-renamable tags over it"),
1221
1221
  // One id or several, OR-combined server-side. See numListParam.
1222
1222
  assigneeId: z.union([z.number(), z.array(z.number())]).optional().describe("Only todos assigned to this user \u2014 or to any of these users; pass one id or an array"),
1223
1223
  priority: z.number().optional().describe("Exact priority: 0 = none, 1 = urgent, 2 = high, 3 = medium, 4 = low"),
1224
- labelId: z.union([z.number(), z.array(z.number())]).optional().describe("Only todos carrying this label \u2014 or any of these labels; pass one id or an array (see list_todo_labels)"),
1224
+ tagId: z.union([z.number(), z.array(z.number())]).optional().describe("Only todos carrying this tag \u2014 or any of these tags; pass one id or an array (see list_todo_tags)"),
1225
1225
  parentId: z.number().optional().describe("Only sub-tasks of this todo"),
1226
1226
  topLevelOnly: z.boolean().optional().describe("Only top-level todos (no parent). Ignored when parentId is set."),
1227
1227
  targetType: z.enum(TODO_LINK_TARGET_TYPES).optional().describe("With targetId: only todos linked to this record. Any link endpoint, not just the ledger six \u2014 the filter reads the `links` table, so a todo, idea or memo target is a question it can answer. Unlike the other filters this pair is refused rather than dropped when your key lacks the target type's read scope (403): it names another domain's record, and dropping it would widen the answer to every todo. A memo target is therefore always a 403 for a key."),
@@ -1230,7 +1230,7 @@ function registerAllTools(server2, api) {
1230
1230
  trash: z.boolean().optional().describe("Only todos in Trash (deleted, still recoverable) instead of the live list"),
1231
1231
  sort: z.enum(TODO_LIST_SORTS).optional().describe("Order: manual (the board's rank order, default), created, updated, due, or priority")
1232
1232
  },
1233
- async ({ limit, offset, stateId, category, assigneeId, priority, labelId, parentId, topLevelOnly, targetType, targetId, q, trash, sort }) => {
1233
+ async ({ limit, offset, stateId, category, assigneeId, priority, tagId, parentId, topLevelOnly, targetType, targetId, q, trash, sort }) => {
1234
1234
  const params = new URLSearchParams();
1235
1235
  if (limit) params.set("limit", String(limit));
1236
1236
  if (offset) params.set("offset", String(offset));
@@ -1239,8 +1239,8 @@ function registerAllTools(server2, api) {
1239
1239
  const assignees = numListParam(assigneeId);
1240
1240
  if (assignees) params.set("assigneeId", assignees);
1241
1241
  if (priority !== void 0) params.set("priority", String(priority));
1242
- const labels = numListParam(labelId);
1243
- if (labels) params.set("labelId", labels);
1242
+ const tags = numListParam(tagId);
1243
+ if (tags) params.set("tagId", tags);
1244
1244
  if (parentId != null) params.set("parentId", String(parentId));
1245
1245
  else if (topLevelOnly) params.set("parentId", "null");
1246
1246
  if (targetType) params.set("targetType", targetType);
@@ -1255,7 +1255,7 @@ function registerAllTools(server2, api) {
1255
1255
  );
1256
1256
  server2.tool(
1257
1257
  "get_todo",
1258
- "Get one todo by ID: title, body (bodyJson is the TipTap document, bodyText the server-derived plain text), state, priority, labels, record links, and sub-task counts. Requires the tensor:todos:read scope.",
1258
+ "Get one todo by ID: title, body (bodyJson is the TipTap document, bodyText the server-derived plain text), state, priority, tags, record links, and sub-task counts. Requires the tensor:todos:read scope.",
1259
1259
  { id: z.number().describe("Todo ID") },
1260
1260
  async ({ id }) => {
1261
1261
  const data = await api("GET", `/api/todos/${id}`);
@@ -1291,7 +1291,7 @@ function registerAllTools(server2, api) {
1291
1291
  assigneeId: z.number().optional().describe("User ID to assign"),
1292
1292
  parentId: z.number().optional().describe("Create as a sub-task of this todo"),
1293
1293
  dueDate: z.string().optional().describe("Due date in ISO format YYYY-MM-DD"),
1294
- labelIds: z.array(z.number()).optional().describe("Label IDs to attach at create (see list_todo_labels)"),
1294
+ tagIds: z.array(z.number()).optional().describe("Tag IDs to attach at create (see list_todo_tags)"),
1295
1295
  // TODO_LINK_TARGET_TYPES, not RECORD_TARGET_TYPES. This enum was the six
1296
1296
  // ledger records while `insertTodoSchema` was, which was faithful then and
1297
1297
  // is not now: the server accepts all nine here, the same set
@@ -1386,14 +1386,14 @@ function registerAllTools(server2, api) {
1386
1386
  }
1387
1387
  );
1388
1388
  server2.tool(
1389
- "set_todo_labels",
1390
- "Replace a todo's ENTIRE label set in one call \u2014 whole-set semantics: labels not named are removed, and [] clears them all. Max 50. Requires the tensor:todos:write scope.",
1389
+ "set_todo_tags",
1390
+ "Replace a todo's ENTIRE canonical tag set in one call \u2014 whole-set semantics: tags not named are removed, and [] clears them all. IDs come from the org's Todo-scoped canonical tag catalog returned by list_todo_tags; the REST handler writes the shared tag assignment system used by the web app and API. Max 50. Requires the tensor:todos:write scope.",
1391
1391
  {
1392
1392
  id: z.number().describe("Todo ID"),
1393
- labelIds: z.array(z.number()).describe("The full desired set of label IDs")
1393
+ tagIds: z.array(z.number()).describe("The full desired set of tag IDs")
1394
1394
  },
1395
- async ({ id, labelIds }) => {
1396
- const data = await api("PUT", `/api/todos/${id}/labels`, { labelIds });
1395
+ async ({ id, tagIds }) => {
1396
+ const data = await api("PUT", `/api/todos/${id}/tags`, { tagIds });
1397
1397
  return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
1398
1398
  }
1399
1399
  );
@@ -1433,7 +1433,7 @@ function registerAllTools(server2, api) {
1433
1433
  );
1434
1434
  server2.tool(
1435
1435
  "list_todo_states",
1436
- "List the org's todo workflow states: key, label, category (backlog | unstarted | started | completed | canceled), color, position, and how many todos hold each (usageCount). Category is the load-bearing axis \u2014 grouping, completed_at stamping and 'hide done' read it, never the label. Requires the tensor:todos:read scope.",
1436
+ "List the org's todo workflow states: key, tag, category (backlog | unstarted | started | completed | canceled), color, position, and how many todos hold each (usageCount). Category is the load-bearing axis \u2014 grouping, completed_at stamping and 'hide done' read it, never the tag. Requires the tensor:todos:read scope.",
1437
1437
  {},
1438
1438
  async () => {
1439
1439
  const data = await api("GET", "/api/todo-states");
@@ -1442,10 +1442,10 @@ function registerAllTools(server2, api) {
1442
1442
  );
1443
1443
  server2.tool(
1444
1444
  "create_todo_state",
1445
- "Create a todo workflow state \u2014 an org-renamable label pinned to a fixed behavioural category. Requires the tensor:todos:write scope.",
1445
+ "Create a todo workflow state \u2014 an org-renamable tag pinned to a fixed behavioural category. Requires the tensor:todos:write scope.",
1446
1446
  {
1447
1447
  key: z.string().describe("Stable key, e.g. 'in_review'"),
1448
- label: z.string().describe("Display label, e.g. 'In review'"),
1448
+ tag: z.string().describe("Display tag, e.g. 'In review'"),
1449
1449
  category: z.enum(TODO_STATE_CATEGORIES).describe("Fixed category. Entering completed/canceled stamps completed_at; leaving clears it."),
1450
1450
  color: z.string().optional().describe("Display color"),
1451
1451
  position: z.number().optional().describe("Sort position among the org's states"),
@@ -1458,11 +1458,11 @@ function registerAllTools(server2, api) {
1458
1458
  );
1459
1459
  server2.tool(
1460
1460
  "update_todo_state",
1461
- "Update a workflow state (partial). Renaming key/label/color/position is free; changing `category` is refused with a 409 while any todo holds the state. Requires the tensor:todos:write scope.",
1461
+ "Update a workflow state (partial). Renaming key/tag/color/position is free; changing `category` is refused with a 409 while any todo holds the state. Requires the tensor:todos:write scope.",
1462
1462
  {
1463
1463
  id: z.number().describe("State ID"),
1464
1464
  key: z.string().optional(),
1465
- label: z.string().optional(),
1465
+ tag: z.string().optional(),
1466
1466
  category: z.enum(TODO_STATE_CATEGORIES).optional().describe("Refused (409) while todos hold this state"),
1467
1467
  color: z.string().nullable().optional(),
1468
1468
  position: z.number().optional(),
@@ -1483,8 +1483,8 @@ function registerAllTools(server2, api) {
1483
1483
  }
1484
1484
  );
1485
1485
  server2.tool(
1486
- "list_todo_labels",
1487
- "List the org's todo labels with usage counts. Requires the tensor:todos:read scope.",
1486
+ "list_todo_tags",
1487
+ "List the org's Todo-scoped canonical tag catalog with usage counts. These are the same tag records used by Todo reads, filters, the web app and REST API. Requires the tensor:todos:read scope.",
1488
1488
  {},
1489
1489
  async () => {
1490
1490
  const data = await api("GET", "/api/todo-labels");
@@ -1492,10 +1492,10 @@ function registerAllTools(server2, api) {
1492
1492
  }
1493
1493
  );
1494
1494
  server2.tool(
1495
- "create_todo_label",
1496
- "Create a todo label. Names are unique case-insensitively \u2014 a duplicate is a 409. Requires the tensor:todos:write scope.",
1495
+ "create_todo_tag",
1496
+ "Create a tag in the org's Todo-scoped canonical tag catalog. Names are unique case-insensitively within the Todo surface \u2014 a duplicate is a 409. Requires the tensor:todos:write scope.",
1497
1497
  {
1498
- name: z.string().describe("Label name, 1-64 chars"),
1498
+ name: z.string().describe("Tag name, 1-64 chars"),
1499
1499
  color: z.string().optional().describe("Hex color like #6366f1")
1500
1500
  },
1501
1501
  async (params) => {
@@ -1504,10 +1504,10 @@ function registerAllTools(server2, api) {
1504
1504
  }
1505
1505
  );
1506
1506
  server2.tool(
1507
- "update_todo_label",
1508
- "Rename or recolor a todo label (partial update; the rename applies everywhere the label is used). Requires the tensor:todos:write scope.",
1507
+ "update_todo_tag",
1508
+ "Rename or recolor a canonical Todo tag (partial update; the rename applies everywhere the tag is used). Requires the tensor:todos:write scope.",
1509
1509
  {
1510
- id: z.number().describe("Label ID"),
1510
+ id: z.number().describe("Tag ID"),
1511
1511
  name: z.string().optional(),
1512
1512
  color: z.string().nullable().optional()
1513
1513
  },
@@ -1517,9 +1517,9 @@ function registerAllTools(server2, api) {
1517
1517
  }
1518
1518
  );
1519
1519
  server2.tool(
1520
- "delete_todo_label",
1521
- "Delete a todo label. It is removed from every todo that carries it. Requires the tensor:todos:write scope.",
1522
- { id: z.number().describe("Label ID") },
1520
+ "delete_todo_tag",
1521
+ "Delete a canonical Todo tag. It is removed from every todo that carries it. Requires the tensor:todos:write scope.",
1522
+ { id: z.number().describe("Tag ID") },
1523
1523
  async ({ id }) => {
1524
1524
  const data = await api("DELETE", `/api/todo-labels/${id}`);
1525
1525
  return { content: [{ type: "text", text: JSON.stringify(data, null, 2) }] };
@@ -1647,7 +1647,7 @@ function registerAllTools(server2, api) {
1647
1647
  title: z.string().optional().describe("Title (max 1024 chars)"),
1648
1648
  url: z.string().optional().describe("The captured link, if any"),
1649
1649
  body: z.string().optional().describe("Note text / captured selection. Plain text; the server stores it as a document and derives this text back (max 256000 chars)."),
1650
- tags: z.array(z.string()).optional().describe("Free-text tags; normalized to trimmed lowercase"),
1650
+ tags: z.array(z.string()).optional().describe("Tag names resolved into Idea-scoped canonical tag records; the resulting canonical assignments are written in the same transaction"),
1651
1651
  siteName: z.string().optional().describe("Site display name (og:site_name)"),
1652
1652
  excerpt: z.string().optional().describe("Page excerpt (og:description)"),
1653
1653
  thumbnailUrl: z.string().optional().describe("Remote preview-image URL \u2014 kept remote, never mirrored into storage"),
@@ -1675,7 +1675,7 @@ function registerAllTools(server2, api) {
1675
1675
  title: z.string().nullable().optional(),
1676
1676
  url: z.string().nullable().optional(),
1677
1677
  body: z.string().nullable().optional().describe("Plain text; REPLACES the whole body document (inline images included). null clears it. Max 256000 chars."),
1678
- tags: z.array(z.string()).optional().describe("REPLACES the whole tag set"),
1678
+ tags: z.array(z.string()).optional().describe("REPLACES the whole Idea tag set by resolving names into Idea-scoped canonical tag records and writing canonical assignments transactionally"),
1679
1679
  siteName: z.string().nullable().optional(),
1680
1680
  excerpt: z.string().nullable().optional(),
1681
1681
  thumbnailUrl: z.string().nullable().optional(),
@@ -1748,7 +1748,7 @@ function registerAllTools(server2, api) {
1748
1748
  );
1749
1749
  server2.tool(
1750
1750
  "list_idea_tags",
1751
- "Every tag in use across live ideas, with counts \u2014 the stream's tag rail. Feed a row's tag into list_ideas' `tag` filter. Requires the tensor:ideas:read scope.",
1751
+ "Every Idea-scoped canonical tag in use across live ideas, with counts \u2014 the stream's tag rail. These are the same tag records used by Ideas reads, filters, the web app and REST API. Feed a row's tag into list_ideas' `tag` filter. Requires the tensor:ideas:read scope.",
1752
1752
  {},
1753
1753
  async () => {
1754
1754
  const data = await api("GET", "/api/ideas/tags");
@@ -1857,7 +1857,7 @@ function createApiClient(opts) {
1857
1857
  // package.json
1858
1858
  var package_default = {
1859
1859
  name: "@levitating/tensor-mcp",
1860
- version: "4.4.0",
1860
+ version: "5.0.0",
1861
1861
  description: "Tensor MCP \u2014 Model Context Protocol server for the Tensor wealth management API. Exposes the Tensor API as tools for Claude, Cursor, Codex, and any MCP-aware client.",
1862
1862
  type: "module",
1863
1863
  main: "./dist/index.js",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@levitating/tensor-mcp",
3
- "version": "4.4.0",
3
+ "version": "5.0.0",
4
4
  "description": "Tensor MCP — Model Context Protocol server for the Tensor wealth management API. Exposes the Tensor API as tools for Claude, Cursor, Codex, and any MCP-aware client.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",