@talonic/mcp 0.1.35 → 0.1.36

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
@@ -7,6 +7,75 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.35] - 2026-05-12
11
+
12
+ ### Added
13
+
14
+ - **`/favicon.ico` and `/favicon.png`** served from the hosted MCP, inlined as base64 in `src/favicon.ts`. Required for the Claude Connectors Directory listing and for browser preview surfaces. `Content-Type: image/png` with a 24-hour `Cache-Control` header.
15
+ - **`SECURITY.md`** at the repo root. Disclosure policy with `safety@talonic.ai` as the primary channel, two-business-day acknowledgement target, ten-business-day substantive response, and a 30-day fix target for confirmed production-affecting issues. Coordinated-disclosure model with a safe-harbour clause.
16
+
17
+ ### Changed
18
+
19
+ - Disclosure email switched from a placeholder to `safety@talonic.ai` after the mailbox was stood up.
20
+
21
+ ## [0.1.34] - 2026-05-12
22
+
23
+ ### Added
24
+
25
+ - **Origin-header allowlist** (`src/origin.ts`) on the hosted Streamable HTTP server. DNS-rebinding mitigation. Allows three Claude.ai variants (`https://claude.ai`, `https://claude.com`, `https://www.claude.ai`) plus four MCP-directory surfaces (Cursor Directory, Smithery, mcp.so, `registry.modelcontextprotocol.io`). Empty Origin passes through (native clients and server-to-server traffic). Unknown origins receive a structured 403.
26
+
27
+ ## [0.1.33] - 2026-05-12
28
+
29
+ ### Changed
30
+
31
+ - README "Available on" section lists Cursor Directory in the first position.
32
+
33
+ ## [0.1.32] - 2026-05-11
34
+
35
+ ### Changed
36
+
37
+ - `docs/sections.json` refreshed: content brought up to date with the post-OAuth surface, prettier drift across all sections cleared.
38
+
39
+ ## [0.1.31] - 2026-05-11
40
+
41
+ ### Changed
42
+
43
+ - Prettier re-run on `src/tools/filter.ts` after the `is_not_empty` re-addition in 0.1.29.
44
+
45
+ ## [0.1.30] - 2026-05-10
46
+
47
+ ### Added
48
+
49
+ - **`is_not_empty` filter operator re-exposed.** Checks the materialized-values index, which the upstream API now updates within seconds of extraction completing. For batch-mode extractions, results reflect data after the batch poll cycle applies. The `talonic_filter` tool description, troubleshooting docs, and README "Known limitations" section have all been updated to reflect the new behavior; the "intentionally not exposed in v0.1" caveat is gone.
50
+
51
+ ### Changed
52
+
53
+ - `talonic_filter` description gains type-mismatch guidance to complement the existing SCHEMA TYPING block.
54
+
55
+ ## [0.1.29] - 2026-05-10
56
+
57
+ ### Fixed
58
+
59
+ - `talonic_search` outputSchema: `fieldMatches[].documentCount` and `fields[].documentCount` accept `null`, matching the API's response shape for entries with no materialised data.
60
+
61
+ ## [0.1.28] - 2026-05-09
62
+
63
+ ### Changed
64
+
65
+ - README reframed around the Claude.ai OAuth connector flow as the primary install path, with the API-key URL kept as an alternative for clients that cannot complete the OAuth handshake.
66
+
67
+ ## [0.1.27] - 2026-05-08
68
+
69
+ ### Changed
70
+
71
+ - `docs/sections.json` enriched with code examples; per-page content expanded to at least 4 paragraphs each, with a 6K-character target on tool pages. Improves SEO and gives the website's auto-generated docs more substance.
72
+
73
+ ## [0.1.26] - 2026-05-08
74
+
75
+ ### Changed
76
+
77
+ - `docs/sections.json` enrichment pass: every MCP doc section has at least four paragraphs. Foundation for the further expansion in 0.1.27.
78
+
10
79
  ## [0.1.25] - 2026-05-07
11
80
 
12
81
  ### Added
package/README.md CHANGED
@@ -10,6 +10,7 @@ Official Talonic MCP server. Lets AI agents extract structured, schema-validated
10
10
  ## Available on
11
11
 
12
12
  - [**Cursor Directory**](https://cursor.directory/plugins/talonic) plugin listing.
13
+ - [**Smithery**](https://smithery.ai/servers/talonic/talonic) MCP marketplace.
13
14
  - [**Official MCP Registry**](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.talonicdev/talonic-mcp) as `io.github.talonicdev/talonic-mcp`.
14
15
  - [**mcp.so**](https://mcp.so/server/talonic-mcp) directory.
15
16
  - [**Glama**](https://glama.ai/mcp/servers/talonicdev/talonic-mcp) MCP server catalogue.
@@ -44,7 +45,7 @@ The package is on npm. Every MCP client launches it the same way: a one-line `np
44
45
 
45
46
  The `-y` flag skips the npm install prompt.
46
47
 
47
- **Version pinning.** `@latest` is fine for trying things out and for personal use. For production deployments and CI, pin to a specific version (e.g. `@talonic/mcp@0.1.16`) so a future release cannot silently change tool descriptions, validation rules, or the response shape your agent depends on. Bump the pin manually after reviewing the CHANGELOG.
48
+ **Version pinning.** `@latest` is fine for trying things out and for personal use. For production deployments and CI, pin to a specific version (e.g. `@talonic/mcp@0.1.35`) so a future release cannot silently change tool descriptions, validation rules, or the response shape your agent depends on. Bump the pin manually after reviewing the CHANGELOG.
48
49
 
49
50
  Talonic uses a single API key per workspace. The same key authorises all tools. There is no scoping mechanism in v0.1; treat the key like any other secret and store it in your client's secret store rather than in version control.
50
51
 
@@ -149,7 +150,7 @@ Each tool's description is written for an LLM, with explicit USE WHEN / DO NOT U
149
150
 
150
151
  - **`talonic_extract`**, status: stable. Extract structured, schema-validated data from a document. Inputs: one of `file_data` + `filename` (recommended for chat clients, see below), `file_path`, `file_url`, or `document_id`, plus a `schema` or `schema_id`. Returns JSON with `data`, per-field `confidence`, document metadata, and a `cost` block (per-call credits / EUR / post-call balance) parsed from the API's `X-Talonic-Cost-*` response headers. Schema is required; the MCP layer rejects schema-less calls.
151
152
  - **`talonic_search`**, status: stable. Omnisearch across documents, fields, sources, and schemas in the workspace. Use for conceptual or fuzzy queries.
152
- - **`talonic_filter`**, status: stable. Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, `is_empty`, etc.). Accepts canonical field names (e.g. `vendor.name`) which the Talonic API resolves to ids server-side, or UUIDs directly. `is_not_empty` is intentionally not exposed in v0.1; see [Known limitations](#known-limitations-v01).
153
+ - **`talonic_filter`**, status: stable. Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, `is_empty`, `is_not_empty`, etc.). Accepts canonical field names (e.g. `vendor.name`) which the Talonic API resolves to ids server-side, or UUIDs directly. See [Known limitations](#known-limitations-v01) for schema-type compatibility with numeric operators.
153
154
  - **`talonic_get_document`**, status: stable. Fetch full metadata for a single document by id, including processing log and link URLs.
154
155
  - **`talonic_to_markdown`**, status: stable. Get OCR-converted markdown for a document. Accepts `document_id` (cheapest), `file_data` + `filename`, `file_path`, or `file_url`. Returns the same `cost` block as `talonic_extract` when an extract step ran (i.e., on the file inputs); `null` on the `document_id` path.
155
156
  - **`talonic_list_schemas`**, status: stable. List all saved schemas with their definitions. Returns both UUID and SCH-XXXXXXXX short id; either is accepted by `talonic_extract`.
@@ -280,7 +281,7 @@ Some MCP clients cache tool descriptions. Restart the client after a server upda
280
281
  ```
281
282
  - **Filter requires `filterable: true` fields.** Call `talonic_search` first; only entries in the response where `filterable: true` can be used as `field` (or `field_id`) on `talonic_filter`. Entries with `filterable: false` exist in the schema but have no extracted data yet.
282
283
  - **Schema field type affects filter operators.** Numeric operators (`gt`, `gte`, `lt`, `lte`, `between`) only work on fields typed as `number` in the schema. Numeric values stored as strings (with currency symbols, locale formatting, etc.) silently return zero results. Type your schema fields appropriately at design time.
283
- - **`is_not_empty` filter is not exposed in v0.1.** It underreports against fields known to be populated. Workaround: filter with `eq`/`gt`/`contains` against a known value, or use `is_empty` and invert the result client-side.
284
+ - **`is_not_empty` filter checks materialized values.** The operator now returns documents where the field has a materialized (extracted) value, refreshed within seconds of extraction completing. For batch-mode extractions, results reflect data after the batch poll cycle applies. If a value is known to be populated but `is_not_empty` does not return it, give the indexer a moment after extraction and retry.
284
285
  - **Drag-and-drop file uploads in Claude.ai are capped by Claude.ai's tool-call argument size limit.** A base64-encoded real PDF (typically hundreds of KB) cannot fit through Claude.ai's connector tool-call pipe (which truncates parameters under ~1KB). The Talonic API receives a few hundred bytes, registers an empty document, and returns a response with `null` extracted fields. This is a Claude.ai platform limit on connectors, not a Talonic MCP server bug. Workaround for Claude.ai users: use `file_url` (publicly reachable URL), `document_id` (file uploaded at app.talonic.com), or use a local-stdio install (Claude Desktop, Cursor, Cline, Continue, Cowork). The architectural fix is pre-signed upload URLs (engineering follow-up).
285
286
  - **Per-call cost surfacing is extract-only.** `talonic_extract` and `talonic_to_markdown` (when an extract step runs) return a `cost` block (`costCredits`, `costEur`, `balanceCredits`, `cellsResolvedRegistry`, `cellsResolvedAi`) parsed from the API's `X-Talonic-Cost-*` response headers. Read endpoints (`talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_list_schemas`) do not consume credits and therefore do not carry a `cost` block; `talonic_to_markdown` on the `document_id` path returns `cost: null` because no extract step ran. To read the workspace credit balance directly at any time, call `talonic_get_balance`.
286
287
 
package/dist/content.js CHANGED
@@ -295,7 +295,7 @@ var sections = [
295
295
  },
296
296
  {
297
297
  type: "paragraph",
298
- text: "The seven tools are designed for distinct use cases with minimal overlap. **`talonic_extract`** is for structured field extraction with a schema, **`talonic_to_markdown`** is for full-text conversion, **`talonic_search`** handles fuzzy discovery, **`talonic_filter`** handles precise field-value queries, **`talonic_get_document`** returns metadata, and the schema tools (**`talonic_list_schemas`**, **`talonic_save_schema`**) manage reusable extraction templates."
298
+ text: "The eight tools are designed for distinct use cases with minimal overlap. **`talonic_extract`** is for structured field extraction with a schema, **`talonic_to_markdown`** is for full-text conversion, **`talonic_search`** handles fuzzy discovery, **`talonic_filter`** handles precise field-value queries, **`talonic_get_document`** returns metadata, the schema tools (**`talonic_list_schemas`**, **`talonic_save_schema`**) manage reusable extraction templates, and **`talonic_get_balance`** lets the agent check the workspace credit balance before kicking off large batches."
299
299
  },
300
300
  {
301
301
  type: "paragraph",
@@ -1026,7 +1026,7 @@ var sections2 = [
1026
1026
  },
1027
1027
  {
1028
1028
  type: "paragraph",
1029
- text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's seven tools and one resource automatically. You can verify the connection by asking the agent to call `talonic_list_schemas` \u2014 it should return your saved schemas or an empty list."
1029
+ text: "After saving the config, reload your IDE window to pick up the changes. Continue discovers Talonic's eight tools and two resources automatically. You can verify the connection by asking the agent to call `talonic_list_schemas` \u2014 it should return your saved schemas or an empty list."
1030
1030
  },
1031
1031
  {
1032
1032
  type: "paragraph",
@@ -1109,7 +1109,7 @@ var sections2 = [
1109
1109
  { type: "code", language: "json", code: MCP_CONFIG_SNIPPET },
1110
1110
  {
1111
1111
  type: "paragraph",
1112
- text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the seven tools appear in the tool picker and the `talonic://schemas` resource is browseable in the resources panel."
1112
+ text: "Cowork is a chat-style MCP client that supports drag-and-drop file uploads and resource browsing. After adding the Talonic config, the eight tools appear in the tool picker and the `talonic://schemas` and `talonic://webhooks/reference` resources are browseable in the resources panel."
1113
1113
  },
1114
1114
  {
1115
1115
  type: "paragraph",