@levitating/tensor-mcp 5.3.0 → 5.3.2
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 +18 -1
- package/dist/index.js +4 -4
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -168,7 +168,7 @@ thing to go stale.
|
|
|
168
168
|
| `verify_market_quote` | Resolve one symbol to a live price without writing |
|
|
169
169
|
| `sync_prices` | Reprice every linked asset (or a subset) |
|
|
170
170
|
| `sync_asset_price` | Reprice one asset |
|
|
171
|
-
| `list_changes` | Creates, updates and deletes since a timestamp |
|
|
171
|
+
| `list_changes` | Creates, updates and deletes since a timestamp. You see only the types your scopes read: the ledger under `tensor:portfolio:read`, every other surface under its own read scope; memos, links, tags, loan and fund terms, FX and organisation settings never |
|
|
172
172
|
| `search_records` | Site-wide ranked search across every record type; lanes are gated per read scope, so the key sees exactly its slice. Memos are the one lane no scope opens — they are session-only |
|
|
173
173
|
|
|
174
174
|
### Portfolio
|
|
@@ -384,6 +384,23 @@ The Tensor user who issued the key is the ceiling: a key can never do more than
|
|
|
384
384
|
|
|
385
385
|
Newest first. A tool rename or removal is a MAJOR bump; new tools and new optional inputs are MINOR (`docs/contract/MCP.md` §6).
|
|
386
386
|
|
|
387
|
+
### 5.3.2 — zod 4
|
|
388
|
+
Dependency only. The package now runs on zod `^4.6.7`, which stops validating
|
|
389
|
+
an over-long array at `.max()` instead of filing an issue for every element
|
|
390
|
+
past it (GHSA-mrhx-c7xc-m3w5). Every tool keeps its name, its inputs and its
|
|
391
|
+
descriptions. Two things a client lists look different and mean the same: an
|
|
392
|
+
input schema no longer carries `additionalProperties: false` at the top level
|
|
393
|
+
(an unknown argument was dropped before and still is), and a choice between two
|
|
394
|
+
numbers is an `anyOf` of `const`s rather than an `enum`.
|
|
395
|
+
|
|
396
|
+
### 5.3.1 — `list_changes` says what a key can see
|
|
397
|
+
Wording only. Since 2026-11-05 the change feed behind `list_changes` leaves out
|
|
398
|
+
every row the key's scopes do not read (`docs/contract/DEVELOPER_API.md` §5A.4),
|
|
399
|
+
and the tool now says so: the ledger under `tensor:portfolio:read`, each other
|
|
400
|
+
surface under its own read scope, and memos, links, tags, loan and fund terms,
|
|
401
|
+
FX and organisation settings for no key. The behaviour is the server's and
|
|
402
|
+
reached the hosted `/mcp` with the deploy.
|
|
403
|
+
|
|
387
404
|
### 5.3.0 — The search vocabulary names browsing history
|
|
388
405
|
No new tool and no breaking change. `search_records` accepts `history` in
|
|
389
406
|
`types`, because browsing history (Web's History tab, `HIS-12`) is now one of
|
package/dist/index.js
CHANGED
|
@@ -863,7 +863,7 @@ function registerAllTools(server2, api) {
|
|
|
863
863
|
op: z.enum(DATA_UPDATER_OP_TYPES).describe(
|
|
864
864
|
"Operation type. Required `data` fields per op \u2014 asset.upsert: {name, assetClass, symbol?, fmpSymbol?, defaultCurrency?, currentPrice?, notes?} (fmpSymbol is the market-data ticker \u2014 a Yahoo ticker or CG:<coingecko-id>, NOT a Financial Modeling Prep symbol; the batch API still spells it fmpSymbol, unlike the assets API which also accepts tickerSymbol. Omit it on an update to keep the existing price link, send null to unlink); asset_price.record: {price, assetId|assetSymbol|assetName, asOf? (epoch ms), source?, memo?}; position.open: {label, assetClass, currentValue, entityId|entityName?, accountId|accountName?, assetId|assetSymbol|assetName?, liability?, quantity?, currentPrice?, averageCost?, currency?, notes?}; transaction.record: {transactionType (same canonical keys as create_transaction), quantity, amount, price?, fees?, timestamp? (epoch ms), memo?, and positionId OR accountName/entityName + assetSymbol|assetName}; account.upsert: {name, accountType, entityId|entityName, institution?, currency?, notes?}; entity.upsert: {name, type, jurisdiction?, formedDate?, notes?, showInPortfolio?, tags?}"
|
|
865
865
|
),
|
|
866
|
-
data: z.record(z.unknown()).describe("Operation payload \u2014 see the per-op field list on `op`. Never include organizationId; org scope comes from auth."),
|
|
866
|
+
data: z.record(z.string(), z.unknown()).describe("Operation payload \u2014 see the per-op field list on `op`. Never include organizationId; org scope comes from auth."),
|
|
867
867
|
clientRef: z.string().optional().describe("Optional caller correlation ID echoed back per-operation in the preview. Max 128 chars.")
|
|
868
868
|
})).min(1).max(500).describe("1-500 typed operations to preview.")
|
|
869
869
|
},
|
|
@@ -960,7 +960,7 @@ function registerAllTools(server2, api) {
|
|
|
960
960
|
);
|
|
961
961
|
server2.tool(
|
|
962
962
|
"list_changes",
|
|
963
|
-
"What changed in this organization's data since a timestamp \u2014 creates, updates AND deletes, across both the CRUD routes and applied data batches. Use this to catch up incrementally instead of re-listing every table. Check `coverage.complete`: when false, the requested `since` predates the audit history and the delta cannot be trusted \u2014 do a full read instead. Resume the next poll from the returned `until`. The history is kept 90 days. Requires the tensor:portfolio:read scope.",
|
|
963
|
+
"What changed in this organization's data since a timestamp \u2014 creates, updates AND deletes, across both the CRUD routes and applied data batches. Use this to catch up incrementally instead of re-listing every table. Check `coverage.complete`: when false, the requested `since` predates the audit history and the delta cannot be trusted \u2014 do a full read instead. Resume the next poll from the returned `until`. The history is kept 90 days. Requires the tensor:portfolio:read scope, and you see only the changes your scopes can read: the ledger under portfolio:read, and each other surface only with its own read scope (reference, files, todos, ideas, bookmarks, tabs). Memos, links, tags, loan and fund terms, FX and organisation settings appear to no key, and another person's tab groups and browsing history never appear. A missing type means 'not yours to see', not 'unchanged'.",
|
|
964
964
|
{
|
|
965
965
|
since: z.number().optional().describe("Epoch-ms lower bound (exclusive). Omit or 0 for everything on record."),
|
|
966
966
|
limit: z.number().optional().describe("Max changes per page. Default 500."),
|
|
@@ -2093,7 +2093,7 @@ function createApiClient(opts) {
|
|
|
2093
2093
|
// package.json
|
|
2094
2094
|
var package_default = {
|
|
2095
2095
|
name: "@levitating/tensor-mcp",
|
|
2096
|
-
version: "5.3.
|
|
2096
|
+
version: "5.3.2",
|
|
2097
2097
|
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.",
|
|
2098
2098
|
type: "module",
|
|
2099
2099
|
main: "./dist/index.js",
|
|
@@ -2128,7 +2128,7 @@ var package_default = {
|
|
|
2128
2128
|
license: "UNLICENSED",
|
|
2129
2129
|
dependencies: {
|
|
2130
2130
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
2131
|
-
zod: "^
|
|
2131
|
+
zod: "^4.6.7"
|
|
2132
2132
|
},
|
|
2133
2133
|
devDependencies: {
|
|
2134
2134
|
esbuild: "^0.24.0",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@levitating/tensor-mcp",
|
|
3
|
-
"version": "5.3.
|
|
3
|
+
"version": "5.3.2",
|
|
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",
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"license": "UNLICENSED",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
38
|
-
"zod": "^
|
|
38
|
+
"zod": "^4.6.7"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"esbuild": "^0.24.0",
|