@vectros-ai/mcp-server 0.14.0 → 0.16.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.
package/CHANGELOG.md CHANGED
@@ -3,6 +3,46 @@
3
3
  All notable changes to `@vectros-ai/mcp-server` are documented here.
4
4
  This project adheres to [Semantic Versioning](https://semver.org).
5
5
 
6
+ ## 0.16.0 — 2026-08-27
7
+
8
+ ### Added
9
+
10
+ - **`record_batch_get`** — fetch several structured records by id (1-100) in one call, each with its
11
+ full payload, wrapping `POST /v1/records/batch-get` (0.41.0: previously a `501` stub, now live).
12
+ Complements `record_get`: use this instead of N single-id calls when you already hold several ids
13
+ (e.g. hydrating a page of `record_query`/`hybrid_search` results). The API silently omits any id you
14
+ can't access with no per-id existence signal; the response also carries `missingIds` — every
15
+ requested id not present in `data` — so a caller can tell a partial result from a complete one
16
+ without diffing it by hand. Same per-record payload-truncation guard as `record_get`.
17
+ - **Repinned to `@vectros-ai/sdk` 0.41.0** for the above. No other 0.41.0 surface change is consumed:
18
+ the issuer-update endpoint and the `roleIds` access-profile field are identity/access administration
19
+ this server's tools deliberately don't touch (`lookup_principal`'s own docstring: "identity CRUD
20
+ stays off the agent tool surface by design"); entity responses' new `contextId` field already flows
21
+ through `lookup_principal`'s pass-through JSON with no code change.
22
+
23
+ ## 0.15.0
24
+
25
+ ### Added
26
+
27
+ - **`lookup_principal` accepts an optional `contextId`** for entity kinds (`org`/`client`/any
28
+ namespace you registered — not `user`, which is always tenant-wide). A namespace registration
29
+ can now be tenant-wide or owned by one app context (API 0.40.0). A context-confined credential's
30
+ own context resolves automatically without this; an unconfined (root-key) credential needs
31
+ `contextId` to reach a context-owned namespace's entities — omitting it previously read back an
32
+ empty result with no indication why. Two rejections come with it: supplying `contextId` with
33
+ `kind: "user"` now returns `isError: true` immediately (the user surface is always tenant-wide);
34
+ supplying it against a namespace that turns out to be tenant-wide is rejected by the API with a
35
+ `400`.
36
+
37
+ ### Changed
38
+
39
+ - **Repinned to `@vectros-ai/sdk` 0.40.0.**
40
+ - **`current_identity` (and the `identity` resource) now note that `granted_capabilities` — a scope
41
+ clause's API-0.40.0 reach dimension (`member-lifecycle` / `forensic-read` / `context-directory-read`
42
+ / `delegate-mint`) — isn't reported by `/v1/ping` yet**, so `allowedActions` + `dataScope` may
43
+ understate a credential's true reach. This is a description-accuracy fix (the tool no longer implies
44
+ it shows the complete picture); no new field ships, since the backend doesn't emit one yet.
45
+
6
46
  ## 0.14.0
7
47
 
8
48
  ### Changed
package/README.md CHANGED
@@ -169,7 +169,7 @@ Add `-e VECTROS_API_BASE_URL=https://api.staging.vectros.ai` for a non-productio
169
169
  environment. Reopen the project in Claude Code and the Vectros tools are
170
170
  available.
171
171
 
172
- ## Tools (21 tools)
172
+ ## Tools (22 tools)
173
173
 
174
174
  **Search & RAG**
175
175
 
@@ -186,6 +186,7 @@ available.
186
186
  | `list_schemas` | List the record-schema catalog the credential can see (filter by `surface` or resolve one by `recordType`). Makes `record_query` / `record_create` discoverable. |
187
187
  | `record_query` | Query records by lookup field — equality (`value`), range, or prefix, with `asc`/`desc` ordering and an optional `sortFrom`/`sortTo` window — or list mode (filter by ownership + type). Also supports composite equality across 2-3 fields (`values`), but only against a lookup the *schema* declares over those fields together (see `list_schemas`) — not any two fields you pick. |
188
188
  | `record_get` | Fetch one record by id, including its full payload (large payloads truncated to protect the agent context window). |
189
+ | `record_batch_get` | Fetch several records by id (1-100) in one call, each with its full payload. Returns `missingIds` for any requested id you can't access, since the API silently omits them. |
189
190
  | `record_create` | Create a record of a given type; idempotent by `externalId`; optional per-record `indexMode`. |
190
191
  | `record_update` | Patch a record's payload (deep-merged; `null` deletes a key); optimistic concurrency via `expectedVersion`. |
191
192
  | `record_delete` | Permanently delete a record by id (leaves a tombstone). |
@@ -213,11 +214,11 @@ available.
213
214
 
214
215
  | Tool | What it does |
215
216
  |---|---|
216
- | `current_identity` | Describe the credential: tenantId, environment, principalType, principalKeyId, and (for scoped credentials) allowedActions + dataScope. Also reports this server's own version and the bundled SDK version (`mcpServerVersion`, `sdkVersion`). |
217
- | `lookup_principal` | Resolve a user / org / client by your own `externalId` (→ its Vectros UUID, for the ownership filters) or by a schema lookup field. Read-only. |
217
+ | `current_identity` | Describe the credential: tenantId, environment, principalType, principalKeyId, principalLabel, and (for scoped credentials) allowedActions + dataScope. Does **not** yet include `granted_capabilities` (`member-lifecycle` / `forensic-read` / `context-directory-read` / `delegate-mint`) — a separate reach dimension a scope clause can carry as of API 0.40.0 that `/v1/ping` doesn't report yet, so allowedActions + dataScope may understate a credential's true reach. Also reports this server's own version and the bundled SDK version (`mcpServerVersion`, `sdkVersion`). |
218
+ | `lookup_principal` | Resolve a user, or an identity entity in a namespace (`org`/`client`/any namespace you registered), by your own `externalId` (→ its Vectros UUID, for the ownership filters) or by a schema lookup field. Pass `contextId` to target a specific app context for a context-owned namespace. Read-only. |
218
219
  | `version_history` | Read the audit/version trail (CREATE/UPDATE/DELETE, with actor + diff) for one record or document. Read-only. |
219
220
 
220
- All 21 tools wrap published Vectros HTTP API endpoints. JSON
221
+ All 22 tools wrap published Vectros HTTP API endpoints. JSON
221
222
  responses are what the agent sees as tool output. Per-call cost
222
223
  surfaces via the `usage` field on inference responses.
223
224