@talonic/mcp 0.1.27 → 0.1.29
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 +43 -12
- package/dist/content.js +104 -23
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +3 -3
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/server.js +3 -3
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -7,6 +7,12 @@ Official Talonic MCP server. Lets AI agents extract structured, schema-validated
|
|
|
7
7
|
|
|
8
8
|
> **Status:** Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. Eight tools and two resources live: `talonic_extract`, `talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_to_markdown`, `talonic_list_schemas`, `talonic_save_schema`, `talonic_get_balance`, plus the `talonic://schemas` and `talonic://webhooks/reference` resources. Verified end-to-end against production.
|
|
9
9
|
|
|
10
|
+
## Available on
|
|
11
|
+
|
|
12
|
+
- [**Official MCP Registry**](https://registry.modelcontextprotocol.io/v0.1/servers?search=io.github.talonicdev/talonic-mcp) as `io.github.talonicdev/talonic-mcp`.
|
|
13
|
+
- [**mcp.so**](https://mcp.so/server/talonic-mcp) directory.
|
|
14
|
+
- [**Glama**](https://glama.ai/mcp/servers/talonicdev/talonic-mcp) MCP server catalogue.
|
|
15
|
+
|
|
10
16
|
## Why an agent should use this
|
|
11
17
|
|
|
12
18
|
When an agent needs to pull structured data out of a PDF, scan, image, or messy document, the usual approach is raw OCR plus an LLM call. Results are unreliable; tables get mangled, dates get misread, totals drift.
|
|
@@ -21,6 +27,8 @@ Each user runs against their own isolated Talonic workspace. Your documents and
|
|
|
21
27
|
2. Settings → API Keys → Create New Key.
|
|
22
28
|
3. Copy the `tlnc_` value into your MCP client config (snippets below).
|
|
23
29
|
|
|
30
|
+
> **When you do not need an API key.** If you install the connector on Claude.ai using the [OAuth flow](#claudeai-hosted-mcp), you do not need to copy an API key anywhere. Claude.ai handles authentication via PKCE and stores its own short-lived access tokens. The API key is still required for **local-stdio installs** (Claude Desktop, Cursor, Cline, Continue, Cowork) and for the API-key URL fallback on Claude.ai.
|
|
31
|
+
|
|
24
32
|
## Install
|
|
25
33
|
|
|
26
34
|
The package is on npm. Every MCP client launches it the same way: a one-line `npx` invocation with your API key in the `env` block. No clone, no build.
|
|
@@ -29,7 +37,7 @@ The package is on npm. Every MCP client launches it the same way: a one-line `np
|
|
|
29
37
|
{
|
|
30
38
|
"command": "npx",
|
|
31
39
|
"args": ["-y", "@talonic/mcp@latest"],
|
|
32
|
-
"env": { "TALONIC_API_KEY": "tlnc_..." }
|
|
40
|
+
"env": { "TALONIC_API_KEY": "tlnc_..." },
|
|
33
41
|
}
|
|
34
42
|
```
|
|
35
43
|
|
|
@@ -106,16 +114,33 @@ Open Cowork settings → MCP Servers → Add. Use the same shape as Claude Deskt
|
|
|
106
114
|
|
|
107
115
|
### Claude.ai (hosted MCP)
|
|
108
116
|
|
|
109
|
-
Claude.ai's "Add custom connector" flow uses a remote MCP URL instead of a local stdio process. We host one at `mcp.talonic.com
|
|
117
|
+
Claude.ai's "Add custom connector" flow uses a remote MCP URL instead of a local stdio process. We host one at `mcp.talonic.com`. Two install paths are supported. **OAuth is the recommended path** (no API key needed in the connector config); the API-key URL is kept as an alternative for users who prefer a static credential or cannot complete the consent flow.
|
|
118
|
+
|
|
119
|
+
#### Recommended: OAuth (no API key in config)
|
|
110
120
|
|
|
111
121
|
1. Open https://claude.ai/settings/connectors.
|
|
112
122
|
2. Click "Add custom connector".
|
|
113
|
-
3. URL: `https://mcp.talonic.com/mcp
|
|
114
|
-
4. Click
|
|
123
|
+
3. URL: `https://mcp.talonic.com/mcp` (no query string, no headers).
|
|
124
|
+
4. Click **Connect**.
|
|
125
|
+
5. You are redirected to Talonic. Sign in with Google, Microsoft, or your company SSO.
|
|
126
|
+
6. Approve the consent screen. The requested scopes are `extract:write`, `documents:read`, `schemas:read`. Pick a workspace if your account has multiple.
|
|
127
|
+
7. You are returned to Claude.ai. The connector is live and all eight tools appear.
|
|
128
|
+
|
|
129
|
+
The OAuth flow uses PKCE (RFC 7636) and dynamic client registration (RFC 7591). Claude.ai stores a short-lived access token (1 hour) and a 30-day refresh token; refresh happens automatically as long as you keep the connector installed. No API key ever appears in the Claude.ai connector config or in any URL the browser navigates to. To revoke access, remove the connector in Claude.ai or revoke the OAuth client from your Talonic dashboard.
|
|
130
|
+
|
|
131
|
+
#### Alternative: API key in URL
|
|
132
|
+
|
|
133
|
+
If you can't complete the OAuth flow (firewall constraints, account isolation, automation scripts), or prefer a static credential, you can still install the connector with the API key as a query parameter:
|
|
134
|
+
|
|
135
|
+
1. Get a `tlnc_` API key as described above.
|
|
136
|
+
2. URL: `https://mcp.talonic.com/mcp?apiKey=tlnc_your_key_here`
|
|
137
|
+
3. Click Add.
|
|
115
138
|
|
|
116
|
-
|
|
139
|
+
Trade-offs versus OAuth: the key is persisted in Claude.ai's connector store and may appear in Anthropic-side logs and request URLs. Rotate the key in your Talonic dashboard if you remove or share the connector. The hosted MCP server forwards the key to the Talonic API exactly as it would forward an OAuth bearer; tool surface and behaviour are identical.
|
|
117
140
|
|
|
118
|
-
|
|
141
|
+
#### File uploads in Claude.ai
|
|
142
|
+
|
|
143
|
+
Drag-and-drop file uploads via `talonic_extract` and `talonic_to_markdown` are subject to a **Claude.ai connector argument-size limit** (effectively under ~1KB per parameter), which truncates `file_data` before it reaches the MCP server. This is a Claude.ai platform limit, not a Talonic bug. Use `file_url` (publicly reachable URL) or `document_id` (file already uploaded at app.talonic.com) for files larger than a trivial test. See [Drag-and-drop in chat clients](#drag-and-drop-in-chat-clients) for the full diagnosis. Local-stdio installs are unaffected.
|
|
119
144
|
|
|
120
145
|
## Tool reference
|
|
121
146
|
|
|
@@ -131,6 +156,7 @@ Each tool's description is written for an LLM, with explicit USE WHEN / DO NOT U
|
|
|
131
156
|
- **`talonic_get_balance`**, status: stable. Read the workspace credit balance, EUR value, 30-day burn rate, projected runway, tier, and next-tier-reset timestamp. Use it for budget-aware decisions before kicking off large batches.
|
|
132
157
|
|
|
133
158
|
Two resources are also exposed for clients that browse them separately (Claude Desktop and Cowork render these in the UI):
|
|
159
|
+
|
|
134
160
|
- `talonic://schemas`: saved-schemas list.
|
|
135
161
|
- `talonic://webhooks/reference`: webhook event types, delivery behavior, signature verification algorithms, and retry policies. Use this when an agent needs to set up or troubleshoot a webhook integration without leaving the MCP context.
|
|
136
162
|
|
|
@@ -139,32 +165,37 @@ Two resources are also exposed for clients that browse them separately (Claude D
|
|
|
139
165
|
Pick the right tool before you call. The wrong tool returns the wrong data, costs unnecessary credits, and slows the conversation.
|
|
140
166
|
|
|
141
167
|
**User has a file (or just dropped one in)**
|
|
168
|
+
|
|
142
169
|
- They want specific fields (vendor, total, dates, parties): `talonic_extract` with `schema` or `schema_id`.
|
|
143
170
|
- They want full text content for summarisation, translation, or analysis: `talonic_to_markdown`.
|
|
144
171
|
- They want both: `talonic_extract` with `include_markdown: true`, one upload.
|
|
145
172
|
|
|
146
173
|
**User is asking about existing documents**
|
|
174
|
+
|
|
147
175
|
- Conceptual or fuzzy ("any docs about indemnification"): `talonic_search`.
|
|
148
176
|
- Value-based on extracted fields ("invoices over 1000 EUR"): `talonic_filter`.
|
|
149
177
|
- They reference a `document_id`: `talonic_get_document` for metadata, `talonic_to_markdown` for text, `talonic_extract` to re-extract with a new schema. Re-using a `document_id` is cheaper than re-uploading.
|
|
150
178
|
|
|
151
179
|
**User is working with schemas**
|
|
180
|
+
|
|
152
181
|
- One-off extraction: pass schema inline.
|
|
153
182
|
- Same schema across many documents: `talonic_save_schema` once, then `talonic_extract` with `schema_id`.
|
|
154
183
|
- Discover existing schemas first: `talonic_list_schemas`.
|
|
155
184
|
- Iterate inline before saving. Avoid clutter.
|
|
156
185
|
|
|
157
186
|
**Confidence and human review**
|
|
187
|
+
|
|
158
188
|
- `confidence.overall` below ~0.7: tell the user the extraction may be unreliable, surface low-confidence fields, confirm before any downstream action.
|
|
159
189
|
- Per-field confidence below ~0.7: mark as "needs review", do not use silently in calculations or external API calls.
|
|
160
190
|
- Critical fields (amounts, legal terms, names, dates): confirm with user before acting, even at high confidence.
|
|
161
191
|
- Per-field source provenance (page, section, source text snippet) is available by passing `include_provenance: true` on `talonic_extract`. Use it when the user wants to cite the source of a value or verify against the original document.
|
|
162
192
|
|
|
163
193
|
**When not to call Talonic**
|
|
194
|
+
|
|
164
195
|
- General-knowledge or chat questions. Do not pre-emptively extract.
|
|
165
196
|
- The data is already in conversation history from a previous tool call. Re-use it.
|
|
166
197
|
- The user wants to discuss or revise an extraction you already produced. Reason over the previous result instead of re-extracting.
|
|
167
|
-
-
|
|
198
|
+
- For cost or balance questions, call `talonic_get_balance` to read the workspace's credit balance, EUR value, 30-day burn rate, projected runway, tier, and next reset. Per-call cost is also surfaced on every `talonic_extract` and `talonic_to_markdown` response under the `cost` field.
|
|
168
199
|
|
|
169
200
|
## Drag-and-drop in chat clients
|
|
170
201
|
|
|
@@ -204,10 +235,10 @@ Each tool call is one HTTP request to the Talonic API, using your API key. The s
|
|
|
204
235
|
|
|
205
236
|
Set via the `env` block in your MCP client config:
|
|
206
237
|
|
|
207
|
-
| Variable
|
|
208
|
-
|
|
209
|
-
| `TALONIC_API_KEY`
|
|
210
|
-
| `TALONIC_BASE_URL` | no
|
|
238
|
+
| Variable | Required | Description |
|
|
239
|
+
| ------------------ | -------- | -------------------------------------------------------------- |
|
|
240
|
+
| `TALONIC_API_KEY` | yes | Your Talonic API key. Starts with `tlnc_`. |
|
|
241
|
+
| `TALONIC_BASE_URL` | no | Override the API base URL. Default: `https://api.talonic.com`. |
|
|
211
242
|
|
|
212
243
|
## Troubleshooting
|
|
213
244
|
|
|
@@ -250,7 +281,7 @@ Some MCP clients cache tool descriptions. Restart the client after a server upda
|
|
|
250
281
|
- **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.
|
|
251
282
|
- **`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.
|
|
252
283
|
- **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).
|
|
253
|
-
- **
|
|
284
|
+
- **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`.
|
|
254
285
|
|
|
255
286
|
## Upgrading from 0.1.0 / 0.1.1 / 0.1.2
|
|
256
287
|
|
package/dist/content.js
CHANGED
|
@@ -112,7 +112,7 @@ var sections = [
|
|
|
112
112
|
},
|
|
113
113
|
{
|
|
114
114
|
type: "paragraph",
|
|
115
|
-
text: "Installation takes under a minute
|
|
115
|
+
text: "Installation takes under a minute. The recommended path is the hosted endpoint at `mcp.talonic.com` connected via Claude.ai's custom-connector flow, which uses OAuth 2.1 with PKCE and Dynamic Client Registration so no API key is pasted into config. For IDE-style clients, the local `npx` option uses a `TALONIC_API_KEY` environment variable and runs on any machine with Node.js 18 or later. A third path keeps the hosted endpoint but supplies a `Bearer tlnc_\u2026` header for clients that do not yet handle the OAuth handshake."
|
|
116
116
|
},
|
|
117
117
|
{
|
|
118
118
|
type: "paragraph",
|
|
@@ -417,6 +417,11 @@ var sections = [
|
|
|
417
417
|
type: "paragraph",
|
|
418
418
|
text: "Each user runs against their own isolated Talonic workspace. Your documents and schemas are private to you."
|
|
419
419
|
},
|
|
420
|
+
{
|
|
421
|
+
type: "callout",
|
|
422
|
+
variant: "info",
|
|
423
|
+
text: "If you are connecting from Claude.ai's custom-connector flow, you can skip the API-key steps below. The connector launches an OAuth 2.1 sign-in to `app.talonic.com` and the MCP server then uses a short-lived bearer token on your behalf. Get an API key when you want to install locally via `npx`, drive the hosted endpoint from a custom-header client, or use the Node SDK."
|
|
424
|
+
},
|
|
420
425
|
{
|
|
421
426
|
type: "list",
|
|
422
427
|
ordered: true,
|
|
@@ -545,28 +550,45 @@ var sections2 = [
|
|
|
545
550
|
content: [
|
|
546
551
|
{
|
|
547
552
|
type: "paragraph",
|
|
548
|
-
text: "
|
|
553
|
+
text: "Three ways to connect. The recommended path for Claude.ai users is the hosted MCP via the **OAuth connector flow**: paste one URL into Claude.ai's connector settings, sign in with your Talonic account, approve the consent screen. No API key in your config, ever. For IDE-style clients (Cursor, Cline, Continue, Cowork) and Claude Desktop, the local `npx` install is the canonical path. A third hosted option, with the Talonic API key in an `Authorization` header, exists for clients that support custom headers on remote MCP servers."
|
|
554
|
+
},
|
|
555
|
+
{
|
|
556
|
+
type: "heading",
|
|
557
|
+
level: 3,
|
|
558
|
+
id: "hosted-claude-ai",
|
|
559
|
+
text: "Hosted via Claude.ai connector (OAuth, recommended)"
|
|
549
560
|
},
|
|
550
|
-
{ type: "heading", level: 3, id: "hosted-recommended", text: "Hosted (recommended)" },
|
|
551
561
|
{
|
|
552
562
|
type: "paragraph",
|
|
553
|
-
text: "
|
|
563
|
+
text: "Claude.ai's `Add custom connector` flow does the OAuth 2.1 handshake for you. The MCP server lives at `https://mcp.talonic.com/mcp`; Claude.ai discovers the authorization server, registers itself dynamically (RFC 7591), and runs the PKCE authorization-code flow. The resulting access token is stored by Claude.ai and refreshed automatically (1-hour access token, 30-day refresh)."
|
|
554
564
|
},
|
|
555
565
|
{
|
|
556
|
-
type: "
|
|
557
|
-
|
|
558
|
-
|
|
559
|
-
|
|
560
|
-
|
|
561
|
-
|
|
562
|
-
|
|
566
|
+
type: "list",
|
|
567
|
+
ordered: true,
|
|
568
|
+
items: [
|
|
569
|
+
"Open `https://claude.ai/settings/connectors`.",
|
|
570
|
+
"Click **Add custom connector**.",
|
|
571
|
+
"URL: `https://mcp.talonic.com/mcp` \u2014 no query string, no headers.",
|
|
572
|
+
"Click **Connect**. You are redirected to Talonic to sign in.",
|
|
573
|
+
"Sign in with Google, Microsoft, or your company SSO.",
|
|
574
|
+
"Approve the consent screen. The requested scopes are `extract:write`, `documents:read`, and `schemas:read`. Pick a workspace if you have multiple.",
|
|
575
|
+
"You are returned to Claude.ai with the connector live. All eight tools are available in any new conversation."
|
|
576
|
+
]
|
|
563
577
|
},
|
|
564
578
|
{
|
|
565
579
|
type: "paragraph",
|
|
566
|
-
text: "
|
|
580
|
+
text: "No API key appears in the connector config or in any URL the browser navigates to. To revoke access, remove the connector in Claude.ai or revoke the OAuth client from your Talonic dashboard. Your tools and tokens are scoped to the workspace you picked at consent time."
|
|
581
|
+
},
|
|
582
|
+
{
|
|
583
|
+
type: "heading",
|
|
584
|
+
level: 3,
|
|
585
|
+
id: "local-npx",
|
|
586
|
+
text: "Local stdio (npx)"
|
|
587
|
+
},
|
|
588
|
+
{
|
|
589
|
+
type: "paragraph",
|
|
590
|
+
text: "Recommended for IDE-style clients (Cursor, Cline, Continue, Cowork) and Claude Desktop, where the MCP host spawns the server as a local child process. Requires Node.js 18+. Your API key lives in the client's `env` block."
|
|
567
591
|
},
|
|
568
|
-
{ type: "heading", level: 3, id: "local-npx", text: "Local (npx)" },
|
|
569
|
-
{ type: "paragraph", text: "Runs on your machine. Requires Node.js 18+:" },
|
|
570
592
|
{
|
|
571
593
|
type: "code",
|
|
572
594
|
language: "jsonc",
|
|
@@ -579,11 +601,30 @@ var sections2 = [
|
|
|
579
601
|
},
|
|
580
602
|
{
|
|
581
603
|
type: "paragraph",
|
|
582
|
-
text: "The `-y` flag skips the npm install prompt. Pinning to `@latest` means new versions are picked up on the next client restart."
|
|
604
|
+
text: "The `-y` flag skips the npm install prompt. Pinning to `@latest` means new versions are picked up on the next client restart. For production deployments and CI, pin to a specific version (e.g. `@talonic/mcp@0.1.27`) so a future release cannot silently change tool descriptions, validation rules, or response shapes."
|
|
605
|
+
},
|
|
606
|
+
{
|
|
607
|
+
type: "heading",
|
|
608
|
+
level: 3,
|
|
609
|
+
id: "hosted-bearer",
|
|
610
|
+
text: "Hosted with a Bearer header (custom-header clients)"
|
|
583
611
|
},
|
|
584
612
|
{
|
|
585
613
|
type: "paragraph",
|
|
586
|
-
text: "
|
|
614
|
+
text: "For MCP clients that support remote servers with custom headers (mcp-inspector, custom integrations), connect to the hosted endpoint with the API key in an `Authorization` header. Claude.ai's connector UI does not currently support custom headers, which is why the OAuth flow above is the recommended path for Claude.ai users."
|
|
615
|
+
},
|
|
616
|
+
{
|
|
617
|
+
type: "code",
|
|
618
|
+
language: "jsonc",
|
|
619
|
+
title: "Hosted config (custom-header clients)",
|
|
620
|
+
code: `{
|
|
621
|
+
"url": "https://mcp.talonic.com/mcp",
|
|
622
|
+
"headers": { "Authorization": "Bearer tlnc_..." }
|
|
623
|
+
}`
|
|
624
|
+
},
|
|
625
|
+
{
|
|
626
|
+
type: "paragraph",
|
|
627
|
+
text: "All three install paths expose the same eight tools and two resources. The hosted server runs the latest version of `@talonic/mcp` automatically; the local `npx` install picks up the latest version on next client restart when pinned to `@latest`."
|
|
587
628
|
},
|
|
588
629
|
{
|
|
589
630
|
type: "heading",
|
|
@@ -1620,7 +1661,12 @@ var sections3 = [
|
|
|
1620
1661
|
type: "paragraph",
|
|
1621
1662
|
text: "The following operators are available for filter conditions: `eq` (equals), `neq` (not equals), `gt` (greater than), `gte` (greater than or equal), `lt` (less than), `lte` (less than or equal), `between` (range, requires a two-element array as value), `contains` (substring match), `starts_with`, `ends_with`, and `is_empty` (checks for null or empty values). Numeric operators (`gt`, `gte`, `lt`, `lte`, `between`) only work on fields typed as `number` in the schema \u2014 using them on string fields silently returns zero results."
|
|
1622
1663
|
},
|
|
1623
|
-
{
|
|
1664
|
+
{
|
|
1665
|
+
type: "heading",
|
|
1666
|
+
level: 3,
|
|
1667
|
+
id: "filter-combined-example",
|
|
1668
|
+
text: "Example: combined search and filter"
|
|
1669
|
+
},
|
|
1624
1670
|
{
|
|
1625
1671
|
type: "code",
|
|
1626
1672
|
language: "json",
|
|
@@ -1742,7 +1788,12 @@ var sections3 = [
|
|
|
1742
1788
|
}
|
|
1743
1789
|
}`
|
|
1744
1790
|
},
|
|
1745
|
-
{
|
|
1791
|
+
{
|
|
1792
|
+
type: "heading",
|
|
1793
|
+
level: 3,
|
|
1794
|
+
id: "get-document-workflow",
|
|
1795
|
+
text: "Example: human-in-the-loop verification"
|
|
1796
|
+
},
|
|
1746
1797
|
{
|
|
1747
1798
|
type: "code",
|
|
1748
1799
|
language: "json",
|
|
@@ -1876,7 +1927,12 @@ Musterstra\xDFe 42, 10115 Berlin
|
|
|
1876
1927
|
Due date: 15 June 2026
|
|
1877
1928
|
Payment terms: Net 30`
|
|
1878
1929
|
},
|
|
1879
|
-
{
|
|
1930
|
+
{
|
|
1931
|
+
type: "heading",
|
|
1932
|
+
level: 3,
|
|
1933
|
+
id: "to-markdown-url-example",
|
|
1934
|
+
text: "Example: convert from URL"
|
|
1935
|
+
},
|
|
1880
1936
|
{
|
|
1881
1937
|
type: "code",
|
|
1882
1938
|
language: "json",
|
|
@@ -2014,7 +2070,12 @@ Payment terms: Net 30`
|
|
|
2014
2070
|
]
|
|
2015
2071
|
}`
|
|
2016
2072
|
},
|
|
2017
|
-
{
|
|
2073
|
+
{
|
|
2074
|
+
type: "heading",
|
|
2075
|
+
level: 3,
|
|
2076
|
+
id: "list-schemas-workflow",
|
|
2077
|
+
text: "Example: check for duplicates before saving"
|
|
2078
|
+
},
|
|
2018
2079
|
{
|
|
2019
2080
|
type: "code",
|
|
2020
2081
|
language: "json",
|
|
@@ -2177,7 +2238,12 @@ Payment terms: Net 30`
|
|
|
2177
2238
|
"field_count": 5
|
|
2178
2239
|
}`
|
|
2179
2240
|
},
|
|
2180
|
-
{
|
|
2241
|
+
{
|
|
2242
|
+
type: "heading",
|
|
2243
|
+
level: 3,
|
|
2244
|
+
id: "save-schema-workflow",
|
|
2245
|
+
text: "Example: iterate inline then save"
|
|
2246
|
+
},
|
|
2181
2247
|
{
|
|
2182
2248
|
type: "code",
|
|
2183
2249
|
language: "json",
|
|
@@ -2351,7 +2417,12 @@ Payment terms: Net 30`
|
|
|
2351
2417
|
"tier_resets_at": "2026-06-01T00:00:00.000Z"
|
|
2352
2418
|
}`
|
|
2353
2419
|
},
|
|
2354
|
-
{
|
|
2420
|
+
{
|
|
2421
|
+
type: "heading",
|
|
2422
|
+
level: 3,
|
|
2423
|
+
id: "balance-budget-check",
|
|
2424
|
+
text: "Example: budget check before batch extraction"
|
|
2425
|
+
},
|
|
2355
2426
|
{
|
|
2356
2427
|
type: "code",
|
|
2357
2428
|
language: "json",
|
|
@@ -2877,7 +2948,17 @@ var sections6 = [
|
|
|
2877
2948
|
},
|
|
2878
2949
|
{
|
|
2879
2950
|
type: "paragraph",
|
|
2880
|
-
text: "If every tool call returns an authentication error, the
|
|
2951
|
+
text: "If every tool call returns an authentication error, the credential the server is using is missing, malformed, or revoked. For the local npx option, check that the `env` block in your config has the correct variable name (`TALONIC_API_KEY`, not `TALONIC_KEY` or `API_KEY`) and that the value starts with `tlnc_`. For the hosted server with a custom-header client, verify the `Authorization` header is formatted as `Bearer tlnc_...` with a space after `Bearer`. For the Claude.ai connector OAuth flow, see the OAuth-specific entry below."
|
|
2952
|
+
},
|
|
2953
|
+
{
|
|
2954
|
+
type: "heading",
|
|
2955
|
+
level: 3,
|
|
2956
|
+
id: "oauth-flow",
|
|
2957
|
+
text: "Claude.ai connector: stuck on sign-in or callback"
|
|
2958
|
+
},
|
|
2959
|
+
{
|
|
2960
|
+
type: "paragraph",
|
|
2961
|
+
text: "The Claude.ai custom-connector flow uses OAuth 2.1 with PKCE against `app.talonic.com`. If the sign-in window opens but does not return to Claude.ai, or the connector reports `disconnected` after authorising, walk through these checks. Make sure you are signed in to the same Talonic account in `app.talonic.com` that owns the workspace you want to use. Allow third-party cookies for `app.talonic.com` and `claude.ai`; some browsers block the post-consent redirect otherwise. After granting consent, you should be redirected back to Claude.ai automatically; if the tab stays on `app.talonic.com`, click the Talonic logo or close the tab and reopen the connector to retry. If you have multiple Talonic accounts, sign out of `app.talonic.com` first, then start the connector flow again so the right account is used. As a last resort, remove the connector in Claude.ai and add it again with `https://mcp.talonic.com/mcp` as the URL."
|
|
2881
2962
|
},
|
|
2882
2963
|
{
|
|
2883
2964
|
type: "heading",
|