@talonic/mcp 0.1.71 → 0.1.73

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
@@ -9,11 +9,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
9
9
 
10
10
  ### Added
11
11
 
12
- - **Branded inline widgets for every tool.** All nine tools now render a ChatGPT Apps SDK card (previously only `talonic_extract` did): `talonic_search` (grouped matches), `talonic_filter` (results table + warnings), `talonic_get_document` (metadata + triage), `talonic_to_markdown` (scrollable markdown), `talonic_list_schemas` (schema table), `talonic_save_schema` (confirmation), `talonic_get_balance` (balance card), and `talonic_request_upload` (upload-link card). Each tool declares `_meta["openai/outputTemplate"]` pointing at its widget resource. Non-widget tool calls previously rendered as a generic "api_tool" entry in ChatGPT; now every call is branded.
12
+ - **Branded inline widgets for every tool.** All eleven tools now render a ChatGPT Apps SDK card (previously only `talonic_extract` did): `talonic_search` (grouped matches), `talonic_filter` (results table + warnings), `talonic_get_document` (metadata + triage), `talonic_to_markdown` (scrollable markdown), `talonic_list_schemas` (schema table), `talonic_save_schema` (confirmation), `talonic_get_balance` (balance card), `talonic_get_pricing` (pricing-catalog table with per-unit rates, EUR, free badges, and multiplier chips), `talonic_get_usage` (per-function credit breakdown with proportion bars), and `talonic_request_upload` (upload-link card). Each tool declares `_meta["openai/outputTemplate"]` pointing at its widget resource. Non-widget tool calls previously rendered as a generic "api_tool" entry in ChatGPT; now every call is branded.
13
+ - **Widgets for the two metering tools** (`talonic_get_pricing`, `talonic_get_usage`) — these were added after the App Directory approval (0.1.67) without widgets, leaving them the only two bare tools; the 2026-07-07 alignment pass gives them cards matching the other nine, restoring one-widget-per-tool parity. Also added their entries to the MCP docs nav (`src/content/seo.ts`), which had been missed.
13
14
 
14
15
  ### Changed
15
16
 
16
- - **Refactored widget scaffolding into `src/widgets/shared.ts`** — shared base CSS, render helpers, the `window.openai` data-channel bootstrap, the `_meta` block (widget domain + CSP), and a `registerWidget()` helper. Each widget supplies only its `render(payload)` body via `buildWidgetHtml()`. `registerWidgets()` registers all nine.
17
+ - **Refactored widget scaffolding into `src/widgets/shared.ts`** — shared base CSS, render helpers, the `window.openai` data-channel bootstrap, the `_meta` block (widget domain + CSP), and a `registerWidget()` helper. Each widget supplies only its `render(payload)` body via `buildWidgetHtml()`. `registerWidgets()` registers all eleven.
17
18
 
18
19
  ## [0.1.52] - 2026-06-01
19
20
 
package/README.md CHANGED
@@ -5,7 +5,7 @@
5
5
  [![talonic-mcp MCP server](https://glama.ai/mcp/servers/talonicdev/talonic-mcp/badges/score.svg)](https://glama.ai/mcp/servers/talonicdev/talonic-mcp)
6
6
  [![smithery badge](https://smithery.ai/badge/talonic/talonic)](https://smithery.ai/servers/talonic/talonic)
7
7
 
8
- > **Status:** stable, listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. **Nine tools and two resources**, verified end-to-end against production (including the Claude.ai hosted connector). Runs as a local stdio process for desktop/IDE clients and as a hosted Streamable HTTP server at `mcp.talonic.com` for Claude.ai connectors.
8
+ > **Status:** stable, listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. **Eleven tools and two resources**, verified end-to-end against production (including the Claude.ai hosted connector). Runs as a local stdio process for desktop/IDE clients and as a hosted Streamable HTTP server at `mcp.talonic.com` for Claude.ai connectors.
9
9
 
10
10
  ---
11
11
 
@@ -24,6 +24,8 @@ One install gives an agent the whole document-extraction workflow:
24
24
  | **`talonic_list_schemas`** | List saved schemas (with definitions). |
25
25
  | **`talonic_save_schema`** | Save a reusable schema to the workspace. |
26
26
  | **`talonic_get_balance`** | Read credit balance, EUR value, burn rate, and runway for budget-aware behaviour. |
27
+ | **`talonic_get_pricing`** | Read the public per-unit credit pricing catalog and multipliers to predict spend before running a job. |
28
+ | **`talonic_get_usage`** | Break down credit consumption per function over a trailing window (default 30 days). |
27
29
 
28
30
  Plus two resources for clients that browse them (Claude Desktop, Cowork render these in-UI):
29
31
 
@@ -85,7 +87,7 @@ Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) o
85
87
  }
86
88
  ```
87
89
 
88
- Fully restart Claude Desktop (Cmd+Q on macOS — not just close the window). Talonic appears in the connected-servers list with all nine tools.
90
+ Fully restart Claude Desktop (Cmd+Q on macOS — not just close the window). Talonic appears in the connected-servers list with all eleven tools.
89
91
  </details>
90
92
 
91
93
  <details>
@@ -143,7 +145,7 @@ Claude.ai's "Add custom connector" flow uses a remote MCP URL instead of a local
143
145
  2. URL: `https://mcp.talonic.com/mcp` (no query string, no headers).
144
146
  3. Click **Connect** → you're redirected to Talonic → sign in (Google, Microsoft, or SSO).
145
147
  4. Approve the consent screen (scopes: `extract:write`, `documents:read`, `schemas:read`). Pick a workspace if you have multiple.
146
- 5. You're returned to Claude.ai. All nine tools appear.
148
+ 5. You're returned to Claude.ai. All eleven tools appear.
147
149
 
148
150
  The flow uses PKCE (RFC 7636) and dynamic client registration (RFC 7591). Claude.ai stores a 1-hour access token + 30-day refresh token and refreshes automatically. No API key ever touches the connector config or any URL. Revoke by removing the connector or revoking the OAuth client in your Talonic dashboard.
149
151
 
package/dist/content.js CHANGED
@@ -33,6 +33,8 @@ var MCP_NAV_SECTIONS = [
33
33
  { id: "talonic-list-schemas", label: "talonic_list_schemas" },
34
34
  { id: "talonic-save-schema", label: "talonic_save_schema" },
35
35
  { id: "talonic-get-balance", label: "talonic_get_balance" },
36
+ { id: "talonic-get-pricing", label: "talonic_get_pricing" },
37
+ { id: "talonic-get-usage", label: "talonic_get_usage" },
36
38
  { id: "talonic-request-upload", label: "talonic_request_upload" }
37
39
  ]
38
40
  },