@talonic/mcp 0.1.25 → 0.1.26

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.
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/content/seo.ts","../src/content/helpers.ts","../src/content/sections/overview.ts","../src/content/sections/install.ts","../src/content/sections/tools.ts","../src/content/sections/features.ts","../src/content/sections/configuration.ts","../src/content/sections/troubleshooting.ts","../src/content/index.ts"],"names":["sections"],"mappings":";AAEO,IAAM,gBAAA,GAAiC;AAAA,EAC5C;AAAA,IACE,EAAA,EAAI,UAAA;AAAA,IACJ,KAAA,EAAO,UAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,cAAA,EAAe;AAAA,MAChD,EAAE,EAAA,EAAI,SAAA,EAAW,KAAA,EAAO,cAAA,EAAe;AAAA,MACvC,EAAE,EAAA,EAAI,aAAA,EAAe,KAAA,EAAO,gBAAA;AAAiB;AAC/C,GACF;AAAA,EACA;AAAA,IACE,EAAA,EAAI,SAAA;AAAA,IACJ,KAAA,EAAO,SAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,UAAA,EAAW;AAAA,MAC5C,EAAE,EAAA,EAAI,gBAAA,EAAkB,KAAA,EAAO,gBAAA,EAAiB;AAAA,MAChD,EAAE,EAAA,EAAI,QAAA,EAAU,KAAA,EAAO,QAAA,EAAS;AAAA,MAChC,EAAE,EAAA,EAAI,OAAA,EAAS,KAAA,EAAO,OAAA,EAAQ;AAAA,MAC9B,EAAE,EAAA,EAAI,UAAA,EAAY,KAAA,EAAO,UAAA,EAAW;AAAA,MACpC,EAAE,EAAA,EAAI,QAAA,EAAU,KAAA,EAAO,QAAA;AAAS;AAClC,GACF;AAAA,EACA;AAAA,IACE,EAAA,EAAI,OAAA;AAAA,IACJ,KAAA,EAAO,gBAAA;AAAA,IACP,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SAAAA;AAAA,EACH,GAAGA,SAAAA;AAAA,EACH,GAAGA,SAAAA;AAAA,EACH,GAAGA,SAAAA;AAAA,EACH,GAAGA;AACL,CAAA;AAMA,SAAS,OAAO,GAAA,EAAiC;AAC/C,EAAA,OAAO,GAAA,CAAI,GAAA,CAAI,CAAC,CAAA,KAAM;AACpB,IAAA,MAAM,EAAE,IAAA,EAAM,IAAA,KAAS,cAAA,CAAe,gBAAA,EAAkB,EAAE,IAAI,CAAA;AAC9D,IAAA,OAAO;AAAA,MACL,GAAG,CAAA;AAAA,MACH,WAAA,EAAa,iBAAA,CAAkB,gBAAA,EAAkB,CAAA,CAAE,IAAI,CAAA;AAAA,MACvD,IAAA;AAAA,MACA;AAAA,KACF;AAAA,EACF,CAAC,CAAA;AACH;AAEA,IAAI,SAAA,GAAiC,IAAA;AAErC,SAAS,cAAA,GAA+B;AACtC,EAAA,IAAI,CAAC,SAAA,EAAW;AACd,IAAA,SAAA,GAAY,OAAO,OAAO,CAAA;AAAA,EAC5B;AACA,EAAA,OAAO,SAAA;AACT;AAOO,SAAS,cAAc,IAAA,EAAiC;AAC7D,EAAA,OAAO,cAAA,GAAiB,IAAA,CAAK,CAAC,MAAM,CAAA,CAAE,IAAA,KAAS,IAAI,CAAA,IAAK,IAAA;AAC1D;AAGO,SAAS,iBAAA,GAAkC;AAChD,EAAA,OAAO,cAAA,EAAe;AACxB","file":"content.js","sourcesContent":["import type { NavSection } from \"./types\"\n\nexport const MCP_NAV_SECTIONS: NavSection[] = [\n {\n id: \"overview\",\n label: \"Overview\",\n children: [\n { id: \"mcp-introduction\", label: \"Introduction\" },\n { id: \"why-mcp\", label: \"Why Use This\" },\n { id: \"get-api-key\", label: \"Get an API Key\" },\n ],\n },\n {\n id: \"install\",\n label: \"Install\",\n children: [\n { id: \"install-overview\", label: \"Overview\" },\n { id: \"claude-desktop\", label: \"Claude Desktop\" },\n { id: \"cursor\", label: \"Cursor\" },\n { id: \"cline\", label: \"Cline\" },\n { id: \"continue\", label: \"Continue\" },\n { id: \"cowork\", label: \"Cowork\" },\n ],\n },\n {\n id: \"tools\",\n label: \"Tool Reference\",\n children: [\n { id: \"talonic-extract\", label: \"talonic_extract\" },\n { id: \"talonic-search\", label: \"talonic_search\" },\n { id: \"talonic-filter\", label: \"talonic_filter\" },\n { id: \"talonic-get-document\", label: \"talonic_get_document\" },\n { id: \"talonic-to-markdown\", label: \"talonic_to_markdown\" },\n { id: \"talonic-list-schemas\", label: \"talonic_list_schemas\" },\n { id: \"talonic-save-schema\", label: \"talonic_save_schema\" },\n ],\n },\n {\n id: \"features\",\n label: \"Features\",\n children: [\n { id: \"drag-and-drop\", label: \"Drag & Drop Files\" },\n { id: \"how-it-works\", label: \"How It Works\" },\n ],\n },\n {\n id: \"configuration\",\n label: \"Configuration\",\n children: [{ id: \"env-variables\", label: \"Environment Variables\" }],\n },\n {\n id: \"troubleshooting\",\n label: \"Troubleshooting\",\n children: [\n { id: \"common-issues\", label: \"Common Issues\" },\n { id: \"known-limitations\", label: \"Known Limitations\" },\n { id: \"upgrading\", label: \"Upgrading\" },\n ],\n },\n]\n","// ---------------------------------------------------------------------------\n// Pure functions that derive breadcrumbs and prev/next from nav structure.\n// ---------------------------------------------------------------------------\n\ninterface NavChild {\n id: string\n label: string\n}\n\ninterface NavGroup {\n id: string\n label: string\n children?: NavChild[]\n}\n\nexport function deriveBreadcrumbs(\n sections: NavGroup[],\n leafId: string,\n): { label: string; slug: string }[] {\n const root = { label: \"MCP Server\", slug: \"mcp\" }\n\n for (const group of sections) {\n const child = group.children?.find((c) => c.id === leafId)\n if (child) {\n return [root, { label: group.label, slug: group.id }, { label: child.label, slug: child.id }]\n }\n }\n\n const topLevel = sections.find((s) => s.id === leafId)\n if (topLevel) {\n return [root, { label: topLevel.label, slug: topLevel.id }]\n }\n\n return [root]\n}\n\nexport function derivePrevNext(\n sections: NavGroup[],\n leafId: string,\n): { prev: { slug: string; label: string } | null; next: { slug: string; label: string } | null } {\n const flat: NavChild[] = sections.flatMap((s) => s.children ?? [{ id: s.id, label: s.label }])\n\n const idx = flat.findIndex((c) => c.id === leafId)\n if (idx === -1) return { prev: null, next: null }\n\n const prevItem = idx > 0 ? flat[idx - 1] : undefined\n const nextItem = idx < flat.length - 1 ? flat[idx + 1] : undefined\n\n return {\n prev: prevItem ? { slug: prevItem.id, label: prevItem.label } : null,\n next: nextItem ? { slug: nextItem.id, label: nextItem.label } : null,\n }\n}\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"mcp-introduction\",\n parentSlug: \"overview\",\n title: \"Introduction\",\n seoTitle: \"MCP Server Introduction — Talonic Docs\",\n description:\n \"Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the Model Context Protocol.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the [Model Context Protocol](https://modelcontextprotocol.io).\",\n },\n {\n type: \"paragraph\",\n text: \"Eight tools and two resources: `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.\",\n },\n {\n type: \"paragraph\",\n text: \"Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. Verified end-to-end against production.\",\n },\n ],\n related: [\n { label: \"Why Use This\", slug: \"why-mcp\" },\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Node SDK\", slug: \"introduction\" },\n ],\n faq: [\n {\n question: \"What is the Talonic MCP server?\",\n answer:\n \"An official MCP server that gives AI agents (Claude Desktop, Cursor, Cline, etc.) the ability to extract structured data from documents using the Model Context Protocol.\",\n },\n {\n question: \"Is the Talonic MCP server on the official MCP Registry?\",\n answer:\n \"Yes. It is listed as io.github.talonicdev/talonic-mcp on registry.modelcontextprotocol.io, maintained by Anthropic and the MCP steering group.\",\n },\n ],\n mentions: [\"MCP\", \"Model Context Protocol\", \"AI agents\", \"document extraction\"],\n },\n {\n slug: \"why-mcp\",\n parentSlug: \"overview\",\n title: \"Why Use This\",\n seoTitle: \"Why Talonic MCP — Talonic Docs\",\n description:\n \"Why AI agents should use the Talonic MCP server instead of raw OCR plus LLM calls for document extraction.\",\n content: [\n {\n type: \"paragraph\",\n text: \"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.\",\n },\n {\n type: \"paragraph\",\n text: \"With this MCP server installed, the agent has a `talonic_extract` tool that returns schema-validated JSON with per-field confidence scores, a detected document type, and stable IDs for follow-up calls. Seven other tools cover the rest of the workflow: searching the workspace, filtering by extracted field values, fetching a document's metadata, getting OCR markdown, listing saved schemas, saving new ones, and reading the workspace credit balance for budget-aware behaviour.\",\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Get an API Key\", slug: \"get-api-key\" },\n ],\n faq: [\n {\n question: \"Why use Talonic MCP instead of OCR + LLM?\",\n answer:\n \"Raw OCR + LLM calls produce unreliable results — mangled tables, misread dates, drifting totals. Talonic returns schema-validated JSON with per-field confidence scores and stable IDs for follow-up calls.\",\n },\n ],\n mentions: [\"OCR\", \"schema-validated\", \"confidence scores\", \"structured data\"],\n },\n {\n slug: \"agent-decision-guide\",\n parentSlug: \"overview\",\n title: \"Agent Decision Guide\",\n seoTitle: \"Agent Decision Guide — Talonic MCP\",\n description:\n \"How an AI agent should pick between Talonic's tools, handle low-confidence results, and avoid unnecessary calls.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Use this guide to pick the right Talonic tool for the user's request. Match the user's intent to one of the scenarios below before calling a tool. The wrong tool returns the wrong data, costs unnecessary credits, and slows the conversation.\",\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-extract-vs-markdown\",\n text: \"User has a file (or just dropped one in)\",\n },\n {\n type: \"list\",\n items: [\n \"**They want specific fields**: vendor, total, dates, parties, line items. Use `talonic_extract` with a `schema` (full JSON Schema is most reliable) or a `schema_id` from `talonic_list_schemas`. Schema is required; the MCP layer rejects schema-less calls.\",\n \"**They want the full text content**, e.g. for summarisation, translation, or general analysis. Use `talonic_to_markdown`. It returns OCR-converted markdown without forcing a schema.\",\n \"**They want both**: extract once with a schema (which also yields markdown when `include_markdown: true` is set), avoiding two uploads.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-find-existing\",\n text: \"User is asking about existing documents in the workspace\",\n },\n {\n type: \"list\",\n items: [\n \"**Conceptual or fuzzy** (e.g. 'do I have any docs about indemnification?', 'find Acme contracts'): use `talonic_search`.\",\n \"**Value-based on extracted fields** (e.g. 'invoices over 1000 EUR', 'contracts expiring before 2026-12-31'): use `talonic_filter`. `is_not_empty` is not exposed in v0.1; for presence checks against populated fields, filter against a known value or use `is_empty` and invert client-side.\",\n \"**They reference a specific document_id**: use `talonic_get_document` for metadata, `talonic_to_markdown` (with `document_id`) for text, or `talonic_extract` (with `document_id`) to re-extract with a new schema. Re-using a document_id is cheaper than re-uploading.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-schema-mgmt\",\n text: \"User is working with schemas\",\n },\n {\n type: \"list\",\n items: [\n \"**One-off extraction**: pass the schema inline on `talonic_extract`. Do not save it.\",\n \"**The same schema across many documents**: call `talonic_save_schema` once, then pass the returned id (UUID or `SCH-XXXXXXXX`) as `schema_id` on every future `talonic_extract` call. Either id form is accepted.\",\n \"**Discovering existing schemas** before designing a new one: call `talonic_list_schemas`. The `talonic://schemas` resource is the same list rendered as a browseable resource for clients that support it.\",\n \"**Avoid clutter**: do not save a schema until the user has reviewed and confirmed the design. Iterate inline first.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-confidence\",\n text: \"Handling confidence and human review\",\n },\n {\n type: \"paragraph\",\n text: \"Every `talonic_extract` response includes `confidence.overall` (0..1) and `confidence.fields` (per-field 0..1). Use these to decide when to escalate.\",\n },\n {\n type: \"list\",\n items: [\n \"**`confidence.overall` below ~0.7**: tell the user the extraction may be unreliable, show the top low-confidence fields, and ask them to confirm before taking any downstream action (payment, contract execution, data import).\",\n \"**Per-field confidence below ~0.7**: surface those fields with a 'needs review' marker. Do not silently use them in calculations or external API calls.\",\n \"**Critical fields at any confidence**: financial amounts, legal terms, names, dates. Always confirm with the user before acting on them, even at high confidence.\",\n \"**Provenance is not surfaced in v0.1.** Per-field source page or bounding box is not in the response. If the user needs to verify a specific field against the source, send them to the document via `links.dashboard` from the response.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-not-call\",\n text: \"When not to call Talonic\",\n },\n {\n type: \"list\",\n items: [\n \"**The user's question is general knowledge or conversation.** Do not pre-emptively extract or search.\",\n \"**The needed data is already in conversation history** from a previous tool call. Re-use it. Repeat calls cost credits and slow the response.\",\n \"**The user wants to discuss or revise** an extraction you already produced. Reason over the previous result instead of re-extracting.\",\n \"**Schema design iteration**. Iterate the schema with the user via `talonic_extract` with an inline schema; only call `talonic_save_schema` once they confirm.\",\n \"**Cost, EUR price, and remaining credit balance are not surfaced in v0.1 tool responses.** If the user asks 'how much will this cost' or 'how many credits do I have left', point them to the Talonic dashboard at https://app.talonic.com.\",\n ],\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"talonic_filter\", slug: \"talonic-filter\" },\n { label: \"talonic_search\", slug: \"talonic-search\" },\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n ],\n faq: [\n {\n question: \"When should an agent use talonic_extract vs talonic_to_markdown?\",\n answer:\n \"Use talonic_extract when the user wants specific structured fields (with a schema). Use talonic_to_markdown when the user wants the full text content for summarisation or analysis without a schema.\",\n },\n {\n question: \"When should an agent use talonic_search vs talonic_filter?\",\n answer:\n \"Use talonic_search for conceptual or fuzzy queries across the workspace. Use talonic_filter when the user wants documents matching specific structured field values like 'invoices over 1000 EUR'.\",\n },\n {\n question: \"How should an agent handle low-confidence extractions?\",\n answer:\n \"Treat confidence below ~0.7 as needing human review. Surface low-confidence fields explicitly and confirm critical fields (amounts, dates, names) with the user before any downstream action.\",\n },\n ],\n mentions: [\"decision guide\", \"agent\", \"tool selection\", \"confidence\", \"human review\", \"cost\"],\n },\n {\n slug: \"get-api-key\",\n parentSlug: \"overview\",\n title: \"Get an API Key\",\n seoTitle: \"Get an API Key — Talonic MCP\",\n description:\n \"Get a Talonic API key in 30 seconds. Each user runs against their own isolated workspace with private documents and schemas.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Each user runs against their own isolated Talonic workspace. Your documents and schemas are private to you.\",\n },\n {\n type: \"list\",\n ordered: true,\n items: [\n \"Sign up at [app.talonic.com](https://app.talonic.com). Free tier: 50 extractions per day, no credit card.\",\n \"Settings → API Keys → Create New Key.\",\n \"Copy the `tlnc_` value into your MCP client config (snippets below).\",\n ],\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Install Overview\", slug: \"install-overview\" },\n ],\n faq: [\n {\n question: \"How do I get a Talonic API key for MCP?\",\n answer:\n \"Sign up at app.talonic.com (free, no credit card), go to Settings > API Keys > Create New Key, and copy the tlnc_ value into your MCP client config.\",\n },\n ],\n mentions: [\"API key\", \"tlnc_\", \"free tier\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nconst MCP_HOSTED_SNIPPET = `{\n \"mcpServers\": {\n \"talonic\": {\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": {\n \"Authorization\": \"Bearer tlnc_your_key_here\"\n }\n }\n }\n}`\n\nconst MCP_CONFIG_SNIPPET = `{\n \"mcpServers\": {\n \"talonic\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": {\n \"TALONIC_API_KEY\": \"tlnc_your_key_here\"\n }\n }\n }\n}`\n\nexport const sections: RawSection[] = [\n {\n slug: \"install-overview\",\n parentSlug: \"install\",\n title: \"Install Overview\",\n seoTitle: \"Install Talonic MCP — Talonic Docs\",\n description:\n \"Install the Talonic MCP server with a one-line npx invocation. No clone, no build. Works with every MCP client.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Two ways to connect. The hosted server at `mcp.talonic.com` requires zero install — paste one URL into any MCP client. Or run locally via `npx` if you prefer.\",\n },\n { type: \"heading\", level: 3, id: \"hosted-recommended\", text: \"Hosted (recommended)\" },\n {\n type: \"paragraph\",\n text: \"No install, no Node.js required. Works with every MCP client that supports remote servers:\",\n },\n {\n type: \"code\",\n language: \"jsonc\",\n title: \"Hosted config\",\n code: `{\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": { \"Authorization\": \"Bearer tlnc_...\" }\n}`,\n },\n { type: \"heading\", level: 3, id: \"local-npx\", text: \"Local (npx)\" },\n { type: \"paragraph\", text: \"Runs on your machine. Requires Node.js 18+:\" },\n {\n type: \"code\",\n language: \"jsonc\",\n title: \"Local config\",\n code: `{\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": { \"TALONIC_API_KEY\": \"tlnc_...\" }\n}`,\n },\n {\n type: \"paragraph\",\n text: \"The `-y` flag skips the npm install prompt. Pinning to `@latest` means new versions are picked up on the next client restart.\",\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Cursor\", slug: \"cursor\" },\n ],\n faq: [\n {\n question: \"How do I install the Talonic MCP server?\",\n answer:\n \"Use the hosted server at mcp.talonic.com/mcp — just set the URL and your API key in any MCP client config. No install needed. Alternatively, run locally via npx @talonic/mcp.\",\n },\n ],\n mentions: [\"npx\", \"npm\", \"MCP client\", \"install\"],\n },\n {\n slug: \"claude-desktop\",\n parentSlug: \"install\",\n title: \"Claude Desktop\",\n seoTitle: \"Claude Desktop Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Claude Desktop on macOS and Windows.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\\\Claude\\\\claude_desktop_config.json` (Windows).\",\n },\n { type: \"heading\", level: 3, id: \"claude-desktop-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"claude-desktop-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n {\n type: \"paragraph\",\n text: \"Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all eight tools.\",\n },\n ],\n related: [\n { label: \"Cursor\", slug: \"cursor\" },\n { label: \"Tool Reference\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic to Claude Desktop?\",\n answer:\n \"Edit claude_desktop_config.json, add the Talonic MCP server config with your API key, and fully restart Claude Desktop (Cmd+Q on macOS).\",\n },\n ],\n mentions: [\"Claude Desktop\", \"macOS\", \"Windows\"],\n },\n {\n slug: \"cursor\",\n parentSlug: \"install\",\n title: \"Cursor\",\n seoTitle: \"Cursor Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Cursor IDE.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Edit `~/.cursor/mcp.json` (or open Cursor settings → MCP → edit config):\",\n },\n { type: \"heading\", level: 3, id: \"cursor-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cursor-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Cline\", slug: \"cline\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cursor?\",\n answer: \"Edit ~/.cursor/mcp.json and add the Talonic MCP server config with your API key.\",\n },\n ],\n mentions: [\"Cursor\", \"IDE\"],\n },\n {\n slug: \"cline\",\n parentSlug: \"install\",\n title: \"Cline\",\n seoTitle: \"Cline Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in the Cline VS Code extension.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Open the Cline panel → settings (gear icon) → MCP Servers → Edit. Save and restart the panel.\",\n },\n { type: \"heading\", level: 3, id: \"cline-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cline-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n ],\n related: [\n { label: \"Continue\", slug: \"continue\" },\n { label: \"Cursor\", slug: \"cursor\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cline?\",\n answer:\n \"Open the Cline panel settings, go to MCP Servers, click Edit, and add the Talonic config entry.\",\n },\n ],\n mentions: [\"Cline\", \"VS Code\"],\n },\n {\n slug: \"continue\",\n parentSlug: \"install\",\n title: \"Continue\",\n seoTitle: \"Continue Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Continue for VS Code and JetBrains.\",\n content: [\n { type: \"paragraph\", text: \"Edit `~/.continue/config.json`. Add to the `mcpServers` array:\" },\n { type: \"heading\", level: 3, id: \"continue-hosted\", text: \"Hosted (recommended)\" },\n {\n type: \"code\",\n language: \"json\",\n code: `{\n \"name\": \"talonic\",\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": {\n \"Authorization\": \"Bearer tlnc_your_key_here\"\n }\n}`,\n },\n { type: \"heading\", level: 3, id: \"continue-local\", text: \"Local (npx)\" },\n {\n type: \"code\",\n language: \"json\",\n code: `{\n \"name\": \"talonic\",\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": {\n \"TALONIC_API_KEY\": \"tlnc_your_key_here\"\n }\n}`,\n },\n ],\n related: [\n { label: \"Cowork\", slug: \"cowork\" },\n { label: \"Cline\", slug: \"cline\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Continue?\",\n answer:\n \"Edit ~/.continue/config.json and add a Talonic entry to the mcpServers array with your API key.\",\n },\n ],\n mentions: [\"Continue\", \"VS Code\", \"JetBrains\"],\n },\n {\n slug: \"cowork\",\n parentSlug: \"install\",\n title: \"Cowork\",\n seoTitle: \"Cowork Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Cowork.\",\n content: [\n { type: \"paragraph\", text: \"Open Cowork settings → MCP Servers → Add.\" },\n { type: \"heading\", level: 3, id: \"cowork-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cowork-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Tool Reference\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cowork?\",\n answer:\n \"Open Cowork settings, go to MCP Servers, click Add, and paste the standard Talonic config with your API key.\",\n },\n ],\n mentions: [\"Cowork\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"talonic-extract\",\n parentSlug: \"tools\",\n title: \"talonic_extract\",\n seoTitle: \"talonic_extract Tool — Talonic MCP\",\n description:\n \"Extract structured, schema-validated data from a document. Returns clean JSON with per-field confidence scores.\",\n content: [\n { type: \"paragraph\", text: \"Extract structured, schema-validated data from a document.\" },\n {\n type: \"paragraph\",\n text: \"Inputs: one of `file_data` + `filename` (recommended for chat clients), `file_path`, `file_url`, or `document_id`, plus a `schema` (or `schema_id`). Returns clean JSON with per-field confidence scores.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"file_data\",\n type: \"string\",\n description: \"Base64-encoded file bytes. Recommended for chat clients (drag-and-drop).\",\n },\n {\n name: \"filename\",\n type: \"string\",\n description: \"Original filename (used for MIME type inference when using `file_data`).\",\n },\n { name: \"file_path\", type: \"string\", description: \"Local file path.\" },\n { name: \"file_url\", type: \"string\", description: \"Remote file URL.\" },\n {\n name: \"document_id\",\n type: \"string\",\n description: \"ID of a previously uploaded document.\",\n },\n {\n name: \"schema\",\n type: \"object\",\n description: \"Inline schema definition (JSON Schema or flat key-type map).\",\n },\n {\n name: \"schema_id\",\n type: \"string\",\n description: \"UUID or SCH-XXXXXXXX short ID of a saved schema.\",\n },\n {\n name: \"instructions\",\n type: \"string\",\n description: \"Natural-language guidance for the extractor.\",\n },\n {\n name: \"include_markdown\",\n type: \"boolean\",\n description: \"Include OCR markdown alongside structured data.\",\n },\n ],\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Always provide a `schema` or `schema_id`. Auto-discovery extract (no schema) is not reliable in v0.1.\",\n },\n { type: \"heading\", level: 3, id: \"extract-inline-schema\", text: \"Example: inline schema\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"file_url\": \"https://example.com/invoice-2026-001.pdf\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"line_items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": { \"type\": \"string\" },\n \"amount\": { \"type\": \"number\" }\n }\n }\n }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n },\n \"instructions\": \"Amounts are in EUR. Focus on the billing section.\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"extraction_id\": \"ext_8f3a...\",\n \"request_id\": \"req_2c91...\",\n \"status\": \"complete\",\n \"document\": {\n \"id\": \"doc_8f3a...\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"pages\": 2,\n \"type_detected\": \"invoice\",\n \"language_detected\": \"de\"\n },\n \"data\": {\n \"vendor_name\": \"Meridian Energy AG\",\n \"invoice_number\": \"INV-2026-001\",\n \"total_amount\": 1500.00,\n \"due_date\": \"2026-06-15\",\n \"line_items\": [\n { \"description\": \"Consulting, April\", \"amount\": 1200.00 },\n { \"description\": \"Travel expenses\", \"amount\": 300.00 }\n ]\n },\n \"schema\": {\n \"source\": \"inline\"\n },\n \"confidence\": {\n \"overall\": 0.97,\n \"fields\": {\n \"vendor_name\": 0.98,\n \"invoice_number\": 0.95,\n \"total_amount\": 0.99,\n \"due_date\": 0.97\n }\n },\n \"processing\": {\n \"duration_ms\": 2840,\n \"pages_processed\": 2,\n \"region\": \"eu-central-1\"\n }\n}`,\n },\n { type: \"heading\", level: 3, id: \"extract-schema-id\", text: \"Example: saved schema\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"file_path\": \"./contracts/lease-agreement.pdf\",\n \"schema_id\": \"SCH-A1B2C3D4\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"extraction_id\": \"ext_b29f...\",\n \"request_id\": \"req_4c81...\",\n \"status\": \"complete\",\n \"document\": {\n \"id\": \"doc_91ad...\",\n \"filename\": \"lease-agreement.pdf\",\n \"pages\": 8,\n \"type_detected\": \"lease_agreement\",\n \"language_detected\": \"en\"\n },\n \"data\": {\n \"lessor\": \"Acme Holdings Ltd.\",\n \"lessee\": \"Meridian Energy AG\",\n \"premises_address\": \"12 Hauptstrasse, 10115 Berlin\",\n \"term_start\": \"2026-07-01\",\n \"term_end\": \"2031-06-30\",\n \"monthly_rent_eur\": 4250.00\n },\n \"schema\": {\n \"source\": \"saved\",\n \"id\": \"SCH-A1B2C3D4\"\n },\n \"confidence\": {\n \"overall\": 0.94,\n \"fields\": {\n \"lessor\": 0.97,\n \"lessee\": 0.97,\n \"premises_address\": 0.92,\n \"term_start\": 0.95,\n \"term_end\": 0.95,\n \"monthly_rent_eur\": 0.91\n }\n },\n \"processing\": {\n \"duration_ms\": 4380,\n \"pages_processed\": 8,\n \"region\": \"eu-central-1\"\n }\n}`,\n },\n ],\n related: [\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n { label: \"talonic_save_schema\", slug: \"talonic-save-schema\" },\n { label: \"Drag & Drop Files\", slug: \"drag-and-drop\" },\n ],\n faq: [\n {\n question: \"How does talonic_extract work?\",\n answer:\n \"Send a document (file_data, file_path, file_url, or document_id) with a schema or schema_id. The tool returns schema-validated JSON with per-field confidence scores.\",\n },\n ],\n mentions: [\"extract\", \"schema\", \"confidence scores\", \"file_data\"],\n },\n {\n slug: \"talonic-search\",\n parentSlug: \"tools\",\n title: \"talonic_search\",\n seoTitle: \"talonic_search Tool — Talonic MCP\",\n description:\n \"Omnisearch across documents, fields, sources, and schemas in the workspace. Supports conceptual and fuzzy queries.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Omnisearch across documents, fields, sources, and schemas in the workspace. Use for conceptual or fuzzy queries.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"query\",\n type: \"string\",\n required: true,\n description: \"The search query. Supports fuzzy and conceptual matching.\",\n },\n {\n name: \"limit\",\n type: \"integer\",\n description: \"Maximum results per entity type. Default: 5.\",\n },\n ],\n },\n { type: \"heading\", level: 3, id: \"search-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"query\": \"indemnification clauses Acme\",\n \"limit\": 10\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"documents\": [\n {\n \"id\": \"doc_4e7b...\",\n \"filename\": \"acme-services-agreement.pdf\",\n \"type_detected\": \"Services Agreement\",\n \"score\": 0.92\n }\n ],\n \"fieldMatches\": [\n {\n \"fieldName\": \"indemnification.cap_amount\",\n \"documentId\": \"doc_4e7b...\",\n \"value\": \"2x annual fees\",\n \"score\": 0.88\n }\n ],\n \"schemas\": [],\n \"sources\": [],\n \"fields\": [\n { \"canonicalName\": \"indemnification.cap_amount\", \"type\": \"string\" }\n ]\n}`,\n },\n ],\n related: [{ label: \"talonic_filter\", slug: \"talonic-filter\" }],\n faq: [\n {\n question: \"What does talonic_search do?\",\n answer:\n \"It searches across documents, fields, sources, and schemas in the workspace using fuzzy and conceptual matching.\",\n },\n ],\n mentions: [\"search\", \"omnisearch\", \"fuzzy\"],\n },\n {\n slug: \"talonic-filter\",\n parentSlug: \"tools\",\n title: \"talonic_filter\",\n seoTitle: \"talonic_filter Tool — Talonic MCP\",\n description:\n \"Filter documents by extracted field values using composable conditions like eq, gt, between, and contains.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, etc.).\",\n },\n {\n type: \"paragraph\",\n text: \"Accepts canonical field names (e.g. `vendor.name`, `policy.0_coverage_type`) which the Talonic API resolves to IDs server-side, or UUIDs directly.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"conditions\",\n type: \"array\",\n required: true,\n description:\n \"Filter conditions, AND-ed together. Each has `field` or `field_id`, `operator`, and `value`.\",\n },\n {\n name: \"search\",\n type: \"string\",\n description: \"Optional free-text search applied alongside filters.\",\n },\n {\n name: \"sort\",\n type: \"object\",\n description: 'Sort by a field: `{ field, direction: \"asc\" | \"desc\" }`.',\n },\n { name: \"page\", type: \"integer\", description: \"Page number for pagination.\" },\n { name: \"limit\", type: \"integer\", description: \"Results per page. Default: 50.\" },\n ],\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Two limitations: (1) only fields where the search response shows `filterable: true` can be used with `talonic_filter`; entries with `filterable: false` have no extracted data yet. (2) `is_not_empty` is intentionally not exposed in v0.1; use `eq`/`gt`/`contains` against a known value or invert `is_empty` client-side.\",\n },\n { type: \"heading\", level: 3, id: \"filter-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"conditions\": [\n { \"field\": \"vendor.name\", \"operator\": \"eq\", \"value\": \"Meridian Energy AG\" },\n { \"field\": \"invoice.total_eur\", \"operator\": \"gt\", \"value\": 1000 }\n ],\n \"sort\": { \"field\": \"invoice.total_eur\", \"direction\": \"desc\" },\n \"limit\": 20\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"data\": [\n {\n \"document_id\": \"doc_8f3a...\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"fields\": {\n \"vendor.name\": \"Meridian Energy AG\",\n \"invoice.total_eur\": 1500.00,\n \"invoice.due_date\": \"2026-06-15\"\n }\n },\n {\n \"document_id\": \"doc_c2d9...\",\n \"filename\": \"invoice-2026-003.pdf\",\n \"fields\": {\n \"vendor.name\": \"Meridian Energy AG\",\n \"invoice.total_eur\": 1200.00,\n \"invoice.due_date\": \"2026-04-30\"\n }\n }\n ],\n \"total\": 2,\n \"page\": 1\n}`,\n },\n ],\n related: [\n { label: \"talonic_search\", slug: \"talonic-search\" },\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n ],\n faq: [\n {\n question: \"How do I filter documents by field value?\",\n answer:\n \"Use talonic_filter with canonical field names and operators like eq, gt, between, contains. The API resolves field names to IDs server-side.\",\n },\n ],\n mentions: [\"filter\", \"canonical field names\", \"operators\"],\n },\n {\n slug: \"talonic-get-document\",\n parentSlug: \"tools\",\n title: \"talonic_get_document\",\n seoTitle: \"talonic_get_document Tool — Talonic MCP\",\n description:\n \"Fetch full metadata for a single document by ID, including processing log and link URLs.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Fetch full metadata for a single document by ID, including processing log and link URLs.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"document_id\",\n type: \"string\",\n required: true,\n description: \"The document UUID.\",\n },\n ],\n },\n { type: \"heading\", level: 3, id: \"get-document-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"status\": \"completed\",\n \"pages\": 2,\n \"size_bytes\": 184320,\n \"mime_type\": \"application/pdf\",\n \"type_detected\": \"Invoice\",\n \"language_detected\": \"de\",\n \"source\": { \"id\": \"src_a1b2...\", \"type\": \"api\" },\n \"links\": {\n \"self\": \"https://api.talonic.com/v1/documents/doc_8f3a...\",\n \"extractions\": \"https://api.talonic.com/v1/documents/doc_8f3a.../extractions\",\n \"dashboard\": \"https://app.talonic.com/documents/doc_8f3a...\"\n }\n}`,\n },\n ],\n related: [\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I get document metadata via MCP?\",\n answer:\n \"Call talonic_get_document with the document UUID to get full metadata including processing log and link URLs.\",\n },\n ],\n mentions: [\"document\", \"metadata\", \"processing log\"],\n },\n {\n slug: \"talonic-to-markdown\",\n parentSlug: \"tools\",\n title: \"talonic_to_markdown\",\n seoTitle: \"talonic_to_markdown Tool — Talonic MCP\",\n description:\n \"Get OCR-converted markdown for a document. Accepts document_id, file_data + filename, file_path, or file_url.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Get OCR-converted markdown for a document. Accepts `document_id` (cheapest — no re-upload), `file_data` + `filename`, `file_path`, or `file_url`.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"document_id\",\n type: \"string\",\n description: \"ID of an already-ingested document (cheapest path).\",\n },\n {\n name: \"file_data\",\n type: \"string\",\n description: \"Base64-encoded file bytes. Pair with `filename`.\",\n },\n { name: \"filename\", type: \"string\", description: \"Original filename with extension.\" },\n { name: \"file_path\", type: \"string\", description: \"Local file path.\" },\n {\n name: \"file_url\",\n type: \"string\",\n description: \"Remote URL the API fetches server-side.\",\n },\n ],\n },\n { type: \"heading\", level: 3, id: \"to-markdown-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}`,\n },\n {\n type: \"code\",\n language: \"markdown\",\n title: \"Tool response\",\n code: `# Invoice INV-2026-001\n\n**Meridian Energy AG**\nMusterstraße 42, 10115 Berlin\n\n| Item | Amount |\n|-----------------------|------------|\n| Consulting — April | €1,200.00 |\n| Travel expenses | €300.00 |\n| **Total** | **€1,500.00** |\n\nDue date: 15 June 2026\nPayment terms: Net 30`,\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Drag & Drop Files\", slug: \"drag-and-drop\" },\n ],\n faq: [\n {\n question: \"How do I get markdown from a document via MCP?\",\n answer:\n \"Call talonic_to_markdown with a document_id (cheapest), or provide the file directly via file_data, file_path, or file_url.\",\n },\n ],\n mentions: [\"markdown\", \"OCR\", \"document_id\"],\n },\n {\n slug: \"talonic-list-schemas\",\n parentSlug: \"tools\",\n title: \"talonic_list_schemas\",\n seoTitle: \"talonic_list_schemas Tool — Talonic MCP\",\n description: \"List all saved schemas with their definitions in the workspace.\",\n content: [\n {\n type: \"paragraph\",\n text: \"List all saved schemas with their definitions. Returns schema IDs (both UUID and `SCH-XXXXXXXX` short format), names, and field definitions.\",\n },\n {\n type: \"paragraph\",\n text: \"The `talonic://schemas` resource exposes the same data to clients that browse resources separately (Claude Desktop and Cowork render these in the UI).\",\n },\n { type: \"heading\", level: 3, id: \"list-schemas-example\", text: \"Example\" },\n { type: \"paragraph\", text: \"No input parameters required.\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"schemas\": [\n {\n \"id\": \"sch_7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n \"short_id\": \"SCH-A1B2C3D4\",\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms.\",\n \"version\": 3,\n \"field_count\": 6,\n \"definition\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"currency\": { \"type\": \"string\" },\n \"line_items\": { \"type\": \"array\" }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n }\n },\n {\n \"id\": \"sch_e5f6a7b8-c9d0-1e2f-3a4b-5c6d7e8f9a0b\",\n \"short_id\": \"SCH-E5F6A7B8\",\n \"name\": \"Certificate of Insurance\",\n \"description\": \"Extracts insured party, coverage types, limits, and expiry.\",\n \"version\": 1,\n \"field_count\": 8,\n \"definition\": { \"type\": \"object\", \"properties\": { \"...\" : {} } }\n }\n ]\n}`,\n },\n ],\n related: [\n { label: \"talonic_save_schema\", slug: \"talonic-save-schema\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I list schemas via MCP?\",\n answer:\n \"Call talonic_list_schemas to get all saved schemas with their definitions. The talonic://schemas resource also exposes this data.\",\n },\n ],\n mentions: [\"schemas\", \"list\", \"SCH-XXXXXXXX\"],\n },\n {\n slug: \"talonic-save-schema\",\n parentSlug: \"tools\",\n title: \"talonic_save_schema\",\n seoTitle: \"talonic_save_schema Tool — Talonic MCP\",\n description: \"Save a schema definition to the workspace for reuse across extractions.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Save a schema definition to the workspace for reuse. Returns a `schema_id` that can be passed to `talonic_extract`.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"name\",\n type: \"string\",\n required: true,\n description: \"Human-readable schema name.\",\n },\n {\n name: \"definition\",\n type: \"object\",\n required: true,\n description:\n 'Schema definition. Full JSON Schema `{type: \"object\", properties: {...}}` recommended.',\n },\n {\n name: \"description\",\n type: \"string\",\n description: \"What this schema extracts and when to use it.\",\n },\n ],\n },\n {\n type: \"callout\",\n text: 'Prefer full JSON Schema format with `type: \"object\"` and `properties`. The flat key-type map format is not fully supported server-side yet.',\n },\n { type: \"heading\", level: 3, id: \"save-schema-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms from invoices.\",\n \"definition\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"line_items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": { \"type\": \"string\" },\n \"amount\": { \"type\": \"number\" }\n }\n }\n }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n }\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"id\": \"sch_7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n \"short_id\": \"SCH-A1B2C3D4\",\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms from invoices.\",\n \"version\": 1,\n \"field_count\": 5\n}`,\n },\n ],\n related: [\n { label: \"talonic_list_schemas\", slug: \"talonic-list-schemas\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I save a schema via MCP?\",\n answer:\n \"Call talonic_save_schema with a name and JSON Schema definition. It returns a schema_id for reuse in talonic_extract calls.\",\n },\n ],\n mentions: [\"save schema\", \"JSON Schema\", \"reuse\"],\n },\n {\n slug: \"talonic-get-balance\",\n parentSlug: \"tools\",\n title: \"talonic_get_balance\",\n seoTitle: \"talonic_get_balance Tool — Talonic MCP\",\n description:\n \"MCP tool that returns the current Talonic credit balance, EUR value, 30-day burn rate, projected runway, tier, and next monthly tier-reset timestamp.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Returns the workspace's current credit balance, EUR value, 30-day burn rate, projected runway in days, API tier, and the timestamp of the next monthly tier reset. Use it for budget-aware behaviour: read the balance before scheduling a large batch, or after a sequence of extractions to track spend.\",\n },\n {\n type: \"heading\",\n level: 3,\n id: \"use-when\",\n text: \"When to use\",\n },\n {\n type: \"list\",\n items: [\n \"The user asks how many credits or how much budget they have left.\",\n \"Before kicking off a large or expensive operation (batch extract, re-extract many documents), to confirm budget headroom.\",\n \"The user asks how long the balance will last at the current rate.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"do-not-use\",\n text: \"When not to use\",\n },\n {\n type: \"list\",\n items: [\n \"For per-call cost of a single extraction: that is already on every `talonic_extract` response under `cost`.\",\n \"To top up credits: route the user to the dashboard. Auto top-up is guarded by a separate scope and is intentionally not exposed at the MCP layer.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"response-shape\",\n text: \"Response shape\",\n },\n {\n type: \"list\",\n items: [\n \"`balance_credits`: current credit balance (integer).\",\n \"`balance_eur`: current balance expressed in EUR (rounded to two decimals).\",\n \"`burn_rate_30d_credits`: total credits consumed in the trailing 30 days.\",\n \"`projected_runway_days`: days of runway at the current 30-day average burn rate. `-1` indicates no consumption in the trailing window (cannot compute a meaningful runway).\",\n \"`tier`: API tier of the workspace (`free`, `pro`, `enterprise`, etc.).\",\n \"`tier_resets_at`: ISO 8601 timestamp of the next monthly tier reset.\",\n ],\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"balance_credits\": 1888,\n \"balance_eur\": 9.44,\n \"burn_rate_30d_credits\": 360,\n \"projected_runway_days\": 157,\n \"tier\": \"pro\",\n \"tier_resets_at\": \"2026-06-01T00:00:00.000Z\"\n}`,\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Pricing\", slug: \"pricing\" },\n ],\n faq: [\n {\n question: \"How do I check my Talonic credit balance from an agent?\",\n answer:\n \"Call talonic_get_balance with no arguments. Returns balance_credits, balance_eur, burn_rate_30d_credits, projected_runway_days, tier, and tier_resets_at. Read-only; safe to call at any time.\",\n },\n {\n question: \"What does projected_runway_days = -1 mean?\",\n answer:\n \"It means the workspace has had zero credit consumption in the trailing 30 days, so a meaningful runway projection cannot be computed. Treat -1 as 'unknown' rather than '0 days'.\",\n },\n ],\n mentions: [\"credits\", \"balance\", \"EUR\", \"burn rate\", \"runway\", \"tier\", \"budget\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"drag-and-drop\",\n parentSlug: \"features\",\n title: \"Drag & Drop Files\",\n seoTitle: \"Drag & Drop File Support — Talonic MCP\",\n description:\n \"Drop PDFs and documents directly into Claude Desktop, Cursor, or Cowork and extract data without file path configuration.\",\n content: [\n {\n type: \"paragraph\",\n text: \"When the user drag-drops a PDF (or any supported file) into a chat-style MCP host such as Claude Desktop, Cowork, or Cursor, the file lands in a host-owned sandbox directory the MCP server cannot read. The path the host hands the agent is meaningless to a separately-running `npx` MCP process.\",\n },\n {\n type: \"paragraph\",\n text: \"`@talonic/mcp@0.1.4` and later solve this by accepting **`file_data`** (base64-encoded file bytes) and **`filename`** on `talonic_extract` and `talonic_to_markdown`. The agent reads the file bytes from the conversation, base64-encodes them, and passes them through the MCP tool call. The MCP server decodes, infers MIME type from the filename, and uploads to the Talonic API.\",\n },\n {\n type: \"callout\",\n text: \"Tool descriptions advertise `file_data` as the recommended input for chat-style clients, so well-trained agents reach for it automatically. No client-side configuration required.\",\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n ],\n faq: [\n {\n question: \"Can I drag and drop files into Claude Desktop with Talonic?\",\n answer:\n \"Yes. Since @talonic/mcp@0.1.4, talonic_extract and talonic_to_markdown accept base64 file data directly, so you can drop a PDF into Claude Desktop and extract data without file path setup.\",\n },\n ],\n mentions: [\"drag-and-drop\", \"file_data\", \"base64\", \"Claude Desktop\"],\n },\n {\n slug: \"how-it-works\",\n parentSlug: \"features\",\n title: \"How It Works\",\n seoTitle: \"How Talonic MCP Works — Talonic Docs\",\n description:\n \"Architecture of the Talonic MCP server: MCP protocol over stdio to the agent, HTTPS with Bearer auth to api.talonic.com.\",\n content: [\n {\n type: \"code\",\n language: \"text\",\n title: \"Architecture\",\n code: `Agent (Claude Desktop / Cursor / Cline / etc.)\n ↓ MCP protocol over stdio\nTalonic MCP server (this package)\n ↓ HTTPS, Bearer auth\napi.talonic.com`,\n },\n {\n type: \"paragraph\",\n text: \"Each tool call is one HTTP request to the Talonic API, using your API key. The server handles auth, retries on transient failures (429, 5xx), MIME-type detection on file uploads, multipart serialisation, and structured error formatting.\",\n },\n ],\n related: [\n { label: \"Environment Variables\", slug: \"env-variables\" },\n { label: \"Node SDK\", slug: \"introduction\" },\n ],\n faq: [\n {\n question: \"How does the Talonic MCP server work?\",\n answer:\n \"The MCP server communicates with AI agents over stdio using the MCP protocol. Each tool call translates to one HTTPS request to api.talonic.com with automatic auth, retries, and error formatting.\",\n },\n ],\n mentions: [\"stdio\", \"HTTPS\", \"Bearer auth\", \"architecture\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"env-variables\",\n parentSlug: \"configuration\",\n title: \"Environment Variables\",\n seoTitle: \"Configuration — Talonic MCP\",\n description:\n \"Environment variables for configuring the Talonic MCP server: API key and optional base URL override.\",\n content: [\n { type: \"paragraph\", text: \"Set via the `env` block in your MCP client config:\" },\n {\n type: \"param-table\",\n params: [\n {\n name: \"TALONIC_API_KEY\",\n type: \"string\",\n required: true,\n description: \"Your Talonic API key. Starts with `tlnc_`.\",\n },\n {\n name: \"TALONIC_BASE_URL\",\n type: \"string\",\n description: \"Override the API base URL.\",\n default: \"https://api.talonic.com\",\n },\n ],\n },\n ],\n related: [\n { label: \"Install Overview\", slug: \"install-overview\" },\n { label: \"Get an API Key\", slug: \"get-api-key\" },\n ],\n faq: [\n {\n question: \"What environment variables does the Talonic MCP server need?\",\n answer:\n \"TALONIC_API_KEY (required, starts with tlnc_) and optionally TALONIC_BASE_URL to override the API endpoint.\",\n },\n ],\n mentions: [\"TALONIC_API_KEY\", \"TALONIC_BASE_URL\", \"environment variables\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"common-issues\",\n parentSlug: \"troubleshooting\",\n title: \"Common Issues\",\n seoTitle: \"Troubleshooting — Talonic MCP\",\n description:\n \"Solutions for common Talonic MCP server issues: missing API key, server not appearing, extract errors, and filter validation.\",\n content: [\n {\n type: \"heading\",\n level: 3,\n id: \"missing-api-key\",\n text: \"TALONIC_API_KEY environment variable is required\",\n },\n {\n type: \"paragraph\",\n text: \"The `env` block in your MCP client config is missing or not being read. Double-check the JSON shape. After editing the config, fully restart the client (not just the conversation).\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"server-not-found\",\n text: \"Talonic does not appear in connected servers\",\n },\n {\n type: \"paragraph\",\n text: 'Make sure the `command` is `npx` and the `args` are exactly `[\"-y\", \"@talonic/mcp@latest\"]`. Sanity check: run `npx -y @talonic/mcp@latest --version` in any terminal — it should print a version number.',\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"extract-no-schema\",\n text: \"talonic_extract returns a validation error when no schema is given\",\n },\n {\n type: \"paragraph\",\n text: \"By design in v0.1. Schema-less extraction is unreliable, so the MCP layer rejects calls that omit both `schema` and `schema_id` before they reach the API. Provide either an inline `schema` (full JSON Schema recommended) or a `schema_id` from `talonic_list_schemas`.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"unsupported-file\",\n text: \"talonic_extract rejects with unsupported_file_type\",\n },\n {\n type: \"paragraph\",\n text: \"The MIME type was inferred as `application/octet-stream`. The SDK infers from common file extensions; if your filename has an unusual extension, this may occur. A future tool version will expose explicit `content_type` passthrough.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"filter-validation\",\n text: 'talonic_filter VALIDATION_ERROR / \"No field matches name\"',\n },\n {\n type: \"paragraph\",\n text: \"The field name is not in the API's field registry. Field names must be canonical names (e.g. `vendor.name`, `policy.0_term_end`). Call `talonic_search` first; canonical names appear in `fields[].canonicalName`.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"stale-descriptions\",\n text: \"Tool descriptions look wrong in my client\",\n },\n {\n type: \"paragraph\",\n text: \"Some MCP clients cache tool descriptions. Restart the client after a server update.\",\n },\n ],\n related: [\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n { label: \"Upgrading\", slug: \"upgrading\" },\n ],\n faq: [\n {\n question: \"Why does Talonic MCP not appear in Claude Desktop?\",\n answer:\n 'Check that command is \"npx\" and args are [\"-y\", \"@talonic/mcp@latest\"]. Run npx -y @talonic/mcp@latest --version in a terminal to verify. Fully restart Claude Desktop (Cmd+Q).',\n },\n ],\n mentions: [\"troubleshooting\", \"API key\", \"VALIDATION_ERROR\"],\n },\n {\n slug: \"known-limitations\",\n parentSlug: \"troubleshooting\",\n title: \"Known Limitations\",\n seoTitle: \"Known Limitations — Talonic MCP\",\n description:\n \"Current limitations in the Talonic MCP server v0.1: schema requirement, filter discoverability and typing, Claude.ai drag-and-drop stall, and unsurfaced cost.\",\n content: [\n {\n type: \"list\",\n items: [\n \"**Schema is required on `talonic_extract`.** Schema-less extraction is unreliable in v0.1 and is rejected at the MCP layer with a validation error. Always pass a `schema` (full JSON Schema recommended) or a `schema_id`.\",\n \"**Schema definition: prefer full JSON Schema.** The flat key-type map is documented as accepted; if you get a 'no fields' error from the API, fall back to JSON Schema.\",\n \"**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.\",\n \"**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.\",\n \"**`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.\",\n \"**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 (`npx -y @talonic/mcp@latest` in Claude Desktop, Cursor, Cline, etc.) which has no parameter cap. The architectural fix is pre-signed upload URLs.\",\n \"**Cost, EUR price, and remaining balance are not surfaced.** The API does not return them yet. Credit balance must be checked in the Talonic dashboard.\",\n ],\n },\n ],\n related: [\n { label: \"Common Issues\", slug: \"common-issues\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"What are the known limitations of Talonic MCP?\",\n answer:\n \"Schema is required on talonic_extract. Filter requires filterable: true fields (use talonic_search first to discover them). Numeric filter operators require schema fields typed as number. is_not_empty filter is not exposed in v0.1. Drag-and-drop file uploads in Claude.ai currently stall via the hosted MCP; use file_url or document_id instead, or use the local stdio install. Cost and balance are not surfaced in tool responses yet.\",\n },\n ],\n mentions: [\n \"limitations\",\n \"schema\",\n \"filterable\",\n \"is_not_empty\",\n \"drag-and-drop\",\n \"rate limits\",\n ],\n },\n {\n slug: \"upgrading\",\n parentSlug: \"troubleshooting\",\n title: \"Upgrading\",\n seoTitle: \"Upgrading from Older Versions — Talonic MCP\",\n description:\n \"How to upgrade from older @talonic/mcp versions that had the silent-bin bug affecting MCP client launches.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Versions before `0.1.3` had a bug where the bundled MCP server bin would exit silently when launched via the npm bin symlink, which is exactly how every MCP client invokes it. If you see no `talonic_*` tools despite correct config, you are hitting that bug.\",\n },\n {\n type: \"paragraph\",\n text: \"The fix: point your `args` at `@latest` (or `@0.1.3` explicitly) and fully restart the client:\",\n },\n { type: \"code\", language: \"jsonc\", code: '\"args\": [\"-y\", \"@talonic/mcp@latest\"]' },\n ],\n related: [\n { label: \"Install Overview\", slug: \"install-overview\" },\n { label: \"Common Issues\", slug: \"common-issues\" },\n ],\n faq: [\n {\n question: \"How do I upgrade the Talonic MCP server?\",\n answer:\n 'Set args to [\"-y\", \"@talonic/mcp@latest\"] in your MCP client config and fully restart the client. Versions before 0.1.3 had a silent-bin bug that prevented the server from booting.',\n },\n ],\n mentions: [\"upgrade\", \"silent-bin bug\", \"0.1.3\"],\n },\n]\n","// ---------------------------------------------------------------------------\n// Structured content export for @talonic/mcp documentation.\n//\n// Usage:\n// import { getMcpSection, getAllMcpSections, MCP_NAV_SECTIONS } from '@talonic/mcp/content'\n// ---------------------------------------------------------------------------\n\nexport type { DocBlock, DocSection, RawSection, Param, HttpMethod, NavSection } from \"./types\"\n\nexport { MCP_NAV_SECTIONS } from \"./seo\"\n\nimport type { DocSection, RawSection } from \"./types\"\nimport { deriveBreadcrumbs, derivePrevNext } from \"./helpers\"\nimport { MCP_NAV_SECTIONS } from \"./seo\"\n\n// --- Section imports ---\nimport { sections as overview } from \"./sections/overview\"\nimport { sections as install } from \"./sections/install\"\nimport { sections as tools } from \"./sections/tools\"\nimport { sections as features } from \"./sections/features\"\nimport { sections as configuration } from \"./sections/configuration\"\nimport { sections as troubleshooting } from \"./sections/troubleshooting\"\n\n// ---------------------------------------------------------------------------\n// Registry\n// ---------------------------------------------------------------------------\n\nconst ALL_RAW: RawSection[] = [\n ...overview,\n ...install,\n ...tools,\n ...features,\n ...configuration,\n ...troubleshooting,\n]\n\n// ---------------------------------------------------------------------------\n// Enrichment\n// ---------------------------------------------------------------------------\n\nfunction enrich(raw: RawSection[]): DocSection[] {\n return raw.map((r) => {\n const { prev, next } = derivePrevNext(MCP_NAV_SECTIONS, r.slug)\n return {\n ...r,\n breadcrumbs: deriveBreadcrumbs(MCP_NAV_SECTIONS, r.slug),\n prev,\n next,\n }\n })\n}\n\nlet _sections: DocSection[] | null = null\n\nfunction getSectionsAll(): DocSection[] {\n if (!_sections) {\n _sections = enrich(ALL_RAW)\n }\n return _sections\n}\n\n// ---------------------------------------------------------------------------\n// Public API\n// ---------------------------------------------------------------------------\n\n/** Get a single MCP section by slug, or null if not found. */\nexport function getMcpSection(slug: string): DocSection | null {\n return getSectionsAll().find((s) => s.slug === slug) ?? null\n}\n\n/** Get all MCP sections in reading order. */\nexport function getAllMcpSections(): DocSection[] {\n return getSectionsAll()\n}\n"]}
1
+ {"version":3,"sources":["../src/content/seo.ts","../src/content/helpers.ts","../src/content/sections/overview.ts","../src/content/sections/install.ts","../src/content/sections/tools.ts","../src/content/sections/features.ts","../src/content/sections/configuration.ts","../src/content/sections/troubleshooting.ts","../src/content/index.ts"],"names":["sections"],"mappings":";AAEO,IAAM,gBAAA,GAAiC;AAAA,EAC5C;AAAA,IACE,EAAA,EAAI,UAAA;AAAA,IACJ,KAAA,EAAO,UAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,cAAA,EAAe;AAAA,MAChD,EAAE,EAAA,EAAI,SAAA,EAAW,KAAA,EAAO,cAAA,EAAe;AAAA,MACvC,EAAE,EAAA,EAAI,aAAA,EAAe,KAAA,EAAO,gBAAA;AAAiB;AAC/C,GACF;AAAA,EACA;AAAA,IACE,EAAA,EAAI,SAAA;AAAA,IACJ,KAAA,EAAO,SAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,UAAA,EAAW;AAAA,MAC5C,EAAE,EAAA,EAAI,gBAAA,EAAkB,KAAA,EAAO,gBAAA,EAAiB;AAAA,MAChD,EAAE,EAAA,EAAI,QAAA,EAA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ACF;AAAA,EACF,CAAC,CAAA;AACH;AAEA,IAAI,SAAA,GAAiC,IAAA;AAErC,SAAS,cAAA,GAA+B;AACtC,EAAA,IAAI,CAAC,SAAA,EAAW;AACd,IAAA,SAAA,GAAY,OAAO,OAAO,CAAA;AAAA,EAC5B;AACA,EAAA,OAAO,SAAA;AACT;AAOO,SAAS,cAAc,IAAA,EAAiC;AAC7D,EAAA,OAAO,cAAA,GAAiB,IAAA,CAAK,CAAC,MAAM,CAAA,CAAE,IAAA,KAAS,IAAI,CAAA,IAAK,IAAA;AAC1D;AAGO,SAAS,iBAAA,GAAkC;AAChD,EAAA,OAAO,cAAA,EAAe;AACxB","file":"content.js","sourcesContent":["import type { NavSection } from \"./types\"\n\nexport const MCP_NAV_SECTIONS: NavSection[] = [\n {\n id: \"overview\",\n label: \"Overview\",\n children: [\n { id: \"mcp-introduction\", label: \"Introduction\" },\n { id: \"why-mcp\", label: \"Why Use This\" },\n { id: \"get-api-key\", label: \"Get an API Key\" },\n ],\n },\n {\n id: \"install\",\n label: \"Install\",\n children: [\n { id: \"install-overview\", label: \"Overview\" },\n { id: \"claude-desktop\", label: \"Claude Desktop\" },\n { id: \"cursor\", label: \"Cursor\" },\n { id: \"cline\", label: \"Cline\" },\n { id: \"continue\", label: \"Continue\" },\n { id: \"cowork\", label: \"Cowork\" },\n ],\n },\n {\n id: \"tools\",\n label: \"Tool Reference\",\n children: [\n { id: \"talonic-extract\", label: \"talonic_extract\" },\n { id: \"talonic-search\", label: \"talonic_search\" },\n { id: \"talonic-filter\", label: \"talonic_filter\" },\n { id: \"talonic-get-document\", label: \"talonic_get_document\" },\n { id: \"talonic-to-markdown\", label: \"talonic_to_markdown\" },\n { id: \"talonic-list-schemas\", label: \"talonic_list_schemas\" },\n { id: \"talonic-save-schema\", label: \"talonic_save_schema\" },\n ],\n },\n {\n id: \"features\",\n label: \"Features\",\n children: [\n { id: \"drag-and-drop\", label: \"Drag & Drop Files\" },\n { id: \"how-it-works\", label: \"How It Works\" },\n ],\n },\n {\n id: \"configuration\",\n label: \"Configuration\",\n children: [{ id: \"env-variables\", label: \"Environment Variables\" }],\n },\n {\n id: \"troubleshooting\",\n label: \"Troubleshooting\",\n children: [\n { id: \"common-issues\", label: \"Common Issues\" },\n { id: \"known-limitations\", label: \"Known Limitations\" },\n { id: \"upgrading\", label: \"Upgrading\" },\n ],\n },\n]\n","// ---------------------------------------------------------------------------\n// Pure functions that derive breadcrumbs and prev/next from nav structure.\n// ---------------------------------------------------------------------------\n\ninterface NavChild {\n id: string\n label: string\n}\n\ninterface NavGroup {\n id: string\n label: string\n children?: NavChild[]\n}\n\nexport function deriveBreadcrumbs(\n sections: NavGroup[],\n leafId: string,\n): { label: string; slug: string }[] {\n const root = { label: \"MCP Server\", slug: \"mcp\" }\n\n for (const group of sections) {\n const child = group.children?.find((c) => c.id === leafId)\n if (child) {\n return [root, { label: group.label, slug: group.id }, { label: child.label, slug: child.id }]\n }\n }\n\n const topLevel = sections.find((s) => s.id === leafId)\n if (topLevel) {\n return [root, { label: topLevel.label, slug: topLevel.id }]\n }\n\n return [root]\n}\n\nexport function derivePrevNext(\n sections: NavGroup[],\n leafId: string,\n): { prev: { slug: string; label: string } | null; next: { slug: string; label: string } | null } {\n const flat: NavChild[] = sections.flatMap((s) => s.children ?? [{ id: s.id, label: s.label }])\n\n const idx = flat.findIndex((c) => c.id === leafId)\n if (idx === -1) return { prev: null, next: null }\n\n const prevItem = idx > 0 ? flat[idx - 1] : undefined\n const nextItem = idx < flat.length - 1 ? flat[idx + 1] : undefined\n\n return {\n prev: prevItem ? { slug: prevItem.id, label: prevItem.label } : null,\n next: nextItem ? { slug: nextItem.id, label: nextItem.label } : null,\n }\n}\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"mcp-introduction\",\n parentSlug: \"overview\",\n title: \"Introduction\",\n seoTitle: \"MCP Server Introduction — Talonic Docs\",\n description:\n \"Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the Model Context Protocol.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the [Model Context Protocol](https://modelcontextprotocol.io).\",\n },\n {\n type: \"paragraph\",\n text: \"Eight tools and two resources: `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.\",\n },\n {\n type: \"paragraph\",\n text: \"Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. Verified end-to-end against production.\",\n },\n {\n type: \"paragraph\",\n text: \"The MCP server acts as a bridge between your AI agent and the Talonic document extraction API. Instead of writing custom HTTP integration code, agent developers get a standards-compliant MCP interface that any compatible client can discover and invoke automatically. The server handles authentication, file upload serialisation, retry logic, and structured error formatting so the agent can focus on the user's task.\",\n },\n {\n type: \"paragraph\",\n text: \"Installation takes under a minute: paste a JSON snippet into your MCP client config, supply a `tlnc_` API key, and restart the client. The hosted option at `mcp.talonic.com` requires zero local dependencies — no Node.js, no npm, no build step. The local `npx` option is equally simple and runs on any machine with Node.js 18 or later.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"The MCP server is open-source and published to npm as `@talonic/mcp`. You can inspect the source, report issues, and contribute on GitHub.\",\n },\n ],\n related: [\n { label: \"Why Use This\", slug: \"why-mcp\" },\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Node SDK\", slug: \"introduction\" },\n ],\n faq: [\n {\n question: \"What is the Talonic MCP server?\",\n answer:\n \"An official MCP server that gives AI agents (Claude Desktop, Cursor, Cline, etc.) the ability to extract structured data from documents using the Model Context Protocol.\",\n },\n {\n question: \"Is the Talonic MCP server on the official MCP Registry?\",\n answer:\n \"Yes. It is listed as io.github.talonicdev/talonic-mcp on registry.modelcontextprotocol.io, maintained by Anthropic and the MCP steering group.\",\n },\n {\n question: \"Do I need to install anything to use the Talonic MCP server?\",\n answer:\n \"Not necessarily. The hosted server at mcp.talonic.com requires zero local installation — just a URL and API key in your MCP client config. Alternatively, the local npx option requires Node.js 18+.\",\n },\n ],\n mentions: [\"MCP\", \"Model Context Protocol\", \"AI agents\", \"document extraction\"],\n },\n {\n slug: \"why-mcp\",\n parentSlug: \"overview\",\n title: \"Why Use This\",\n seoTitle: \"Why Talonic MCP — Talonic Docs\",\n description:\n \"Why AI agents should use the Talonic MCP server instead of raw OCR plus LLM calls for document extraction.\",\n content: [\n {\n type: \"paragraph\",\n text: \"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.\",\n },\n {\n type: \"paragraph\",\n text: \"With this MCP server installed, the agent has a `talonic_extract` tool that returns schema-validated JSON with per-field confidence scores, a detected document type, and stable IDs for follow-up calls. Seven other tools cover the rest of the workflow: searching the workspace, filtering by extracted field values, fetching a document's metadata, getting OCR markdown, listing saved schemas, saving new ones, and reading the workspace credit balance for budget-aware behaviour.\",\n },\n {\n type: \"paragraph\",\n text: \"The extraction pipeline runs server-side on Talonic's infrastructure, which means the agent does not need to manage OCR libraries, prompt engineering for data extraction, or post-processing heuristics. A single tool call replaces what would otherwise be a multi-step chain of OCR, schema validation, and confidence estimation inside the agent's own context window.\",\n },\n {\n type: \"paragraph\",\n text: \"Because each extraction returns **per-field confidence scores**, agents can make informed decisions about when to trust extracted values and when to escalate to the user for review. This is especially valuable for high-stakes fields like financial amounts, legal terms, and dates where silent errors are costly.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Every document processed through the MCP server is stored in your Talonic workspace with a stable `document_id`. Subsequent operations — re-extraction with a different schema, markdown retrieval, metadata lookup — reuse that ID without re-uploading the file, saving both time and credits.\",\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Get an API Key\", slug: \"get-api-key\" },\n ],\n faq: [\n {\n question: \"Why use Talonic MCP instead of OCR + LLM?\",\n answer:\n \"Raw OCR + LLM calls produce unreliable results — mangled tables, misread dates, drifting totals. Talonic returns schema-validated JSON with per-field confidence scores and stable IDs for follow-up calls.\",\n },\n {\n question: \"Does the MCP server handle retries and errors automatically?\",\n answer:\n \"Yes. The server retries on transient failures (429 rate limits, 5xx server errors) and returns structured error messages the agent can reason about, rather than raw HTTP status codes.\",\n },\n {\n question: \"Can I re-extract a document with a different schema without re-uploading?\",\n answer:\n \"Yes. Pass the document_id from a previous extraction to talonic_extract with a new schema. The server reuses the already-ingested document, which is faster and costs fewer credits.\",\n },\n ],\n mentions: [\"OCR\", \"schema-validated\", \"confidence scores\", \"structured data\"],\n },\n {\n slug: \"agent-decision-guide\",\n parentSlug: \"overview\",\n title: \"Agent Decision Guide\",\n seoTitle: \"Agent Decision Guide — Talonic MCP\",\n description:\n \"How an AI agent should pick between Talonic's tools, handle low-confidence results, and avoid unnecessary calls.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Use this guide to pick the right Talonic tool for the user's request. Match the user's intent to one of the scenarios below before calling a tool. The wrong tool returns the wrong data, costs unnecessary credits, and slows the conversation.\",\n },\n {\n type: \"paragraph\",\n 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.\",\n },\n {\n type: \"paragraph\",\n text: \"A well-built agent should check conversation history before making any tool call. If the user already extracted data from a document in an earlier turn, re-use that result rather than calling `talonic_extract` again. Repeat calls cost credits and add latency without providing new information.\",\n },\n {\n type: \"paragraph\",\n text: \"When in doubt about which tool to use, consider the user's underlying intent: do they want specific field values (extract), the full document text (to_markdown), to find documents (search/filter), or to manage extraction templates (schema tools)? This mental model covers every scenario.\",\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-extract-vs-markdown\",\n text: \"User has a file (or just dropped one in)\",\n },\n {\n type: \"list\",\n items: [\n \"**They want specific fields**: vendor, total, dates, parties, line items. Use `talonic_extract` with a `schema` (full JSON Schema is most reliable) or a `schema_id` from `talonic_list_schemas`. Schema is required; the MCP layer rejects schema-less calls.\",\n \"**They want the full text content**, e.g. for summarisation, translation, or general analysis. Use `talonic_to_markdown`. It returns OCR-converted markdown without forcing a schema.\",\n \"**They want both**: extract once with a schema (which also yields markdown when `include_markdown: true` is set), avoiding two uploads.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-find-existing\",\n text: \"User is asking about existing documents in the workspace\",\n },\n {\n type: \"list\",\n items: [\n \"**Conceptual or fuzzy** (e.g. 'do I have any docs about indemnification?', 'find Acme contracts'): use `talonic_search`.\",\n \"**Value-based on extracted fields** (e.g. 'invoices over 1000 EUR', 'contracts expiring before 2026-12-31'): use `talonic_filter`. `is_not_empty` is not exposed in v0.1; for presence checks against populated fields, filter against a known value or use `is_empty` and invert client-side.\",\n \"**They reference a specific document_id**: use `talonic_get_document` for metadata, `talonic_to_markdown` (with `document_id`) for text, or `talonic_extract` (with `document_id`) to re-extract with a new schema. Re-using a document_id is cheaper than re-uploading.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-schema-mgmt\",\n text: \"User is working with schemas\",\n },\n {\n type: \"list\",\n items: [\n \"**One-off extraction**: pass the schema inline on `talonic_extract`. Do not save it.\",\n \"**The same schema across many documents**: call `talonic_save_schema` once, then pass the returned id (UUID or `SCH-XXXXXXXX`) as `schema_id` on every future `talonic_extract` call. Either id form is accepted.\",\n \"**Discovering existing schemas** before designing a new one: call `talonic_list_schemas`. The `talonic://schemas` resource is the same list rendered as a browseable resource for clients that support it.\",\n \"**Avoid clutter**: do not save a schema until the user has reviewed and confirmed the design. Iterate inline first.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-confidence\",\n text: \"Handling confidence and human review\",\n },\n {\n type: \"paragraph\",\n text: \"Every `talonic_extract` response includes `confidence.overall` (0..1) and `confidence.fields` (per-field 0..1). Use these to decide when to escalate.\",\n },\n {\n type: \"list\",\n items: [\n \"**`confidence.overall` below ~0.7**: tell the user the extraction may be unreliable, show the top low-confidence fields, and ask them to confirm before taking any downstream action (payment, contract execution, data import).\",\n \"**Per-field confidence below ~0.7**: surface those fields with a 'needs review' marker. Do not silently use them in calculations or external API calls.\",\n \"**Critical fields at any confidence**: financial amounts, legal terms, names, dates. Always confirm with the user before acting on them, even at high confidence.\",\n \"**Provenance is not surfaced in v0.1.** Per-field source page or bounding box is not in the response. If the user needs to verify a specific field against the source, send them to the document via `links.dashboard` from the response.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"decide-not-call\",\n text: \"When not to call Talonic\",\n },\n {\n type: \"list\",\n items: [\n \"**The user's question is general knowledge or conversation.** Do not pre-emptively extract or search.\",\n \"**The needed data is already in conversation history** from a previous tool call. Re-use it. Repeat calls cost credits and slow the response.\",\n \"**The user wants to discuss or revise** an extraction you already produced. Reason over the previous result instead of re-extracting.\",\n \"**Schema design iteration**. Iterate the schema with the user via `talonic_extract` with an inline schema; only call `talonic_save_schema` once they confirm.\",\n \"**Cost, EUR price, and remaining credit balance are not surfaced in v0.1 tool responses.** If the user asks 'how much will this cost' or 'how many credits do I have left', point them to the Talonic dashboard at https://app.talonic.com.\",\n ],\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"talonic_filter\", slug: \"talonic-filter\" },\n { label: \"talonic_search\", slug: \"talonic-search\" },\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n ],\n faq: [\n {\n question: \"When should an agent use talonic_extract vs talonic_to_markdown?\",\n answer:\n \"Use talonic_extract when the user wants specific structured fields (with a schema). Use talonic_to_markdown when the user wants the full text content for summarisation or analysis without a schema.\",\n },\n {\n question: \"When should an agent use talonic_search vs talonic_filter?\",\n answer:\n \"Use talonic_search for conceptual or fuzzy queries across the workspace. Use talonic_filter when the user wants documents matching specific structured field values like 'invoices over 1000 EUR'.\",\n },\n {\n question: \"How should an agent handle low-confidence extractions?\",\n answer:\n \"Treat confidence below ~0.7 as needing human review. Surface low-confidence fields explicitly and confirm critical fields (amounts, dates, names) with the user before any downstream action.\",\n },\n ],\n mentions: [\"decision guide\", \"agent\", \"tool selection\", \"confidence\", \"human review\", \"cost\"],\n },\n {\n slug: \"get-api-key\",\n parentSlug: \"overview\",\n title: \"Get an API Key\",\n seoTitle: \"Get an API Key — Talonic MCP\",\n description:\n \"Get a Talonic API key in 30 seconds. Each user runs against their own isolated workspace with private documents and schemas.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Each user runs against their own isolated Talonic workspace. Your documents and schemas are private to you.\",\n },\n {\n type: \"list\",\n ordered: true,\n items: [\n \"Sign up at [app.talonic.com](https://app.talonic.com). Free tier: 50 extractions per day, no credit card.\",\n \"Settings → API Keys → Create New Key.\",\n \"Copy the `tlnc_` value into your MCP client config (snippets below).\",\n ],\n },\n {\n type: \"paragraph\",\n text: \"The API key authenticates every tool call the MCP server makes on your behalf. It is passed as a `TALONIC_API_KEY` environment variable in the local `npx` setup, or as a `Bearer` token in the `Authorization` header for the hosted server. The key is never sent to the AI agent itself — it stays within the MCP server process.\",\n },\n {\n type: \"paragraph\",\n text: \"Keep your API key private. Do not commit it to version control or share it in public MCP config examples. If a key is compromised, revoke it immediately in the Talonic dashboard under Settings → API Keys and generate a new one.\",\n },\n {\n type: \"paragraph\",\n text: \"The free tier includes 50 extractions per day, which is enough for development and testing. For production workloads or higher volume, upgrade your plan in the Talonic dashboard. All plans share the same API — the key determines your rate limits and quota.\",\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Never hardcode your `tlnc_` key in source code or share it in screenshots. Use environment variables or your MCP client's config file, which is typically stored in a user-specific directory.\",\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Install Overview\", slug: \"install-overview\" },\n ],\n faq: [\n {\n question: \"How do I get a Talonic API key for MCP?\",\n answer:\n \"Sign up at app.talonic.com (free, no credit card), go to Settings > API Keys > Create New Key, and copy the tlnc_ value into your MCP client config.\",\n },\n {\n question: \"Is the free tier enough for development?\",\n answer:\n \"Yes. The free tier includes 50 extractions per day with no credit card required, which is sufficient for development and testing. Upgrade in the dashboard for production workloads.\",\n },\n {\n question: \"What should I do if my API key is compromised?\",\n answer:\n \"Revoke it immediately in the Talonic dashboard under Settings > API Keys, then generate a new one. Update your MCP client config with the new key and restart the client.\",\n },\n ],\n mentions: [\"API key\", \"tlnc_\", \"free tier\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nconst MCP_HOSTED_SNIPPET = `{\n \"mcpServers\": {\n \"talonic\": {\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": {\n \"Authorization\": \"Bearer tlnc_your_key_here\"\n }\n }\n }\n}`\n\nconst MCP_CONFIG_SNIPPET = `{\n \"mcpServers\": {\n \"talonic\": {\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": {\n \"TALONIC_API_KEY\": \"tlnc_your_key_here\"\n }\n }\n }\n}`\n\nexport const sections: RawSection[] = [\n {\n slug: \"install-overview\",\n parentSlug: \"install\",\n title: \"Install Overview\",\n seoTitle: \"Install Talonic MCP — Talonic Docs\",\n description:\n \"Install the Talonic MCP server with a one-line npx invocation. No clone, no build. Works with every MCP client.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Two ways to connect. The hosted server at `mcp.talonic.com` requires zero install — paste one URL into any MCP client. Or run locally via `npx` if you prefer.\",\n },\n { type: \"heading\", level: 3, id: \"hosted-recommended\", text: \"Hosted (recommended)\" },\n {\n type: \"paragraph\",\n text: \"No install, no Node.js required. Works with every MCP client that supports remote servers:\",\n },\n {\n type: \"code\",\n language: \"jsonc\",\n title: \"Hosted config\",\n code: `{\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": { \"Authorization\": \"Bearer tlnc_...\" }\n}`,\n },\n {\n type: \"paragraph\",\n text: \"The hosted server is maintained by Talonic and always runs the latest version. It communicates over HTTPS with streamable HTTP transport, so there is no local process to manage. Latency is comparable to the local option because the MCP server still makes the same HTTPS call to `api.talonic.com` either way.\",\n },\n { type: \"heading\", level: 3, id: \"local-npx\", text: \"Local (npx)\" },\n { type: \"paragraph\", text: \"Runs on your machine. Requires Node.js 18+:\" },\n {\n type: \"code\",\n language: \"jsonc\",\n title: \"Local config\",\n code: `{\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": { \"TALONIC_API_KEY\": \"tlnc_...\" }\n}`,\n },\n {\n type: \"paragraph\",\n text: \"The `-y` flag skips the npm install prompt. Pinning to `@latest` means new versions are picked up on the next client restart.\",\n },\n {\n type: \"paragraph\",\n text: \"Both options expose the same seven tools and one resource. The hosted option is recommended for most users because it eliminates Node.js as a dependency, simplifies debugging (no local process to inspect), and receives updates without any action on your part.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"If you are behind a corporate proxy or firewall that blocks outbound HTTPS to `mcp.talonic.com`, use the local `npx` option and configure your proxy via standard `HTTPS_PROXY` environment variables.\",\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Cursor\", slug: \"cursor\" },\n ],\n faq: [\n {\n question: \"How do I install the Talonic MCP server?\",\n answer:\n \"Use the hosted server at mcp.talonic.com/mcp — just set the URL and your API key in any MCP client config. No install needed. Alternatively, run locally via npx @talonic/mcp.\",\n },\n {\n question: \"What is the difference between hosted and local MCP server?\",\n answer:\n \"Both expose the same tools and resource. Hosted requires zero local dependencies and auto-updates. Local runs on your machine via npx and requires Node.js 18+. Latency is comparable since both call the same API.\",\n },\n {\n question: \"Do I need to update the MCP server manually?\",\n answer:\n \"With the hosted server, updates are automatic. With the local npx option, pinning to @latest means new versions are fetched on the next client restart.\",\n },\n ],\n mentions: [\"npx\", \"npm\", \"MCP client\", \"install\"],\n },\n {\n slug: \"claude-desktop\",\n parentSlug: \"install\",\n title: \"Claude Desktop\",\n seoTitle: \"Claude Desktop Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Claude Desktop on macOS and Windows.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\\\Claude\\\\claude_desktop_config.json` (Windows).\",\n },\n { type: \"heading\", level: 3, id: \"claude-desktop-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"claude-desktop-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n {\n type: \"paragraph\",\n text: \"Fully restart Claude Desktop (Cmd+Q on macOS, not just close the window). Talonic appears in the connected servers list with all eight tools.\",\n },\n {\n type: \"paragraph\",\n text: \"Claude Desktop is the most popular MCP client for Talonic. It natively supports drag-and-drop file uploads, which pairs well with `talonic_extract` via the `file_data` parameter. When you drop a PDF into the chat, Claude automatically base64-encodes it and passes it to the MCP tool.\",\n },\n {\n type: \"paragraph\",\n text: \"After connecting, you can verify the setup by asking Claude to list your schemas (`talonic_list_schemas`) or extract data from a sample document. If the tools do not appear, check that your JSON is valid and the config file is in the correct directory for your operating system.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Claude Desktop also renders the `talonic://schemas` resource in its UI, letting you browse saved schemas without making a tool call.\",\n },\n ],\n related: [\n { label: \"Cursor\", slug: \"cursor\" },\n { label: \"Tool Reference\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic to Claude Desktop?\",\n answer:\n \"Edit claude_desktop_config.json, add the Talonic MCP server config with your API key, and fully restart Claude Desktop (Cmd+Q on macOS).\",\n },\n {\n question: \"Why don't Talonic tools appear after adding the config?\",\n answer:\n \"Make sure you fully restart Claude Desktop (Cmd+Q, not just close the window). Also verify your JSON syntax is valid and the config file is in the correct directory for your OS.\",\n },\n {\n question: \"Does Claude Desktop support drag-and-drop with Talonic?\",\n answer:\n \"Yes. Claude Desktop natively supports drag-and-drop file uploads. When you drop a PDF, Claude base64-encodes it and passes it to talonic_extract via the file_data parameter.\",\n },\n ],\n mentions: [\"Claude Desktop\", \"macOS\", \"Windows\"],\n },\n {\n slug: \"cursor\",\n parentSlug: \"install\",\n title: \"Cursor\",\n seoTitle: \"Cursor Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Cursor IDE.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Edit `~/.cursor/mcp.json` (or open Cursor settings → MCP → edit config):\",\n },\n { type: \"heading\", level: 3, id: \"cursor-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cursor-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n {\n type: \"paragraph\",\n text: \"After saving the config, restart Cursor or reload the window. The Talonic tools appear in the MCP tool list and can be invoked from Cursor's AI chat panel. Cursor's agent mode is particularly effective with Talonic because it can read local files from your project and pass them directly to `talonic_extract` via `file_path`.\",\n },\n {\n type: \"paragraph\",\n text: \"A common Cursor workflow is extracting data from documents within a codebase — for example, parsing specification PDFs, extracting configuration from scanned documents, or converting legacy documentation to structured data. The `file_path` input works directly with paths relative to your Cursor workspace.\",\n },\n {\n type: \"paragraph\",\n text: \"Cursor caches MCP tool descriptions between sessions. If you upgrade the MCP server and notice outdated tool descriptions, restart Cursor to force a refresh of the tool metadata.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Cursor supports both the hosted and local MCP options. The hosted option is simpler since Cursor can connect directly via HTTPS without spawning a local process.\",\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Cline\", slug: \"cline\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cursor?\",\n answer: \"Edit ~/.cursor/mcp.json and add the Talonic MCP server config with your API key.\",\n },\n {\n question: \"Can Cursor read local files for extraction?\",\n answer:\n \"Yes. Cursor's agent mode can read files from your project and pass them to talonic_extract via the file_path parameter, making it easy to extract data from documents within your codebase.\",\n },\n {\n question: \"Why are Talonic tool descriptions outdated in Cursor?\",\n answer:\n \"Cursor caches MCP tool descriptions between sessions. Restart Cursor to force a refresh after upgrading the MCP server.\",\n },\n ],\n mentions: [\"Cursor\", \"IDE\"],\n },\n {\n slug: \"cline\",\n parentSlug: \"install\",\n title: \"Cline\",\n seoTitle: \"Cline Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in the Cline VS Code extension.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Open the Cline panel → settings (gear icon) → MCP Servers → Edit. Save and restart the panel.\",\n },\n { type: \"heading\", level: 3, id: \"cline-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cline-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n {\n type: \"paragraph\",\n text: \"Cline runs inside VS Code and communicates with MCP servers over stdio (local) or HTTP (hosted). After adding the config, the Talonic tools become available in Cline's autonomous agent mode, where it can chain multiple tool calls without manual approval for each step.\",\n },\n {\n type: \"paragraph\",\n text: \"Cline's auto-approval feature works well with Talonic workflows. For example, the agent can search for documents, filter results, and extract data from the top match in a single turn. Configure Cline's auto-approve settings to control which Talonic tools run without confirmation.\",\n },\n {\n type: \"paragraph\",\n text: \"Because Cline operates within VS Code, it has access to your workspace file system. The `file_path` parameter on `talonic_extract` and `talonic_to_markdown` can reference any file in your open workspace, making it straightforward to process documents alongside code.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"If Cline shows the MCP server as disconnected after a VS Code update, re-open the Cline panel settings and verify the config is still present. Some VS Code updates can reset extension state.\",\n },\n ],\n related: [\n { label: \"Continue\", slug: \"continue\" },\n { label: \"Cursor\", slug: \"cursor\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cline?\",\n answer:\n \"Open the Cline panel settings, go to MCP Servers, click Edit, and add the Talonic config entry.\",\n },\n {\n question: \"Does Cline support auto-approval for Talonic tools?\",\n answer:\n \"Yes. Configure Cline's auto-approve settings to allow specific Talonic tools to run without manual confirmation, enabling multi-step workflows in a single turn.\",\n },\n {\n question: \"Can Cline access local files for Talonic extraction?\",\n answer:\n \"Yes. Cline runs inside VS Code and has access to your workspace file system, so you can use file_path to reference any file in the open workspace.\",\n },\n ],\n mentions: [\"Cline\", \"VS Code\"],\n },\n {\n slug: \"continue\",\n parentSlug: \"install\",\n title: \"Continue\",\n seoTitle: \"Continue Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Continue for VS Code and JetBrains.\",\n content: [\n { type: \"paragraph\", text: \"Edit `~/.continue/config.json`. Add to the `mcpServers` array:\" },\n { type: \"heading\", level: 3, id: \"continue-hosted\", text: \"Hosted (recommended)\" },\n {\n type: \"code\",\n language: \"json\",\n code: `{\n \"name\": \"talonic\",\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": {\n \"Authorization\": \"Bearer tlnc_your_key_here\"\n }\n}`,\n },\n { type: \"heading\", level: 3, id: \"continue-local\", text: \"Local (npx)\" },\n {\n type: \"code\",\n language: \"json\",\n code: `{\n \"name\": \"talonic\",\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": {\n \"TALONIC_API_KEY\": \"tlnc_your_key_here\"\n }\n}`,\n },\n {\n type: \"paragraph\",\n text: \"Continue works across both VS Code and JetBrains IDEs, making Talonic tools available regardless of your editor choice. The `mcpServers` array in Continue's config supports multiple MCP servers, so Talonic runs alongside any other MCP tools you have configured.\",\n },\n {\n type: \"paragraph\",\n 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` — it should return your saved schemas or an empty list.\",\n },\n {\n type: \"paragraph\",\n text: \"Continue's config format uses a `name` field instead of a key in the `mcpServers` object. Make sure to include `\\\"name\\\": \\\"talonic\\\"` in the entry. The rest of the config — `command`, `args`, `env` for local, or `url` and `headers` for hosted — follows the same pattern as other MCP clients.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Continue's MCP support works identically in VS Code and JetBrains. The same `~/.continue/config.json` file is shared across both editors.\",\n },\n ],\n related: [\n { label: \"Cowork\", slug: \"cowork\" },\n { label: \"Cline\", slug: \"cline\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Continue?\",\n answer:\n \"Edit ~/.continue/config.json and add a Talonic entry to the mcpServers array with your API key.\",\n },\n {\n question: \"Does Continue work with Talonic in JetBrains?\",\n answer:\n \"Yes. Continue shares the same config file (~/.continue/config.json) across VS Code and JetBrains, so Talonic works identically in both editors.\",\n },\n {\n question: \"Why does Continue use a different config format?\",\n answer:\n \"Continue uses an mcpServers array with a name field instead of an object keyed by server name. Include \\\"name\\\": \\\"talonic\\\" in the entry alongside the standard command/args/env or url/headers fields.\",\n },\n ],\n mentions: [\"Continue\", \"VS Code\", \"JetBrains\"],\n },\n {\n slug: \"cowork\",\n parentSlug: \"install\",\n title: \"Cowork\",\n seoTitle: \"Cowork Setup — Talonic MCP\",\n description: \"Configure the Talonic MCP server in Cowork.\",\n content: [\n { type: \"paragraph\", text: \"Open Cowork settings → MCP Servers → Add.\" },\n { type: \"heading\", level: 3, id: \"cowork-hosted\", text: \"Hosted (recommended)\" },\n { type: \"code\", language: \"json\", code: MCP_HOSTED_SNIPPET },\n { type: \"heading\", level: 3, id: \"cowork-local\", text: \"Local (npx)\" },\n { type: \"code\", language: \"json\", code: MCP_CONFIG_SNIPPET },\n {\n type: \"paragraph\",\n 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.\",\n },\n {\n type: \"paragraph\",\n text: \"Like Claude Desktop, Cowork renders MCP resources in its UI. This means your saved schemas are visible without making a tool call, which helps when you want to browse available schemas before starting an extraction workflow.\",\n },\n {\n type: \"paragraph\",\n text: \"After adding the config, restart Cowork to load the new MCP server. If you are using the hosted option, Cowork connects directly via HTTPS — no local process is spawned. For the local option, Cowork launches the `npx` command as a child process and communicates over stdio.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Cowork's resource panel lets you browse `talonic://schemas` visually, making it easy to discover existing schemas before designing new ones.\",\n },\n ],\n related: [\n { label: \"Claude Desktop\", slug: \"claude-desktop\" },\n { label: \"Tool Reference\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I add Talonic MCP to Cowork?\",\n answer:\n \"Open Cowork settings, go to MCP Servers, click Add, and paste the standard Talonic config with your API key.\",\n },\n {\n question: \"Does Cowork support the talonic://schemas resource?\",\n answer:\n \"Yes. Cowork renders MCP resources in its UI, so you can browse your saved schemas visually in the resources panel without making a tool call.\",\n },\n {\n question: \"Does Cowork support drag-and-drop with Talonic?\",\n answer:\n \"Yes. Cowork supports drag-and-drop file uploads, which pairs with talonic_extract's file_data parameter for easy document extraction.\",\n },\n ],\n mentions: [\"Cowork\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"talonic-extract\",\n parentSlug: \"tools\",\n title: \"talonic_extract\",\n seoTitle: \"talonic_extract Tool — Talonic MCP\",\n description:\n \"Extract structured, schema-validated data from a document. Returns clean JSON with per-field confidence scores.\",\n content: [\n { type: \"paragraph\", text: \"Extract structured, schema-validated data from a document.\" },\n {\n type: \"paragraph\",\n text: \"Inputs: one of `file_data` + `filename` (recommended for chat clients), `file_path`, `file_url`, or `document_id`, plus a `schema` (or `schema_id`). Returns clean JSON with per-field confidence scores.\",\n },\n {\n type: \"paragraph\",\n text: \"This is the primary tool in the Talonic MCP server. When an agent calls **`talonic_extract`**, the MCP server uploads the document to the Talonic API, runs OCR and field extraction against the provided schema, and returns structured JSON with confidence metadata. The entire pipeline — upload, OCR, extraction, validation — runs server-side in a single request.\",\n },\n {\n type: \"paragraph\",\n text: \"The response includes a `document.id` that persists in your workspace. Subsequent calls can reference this ID via the `document_id` parameter to re-extract with a different schema, retrieve markdown, or fetch metadata — all without re-uploading the file. This is both faster and cheaper than sending the file again.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"file_data\",\n type: \"string\",\n description: \"Base64-encoded file bytes. Recommended for chat clients (drag-and-drop).\",\n },\n {\n name: \"filename\",\n type: \"string\",\n description: \"Original filename (used for MIME type inference when using `file_data`).\",\n },\n { name: \"file_path\", type: \"string\", description: \"Local file path.\" },\n { name: \"file_url\", type: \"string\", description: \"Remote file URL.\" },\n {\n name: \"document_id\",\n type: \"string\",\n description: \"ID of a previously uploaded document.\",\n },\n {\n name: \"schema\",\n type: \"object\",\n description: \"Inline schema definition (JSON Schema or flat key-type map).\",\n },\n {\n name: \"schema_id\",\n type: \"string\",\n description: \"UUID or SCH-XXXXXXXX short ID of a saved schema.\",\n },\n {\n name: \"instructions\",\n type: \"string\",\n description: \"Natural-language guidance for the extractor.\",\n },\n {\n name: \"include_markdown\",\n type: \"boolean\",\n description: \"Include OCR markdown alongside structured data.\",\n },\n ],\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Always provide a `schema` or `schema_id`. Auto-discovery extract (no schema) is not reliable in v0.1.\",\n },\n { type: \"heading\", level: 3, id: \"extract-inline-schema\", text: \"Example: inline schema\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"file_url\": \"https://example.com/invoice-2026-001.pdf\",\n \"schema\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"line_items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": { \"type\": \"string\" },\n \"amount\": { \"type\": \"number\" }\n }\n }\n }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n },\n \"instructions\": \"Amounts are in EUR. Focus on the billing section.\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"extraction_id\": \"ext_8f3a...\",\n \"request_id\": \"req_2c91...\",\n \"status\": \"complete\",\n \"document\": {\n \"id\": \"doc_8f3a...\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"pages\": 2,\n \"type_detected\": \"invoice\",\n \"language_detected\": \"de\"\n },\n \"data\": {\n \"vendor_name\": \"Meridian Energy AG\",\n \"invoice_number\": \"INV-2026-001\",\n \"total_amount\": 1500.00,\n \"due_date\": \"2026-06-15\",\n \"line_items\": [\n { \"description\": \"Consulting, April\", \"amount\": 1200.00 },\n { \"description\": \"Travel expenses\", \"amount\": 300.00 }\n ]\n },\n \"schema\": {\n \"source\": \"inline\"\n },\n \"confidence\": {\n \"overall\": 0.97,\n \"fields\": {\n \"vendor_name\": 0.98,\n \"invoice_number\": 0.95,\n \"total_amount\": 0.99,\n \"due_date\": 0.97\n }\n },\n \"processing\": {\n \"duration_ms\": 2840,\n \"pages_processed\": 2,\n \"region\": \"eu-central-1\"\n }\n}`,\n },\n { type: \"heading\", level: 3, id: \"extract-schema-id\", text: \"Example: saved schema\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"file_path\": \"./contracts/lease-agreement.pdf\",\n \"schema_id\": \"SCH-A1B2C3D4\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"extraction_id\": \"ext_b29f...\",\n \"request_id\": \"req_4c81...\",\n \"status\": \"complete\",\n \"document\": {\n \"id\": \"doc_91ad...\",\n \"filename\": \"lease-agreement.pdf\",\n \"pages\": 8,\n \"type_detected\": \"lease_agreement\",\n \"language_detected\": \"en\"\n },\n \"data\": {\n \"lessor\": \"Acme Holdings Ltd.\",\n \"lessee\": \"Meridian Energy AG\",\n \"premises_address\": \"12 Hauptstrasse, 10115 Berlin\",\n \"term_start\": \"2026-07-01\",\n \"term_end\": \"2031-06-30\",\n \"monthly_rent_eur\": 4250.00\n },\n \"schema\": {\n \"source\": \"saved\",\n \"id\": \"SCH-A1B2C3D4\"\n },\n \"confidence\": {\n \"overall\": 0.94,\n \"fields\": {\n \"lessor\": 0.97,\n \"lessee\": 0.97,\n \"premises_address\": 0.92,\n \"term_start\": 0.95,\n \"term_end\": 0.95,\n \"monthly_rent_eur\": 0.91\n }\n },\n \"processing\": {\n \"duration_ms\": 4380,\n \"pages_processed\": 8,\n \"region\": \"eu-central-1\"\n }\n}`,\n },\n ],\n related: [\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n { label: \"talonic_save_schema\", slug: \"talonic-save-schema\" },\n { label: \"Drag & Drop Files\", slug: \"drag-and-drop\" },\n ],\n faq: [\n {\n question: \"How does talonic_extract work?\",\n answer:\n \"Send a document (file_data, file_path, file_url, or document_id) with a schema or schema_id. The tool returns schema-validated JSON with per-field confidence scores.\",\n },\n {\n question: \"What is the fastest way to extract data from a document?\",\n answer:\n \"If the document is already in your workspace, pass its document_id instead of re-uploading. For new documents in chat clients, use file_data with base64-encoded bytes. For files on the web, use file_url to avoid downloading locally first.\",\n },\n {\n question: \"How long does an extraction typically take?\",\n answer:\n \"Processing time depends on document size. A 2-page invoice typically completes in 2-4 seconds. Larger documents (8+ pages) may take 4-8 seconds. The processing.duration_ms field in the response shows the exact server-side duration.\",\n },\n ],\n mentions: [\"extract\", \"schema\", \"confidence scores\", \"file_data\"],\n },\n {\n slug: \"talonic-search\",\n parentSlug: \"tools\",\n title: \"talonic_search\",\n seoTitle: \"talonic_search Tool — Talonic MCP\",\n description:\n \"Omnisearch across documents, fields, sources, and schemas in the workspace. Supports conceptual and fuzzy queries.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Omnisearch across documents, fields, sources, and schemas in the workspace. Use for conceptual or fuzzy queries.\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_search`** is designed for discovery. When a user asks a question like 'do I have any contracts about indemnification?' or 'find documents from Acme', this is the right tool. It searches across document filenames, extracted field values, schema names, and source metadata using semantic and fuzzy matching.\",\n },\n {\n type: \"paragraph\",\n text: \"The response is grouped by entity type: `documents`, `fieldMatches`, `schemas`, `sources`, and `fields`. Each result includes a relevance `score` (0..1) so the agent can assess match quality. Results with scores below 0.5 are typically not relevant and can be omitted when presenting to the user.\",\n },\n {\n type: \"paragraph\",\n text: \"For queries that require exact field-value matching (like 'invoices over 1000 EUR'), use **`talonic_filter`** instead. Search is for exploration and discovery; filter is for precision queries against structured data.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"query\",\n type: \"string\",\n required: true,\n description: \"The search query. Supports fuzzy and conceptual matching.\",\n },\n {\n name: \"limit\",\n type: \"integer\",\n description: \"Maximum results per entity type. Default: 5.\",\n },\n ],\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Search results include canonical field names in `fields[].canonicalName`. These names can be used directly in `talonic_filter` conditions, making search a good first step before building precise filters.\",\n },\n { type: \"heading\", level: 3, id: \"search-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"query\": \"indemnification clauses Acme\",\n \"limit\": 10\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"documents\": [\n {\n \"id\": \"doc_4e7b...\",\n \"filename\": \"acme-services-agreement.pdf\",\n \"type_detected\": \"Services Agreement\",\n \"score\": 0.92\n }\n ],\n \"fieldMatches\": [\n {\n \"fieldName\": \"indemnification.cap_amount\",\n \"documentId\": \"doc_4e7b...\",\n \"value\": \"2x annual fees\",\n \"score\": 0.88\n }\n ],\n \"schemas\": [],\n \"sources\": [],\n \"fields\": [\n { \"canonicalName\": \"indemnification.cap_amount\", \"type\": \"string\" }\n ]\n}`,\n },\n ],\n related: [\n { label: \"talonic_filter\", slug: \"talonic-filter\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Agent Decision Guide\", slug: \"agent-decision-guide\" },\n ],\n faq: [\n {\n question: \"What does talonic_search do?\",\n answer:\n \"It searches across documents, fields, sources, and schemas in the workspace using fuzzy and conceptual matching.\",\n },\n {\n question: \"When should I use talonic_search vs talonic_filter?\",\n answer:\n \"Use search for discovery and fuzzy queries ('find Acme contracts'). Use filter for precise field-value conditions ('invoices over 1000 EUR'). Search is exploration; filter is precision.\",\n },\n {\n question: \"What do the search scores mean?\",\n answer:\n \"Each result includes a relevance score from 0 to 1. Scores above 0.7 are strong matches, 0.5-0.7 are partial matches, and below 0.5 are typically not relevant.\",\n },\n ],\n mentions: [\"search\", \"omnisearch\", \"fuzzy\", \"discovery\"],\n },\n {\n slug: \"talonic-filter\",\n parentSlug: \"tools\",\n title: \"talonic_filter\",\n seoTitle: \"talonic_filter Tool — Talonic MCP\",\n description:\n \"Filter documents by extracted field values using composable conditions like eq, gt, between, and contains.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, etc.).\",\n },\n {\n type: \"paragraph\",\n text: \"Accepts canonical field names (e.g. `vendor.name`, `policy.0_coverage_type`) which the Talonic API resolves to IDs server-side, or UUIDs directly.\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_filter`** is the precision counterpart to **`talonic_search`**. While search uses fuzzy matching for discovery, filter applies exact conditions against extracted field values. This makes it ideal for queries like 'show me all invoices from vendor X over 1000 EUR' or 'contracts expiring before 2026-12-31'.\",\n },\n {\n type: \"paragraph\",\n text: \"Multiple conditions are AND-ed together, allowing you to build precise queries that narrow results progressively. The optional `search` parameter lets you combine free-text search with structured filters in a single call, and `sort` controls the result ordering.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"conditions\",\n type: \"array\",\n required: true,\n description:\n \"Filter conditions, AND-ed together. Each has `field` or `field_id`, `operator`, and `value`.\",\n },\n {\n name: \"search\",\n type: \"string\",\n description: \"Optional free-text search applied alongside filters.\",\n },\n {\n name: \"sort\",\n type: \"object\",\n description: 'Sort by a field: `{ field, direction: \"asc\" | \"desc\" }`.',\n },\n { name: \"page\", type: \"integer\", description: \"Page number for pagination.\" },\n { name: \"limit\", type: \"integer\", description: \"Results per page. Default: 50.\" },\n ],\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Two limitations: (1) only fields where the search response shows `filterable: true` can be used with `talonic_filter`; entries with `filterable: false` have no extracted data yet. (2) `is_not_empty` is intentionally not exposed in v0.1; use `eq`/`gt`/`contains` against a known value or invert `is_empty` client-side.\",\n },\n { type: \"heading\", level: 3, id: \"filter-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"conditions\": [\n { \"field\": \"vendor.name\", \"operator\": \"eq\", \"value\": \"Meridian Energy AG\" },\n { \"field\": \"invoice.total_eur\", \"operator\": \"gt\", \"value\": 1000 }\n ],\n \"sort\": { \"field\": \"invoice.total_eur\", \"direction\": \"desc\" },\n \"limit\": 20\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"data\": [\n {\n \"document_id\": \"doc_8f3a...\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"fields\": {\n \"vendor.name\": \"Meridian Energy AG\",\n \"invoice.total_eur\": 1500.00,\n \"invoice.due_date\": \"2026-06-15\"\n }\n },\n {\n \"document_id\": \"doc_c2d9...\",\n \"filename\": \"invoice-2026-003.pdf\",\n \"fields\": {\n \"vendor.name\": \"Meridian Energy AG\",\n \"invoice.total_eur\": 1200.00,\n \"invoice.due_date\": \"2026-04-30\"\n }\n }\n ],\n \"total\": 2,\n \"page\": 1\n}`,\n },\n ],\n related: [\n { label: \"talonic_search\", slug: \"talonic-search\" },\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n { label: \"Agent Decision Guide\", slug: \"agent-decision-guide\" },\n ],\n faq: [\n {\n question: \"How do I filter documents by field value?\",\n answer:\n \"Use talonic_filter with canonical field names and operators like eq, gt, between, contains. The API resolves field names to IDs server-side.\",\n },\n {\n question: \"How do I find the correct canonical field names for filtering?\",\n answer:\n \"Call talonic_search first — canonical field names appear in the fields[].canonicalName array. You can also inspect previously extracted documents to see their field structure.\",\n },\n {\n question: \"Can I combine free-text search with field filters?\",\n answer:\n \"Yes. Pass the search parameter alongside conditions to combine fuzzy text matching with structured field-value filters in a single call.\",\n },\n ],\n mentions: [\"filter\", \"canonical field names\", \"operators\", \"conditions\"],\n },\n {\n slug: \"talonic-get-document\",\n parentSlug: \"tools\",\n title: \"talonic_get_document\",\n seoTitle: \"talonic_get_document Tool — Talonic MCP\",\n description:\n \"Fetch full metadata for a single document by ID, including processing log and link URLs.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Fetch full metadata for a single document by ID, including processing log and link URLs.\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_get_document`** retrieves comprehensive information about a document that has already been ingested into your Talonic workspace. This includes the file's status, page count, size, detected document type and language, the source that uploaded it, and direct links to the document in the Talonic dashboard and API.\",\n },\n {\n type: \"paragraph\",\n text: \"This tool is useful when the agent needs to check whether a document has finished processing, verify its detected type, or retrieve the dashboard link so the user can view the original. It does not return extracted data — for that, use **`talonic_extract`** with the same `document_id`.\",\n },\n {\n type: \"paragraph\",\n text: \"The `links.dashboard` URL in the response is particularly valuable for human-in-the-loop workflows. When the agent needs the user to verify an extraction against the original document, it can present this link as a direct way to view the source in the Talonic web interface.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"document_id\",\n type: \"string\",\n required: true,\n description: \"The document UUID.\",\n },\n ],\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"The `document_id` returned by `talonic_extract` and other tools is stable. You can call `talonic_get_document` at any time to check the document's current status and metadata.\",\n },\n { type: \"heading\", level: 3, id: \"get-document-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\",\n \"filename\": \"invoice-2026-001.pdf\",\n \"status\": \"completed\",\n \"pages\": 2,\n \"size_bytes\": 184320,\n \"mime_type\": \"application/pdf\",\n \"type_detected\": \"Invoice\",\n \"language_detected\": \"de\",\n \"source\": { \"id\": \"src_a1b2...\", \"type\": \"api\" },\n \"links\": {\n \"self\": \"https://api.talonic.com/v1/documents/doc_8f3a...\",\n \"extractions\": \"https://api.talonic.com/v1/documents/doc_8f3a.../extractions\",\n \"dashboard\": \"https://app.talonic.com/documents/doc_8f3a...\"\n }\n}`,\n },\n ],\n related: [\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I get document metadata via MCP?\",\n answer:\n \"Call talonic_get_document with the document UUID to get full metadata including processing log and link URLs.\",\n },\n {\n question: \"Does talonic_get_document return extracted data?\",\n answer:\n \"No. It returns metadata (filename, status, pages, type, language, links). For extracted field data, use talonic_extract with the same document_id.\",\n },\n {\n question: \"How can I link the user to the original document?\",\n answer:\n \"The response includes links.dashboard, which is a direct URL to view the document in the Talonic web interface. Present this to the user when they need to verify an extraction.\",\n },\n ],\n mentions: [\"document\", \"metadata\", \"processing log\", \"dashboard link\"],\n },\n {\n slug: \"talonic-to-markdown\",\n parentSlug: \"tools\",\n title: \"talonic_to_markdown\",\n seoTitle: \"talonic_to_markdown Tool — Talonic MCP\",\n description:\n \"Get OCR-converted markdown for a document. Accepts document_id, file_data + filename, file_path, or file_url.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Get OCR-converted markdown for a document. Accepts `document_id` (cheapest — no re-upload), `file_data` + `filename`, `file_path`, or `file_url`.\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_to_markdown`** converts a document's visual content into clean, structured markdown. Tables are rendered as markdown tables, headings are preserved, and the text is ordered to match the visual layout of the original document. This is the right tool when the user wants the full text of a document for summarisation, translation, or general analysis without needing structured field extraction.\",\n },\n {\n type: \"paragraph\",\n text: \"If you have already ingested the document (via a previous `talonic_extract` or `talonic_to_markdown` call), pass the `document_id` to skip re-uploading. This is the cheapest and fastest path because the OCR has already been performed. For new documents, use `file_data` + `filename` in chat clients, `file_path` for local files, or `file_url` for remote files.\",\n },\n {\n type: \"paragraph\",\n text: \"The returned markdown is suitable for feeding into an LLM's context window for downstream tasks. Because the conversion preserves table structure and heading hierarchy, the LLM can reason about the document's content without losing structural information that raw text extraction would discard.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"document_id\",\n type: \"string\",\n description: \"ID of an already-ingested document (cheapest path).\",\n },\n {\n name: \"file_data\",\n type: \"string\",\n description: \"Base64-encoded file bytes. Pair with `filename`.\",\n },\n { name: \"filename\", type: \"string\", description: \"Original filename with extension.\" },\n { name: \"file_path\", type: \"string\", description: \"Local file path.\" },\n {\n name: \"file_url\",\n type: \"string\",\n description: \"Remote URL the API fetches server-side.\",\n },\n ],\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"If you need both structured data and markdown, use `talonic_extract` with `include_markdown: true` instead of making two separate calls. This saves one upload and one processing cycle.\",\n },\n { type: \"heading\", level: 3, id: \"to-markdown-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}`,\n },\n {\n type: \"code\",\n language: \"markdown\",\n title: \"Tool response\",\n code: `# Invoice INV-2026-001\n\n**Meridian Energy AG**\nMusterstraße 42, 10115 Berlin\n\n| Item | Amount |\n|-----------------------|------------|\n| Consulting — April | €1,200.00 |\n| Travel expenses | €300.00 |\n| **Total** | **€1,500.00** |\n\nDue date: 15 June 2026\nPayment terms: Net 30`,\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Drag & Drop Files\", slug: \"drag-and-drop\" },\n ],\n faq: [\n {\n question: \"How do I get markdown from a document via MCP?\",\n answer:\n \"Call talonic_to_markdown with a document_id (cheapest), or provide the file directly via file_data, file_path, or file_url.\",\n },\n {\n question: \"Does talonic_to_markdown preserve table structure?\",\n answer:\n \"Yes. Tables are rendered as markdown tables with proper column alignment. Headings and text ordering are also preserved to match the original document layout.\",\n },\n {\n question: \"Should I use talonic_to_markdown or talonic_extract with include_markdown?\",\n answer:\n \"If you only need the text, use talonic_to_markdown. If you need both structured fields and the full text, use talonic_extract with include_markdown: true to avoid two separate calls.\",\n },\n ],\n mentions: [\"markdown\", \"OCR\", \"document_id\", \"tables\"],\n },\n {\n slug: \"talonic-list-schemas\",\n parentSlug: \"tools\",\n title: \"talonic_list_schemas\",\n seoTitle: \"talonic_list_schemas Tool — Talonic MCP\",\n description: \"List all saved schemas with their definitions in the workspace.\",\n content: [\n {\n type: \"paragraph\",\n text: \"List all saved schemas with their definitions. Returns schema IDs (both UUID and `SCH-XXXXXXXX` short format), names, and field definitions.\",\n },\n {\n type: \"paragraph\",\n text: \"The `talonic://schemas` resource exposes the same data to clients that browse resources separately (Claude Desktop and Cowork render these in the UI).\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_list_schemas`** is a read-only tool that returns every saved schema in your workspace. Agents should call this before creating a new schema to avoid duplicates, and when the user asks about their available extraction templates. The response includes the full JSON Schema definition for each schema, so the agent can inspect field structures without additional calls.\",\n },\n {\n type: \"paragraph\",\n text: \"Each schema in the response includes both a UUID (`id`) and a human-friendly short ID (`short_id` in `SCH-XXXXXXXX` format). Either can be passed as `schema_id` to `talonic_extract`. The short ID is easier for users to reference in conversation, while the UUID is useful for programmatic workflows.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"Call `talonic_list_schemas` before `talonic_save_schema` to check if a similar schema already exists. This prevents cluttering the workspace with near-duplicate schemas.\",\n },\n { type: \"heading\", level: 3, id: \"list-schemas-example\", text: \"Example\" },\n { type: \"paragraph\", text: \"No input parameters required.\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"schemas\": [\n {\n \"id\": \"sch_7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n \"short_id\": \"SCH-A1B2C3D4\",\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms.\",\n \"version\": 3,\n \"field_count\": 6,\n \"definition\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"currency\": { \"type\": \"string\" },\n \"line_items\": { \"type\": \"array\" }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n }\n },\n {\n \"id\": \"sch_e5f6a7b8-c9d0-1e2f-3a4b-5c6d7e8f9a0b\",\n \"short_id\": \"SCH-E5F6A7B8\",\n \"name\": \"Certificate of Insurance\",\n \"description\": \"Extracts insured party, coverage types, limits, and expiry.\",\n \"version\": 1,\n \"field_count\": 8,\n \"definition\": { \"type\": \"object\", \"properties\": { \"...\" : {} } }\n }\n ]\n}`,\n },\n ],\n related: [\n { label: \"talonic_save_schema\", slug: \"talonic-save-schema\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I list schemas via MCP?\",\n answer:\n \"Call talonic_list_schemas to get all saved schemas with their definitions. The talonic://schemas resource also exposes this data.\",\n },\n {\n question: \"What is the difference between the UUID and SCH-XXXXXXXX ID?\",\n answer:\n \"Both reference the same schema. The UUID (id) is the full identifier, while SCH-XXXXXXXX (short_id) is a shorter, human-friendly format. Either can be passed as schema_id to talonic_extract.\",\n },\n {\n question: \"Does talonic_list_schemas require any parameters?\",\n answer:\n \"No. It takes no input parameters and returns all saved schemas in the workspace with their full definitions.\",\n },\n ],\n mentions: [\"schemas\", \"list\", \"SCH-XXXXXXXX\", \"resource\"],\n },\n {\n slug: \"talonic-save-schema\",\n parentSlug: \"tools\",\n title: \"talonic_save_schema\",\n seoTitle: \"talonic_save_schema Tool — Talonic MCP\",\n description: \"Save a schema definition to the workspace for reuse across extractions.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Save a schema definition to the workspace for reuse. Returns a `schema_id` that can be passed to `talonic_extract`.\",\n },\n {\n type: \"paragraph\",\n text: \"**`talonic_save_schema`** persists an extraction template so it can be referenced by ID in future `talonic_extract` calls. This is useful when the same schema will be applied to many documents — for example, a standard invoice schema used across all vendor invoices, or a contract schema applied to every new agreement.\",\n },\n {\n type: \"paragraph\",\n text: \"The recommended workflow is to iterate on the schema inline first (passing it directly to `talonic_extract`), verify the extraction results with the user, and only call `talonic_save_schema` once the schema design is confirmed. This avoids cluttering the workspace with draft schemas that never get used.\",\n },\n {\n type: \"paragraph\",\n text: \"The response returns both a UUID (`id`) and a short ID (`short_id` in `SCH-XXXXXXXX` format). Either can be used as `schema_id` in subsequent `talonic_extract` calls. The `version` field starts at 1 and increments if the schema is updated through the Talonic dashboard.\",\n },\n {\n type: \"param-table\",\n params: [\n {\n name: \"name\",\n type: \"string\",\n required: true,\n description: \"Human-readable schema name.\",\n },\n {\n name: \"definition\",\n type: \"object\",\n required: true,\n description:\n 'Schema definition. Full JSON Schema `{type: \"object\", properties: {...}}` recommended.',\n },\n {\n name: \"description\",\n type: \"string\",\n description: \"What this schema extracts and when to use it.\",\n },\n ],\n },\n {\n type: \"callout\",\n text: 'Prefer full JSON Schema format with `type: \"object\"` and `properties`. The flat key-type map format is not fully supported server-side yet.',\n },\n { type: \"heading\", level: 3, id: \"save-schema-example\", text: \"Example\" },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms from invoices.\",\n \"definition\": {\n \"type\": \"object\",\n \"properties\": {\n \"vendor_name\": { \"type\": \"string\" },\n \"invoice_number\": { \"type\": \"string\" },\n \"total_amount\": { \"type\": \"number\" },\n \"due_date\": { \"type\": \"string\", \"format\": \"date\" },\n \"line_items\": {\n \"type\": \"array\",\n \"items\": {\n \"type\": \"object\",\n \"properties\": {\n \"description\": { \"type\": \"string\" },\n \"amount\": { \"type\": \"number\" }\n }\n }\n }\n },\n \"required\": [\"vendor_name\", \"total_amount\"]\n }\n}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"id\": \"sch_7a1b2c3d-4e5f-6a7b-8c9d-0e1f2a3b4c5d\",\n \"short_id\": \"SCH-A1B2C3D4\",\n \"name\": \"Standard Invoice\",\n \"description\": \"Extracts vendor, line items, totals, and payment terms from invoices.\",\n \"version\": 1,\n \"field_count\": 5\n}`,\n },\n ],\n related: [\n { label: \"talonic_list_schemas\", slug: \"talonic-list-schemas\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n ],\n faq: [\n {\n question: \"How do I save a schema via MCP?\",\n answer:\n \"Call talonic_save_schema with a name and JSON Schema definition. It returns a schema_id for reuse in talonic_extract calls.\",\n },\n {\n question: \"When should I save a schema vs use an inline schema?\",\n answer:\n \"Save a schema when you will reuse it across many documents (e.g., a standard invoice template). Use inline schemas for one-off extractions or when iterating on schema design with the user.\",\n },\n {\n question: \"Can I update a saved schema?\",\n answer:\n \"Schema updates are managed through the Talonic dashboard. The version field in the response tracks changes. Via MCP, you can save a new schema with a different name if the design changes significantly.\",\n },\n ],\n mentions: [\"save schema\", \"JSON Schema\", \"reuse\", \"version\"],\n },\n {\n slug: \"talonic-get-balance\",\n parentSlug: \"tools\",\n title: \"talonic_get_balance\",\n seoTitle: \"talonic_get_balance Tool — Talonic MCP\",\n description:\n \"MCP tool that returns the current Talonic credit balance, EUR value, 30-day burn rate, projected runway, tier, and next monthly tier-reset timestamp.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Returns the workspace's current credit balance, EUR value, 30-day burn rate, projected runway in days, API tier, and the timestamp of the next monthly tier reset. Use it for budget-aware behaviour: read the balance before scheduling a large batch, or after a sequence of extractions to track spend.\",\n },\n {\n type: \"heading\",\n level: 3,\n id: \"use-when\",\n text: \"When to use\",\n },\n {\n type: \"list\",\n items: [\n \"The user asks how many credits or how much budget they have left.\",\n \"Before kicking off a large or expensive operation (batch extract, re-extract many documents), to confirm budget headroom.\",\n \"The user asks how long the balance will last at the current rate.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"do-not-use\",\n text: \"When not to use\",\n },\n {\n type: \"list\",\n items: [\n \"For per-call cost of a single extraction: that is already on every `talonic_extract` response under `cost`.\",\n \"To top up credits: route the user to the dashboard. Auto top-up is guarded by a separate scope and is intentionally not exposed at the MCP layer.\",\n ],\n },\n {\n type: \"heading\",\n level: 3,\n id: \"response-shape\",\n text: \"Response shape\",\n },\n {\n type: \"list\",\n items: [\n \"`balance_credits`: current credit balance (integer).\",\n \"`balance_eur`: current balance expressed in EUR (rounded to two decimals).\",\n \"`burn_rate_30d_credits`: total credits consumed in the trailing 30 days.\",\n \"`projected_runway_days`: days of runway at the current 30-day average burn rate. `-1` indicates no consumption in the trailing window (cannot compute a meaningful runway).\",\n \"`tier`: API tier of the workspace (`free`, `pro`, `enterprise`, etc.).\",\n \"`tier_resets_at`: ISO 8601 timestamp of the next monthly tier reset.\",\n ],\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool input\",\n code: `{}`,\n },\n {\n type: \"code\",\n language: \"json\",\n title: \"Tool response\",\n code: `{\n \"balance_credits\": 1888,\n \"balance_eur\": 9.44,\n \"burn_rate_30d_credits\": 360,\n \"projected_runway_days\": 157,\n \"tier\": \"pro\",\n \"tier_resets_at\": \"2026-06-01T00:00:00.000Z\"\n}`,\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"Pricing\", slug: \"pricing\" },\n ],\n faq: [\n {\n question: \"How do I check my Talonic credit balance from an agent?\",\n answer:\n \"Call talonic_get_balance with no arguments. Returns balance_credits, balance_eur, burn_rate_30d_credits, projected_runway_days, tier, and tier_resets_at. Read-only; safe to call at any time.\",\n },\n {\n question: \"What does projected_runway_days = -1 mean?\",\n answer:\n \"It means the workspace has had zero credit consumption in the trailing 30 days, so a meaningful runway projection cannot be computed. Treat -1 as 'unknown' rather than '0 days'.\",\n },\n ],\n mentions: [\"credits\", \"balance\", \"EUR\", \"burn rate\", \"runway\", \"tier\", \"budget\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"drag-and-drop\",\n parentSlug: \"features\",\n title: \"Drag & Drop Files\",\n seoTitle: \"Drag & Drop File Support — Talonic MCP\",\n description:\n \"Drop PDFs and documents directly into Claude Desktop, Cursor, or Cowork and extract data without file path configuration.\",\n content: [\n {\n type: \"paragraph\",\n text: \"When the user drag-drops a PDF (or any supported file) into a chat-style MCP host such as Claude Desktop, Cowork, or Cursor, the file lands in a host-owned sandbox directory the MCP server cannot read. The path the host hands the agent is meaningless to a separately-running `npx` MCP process.\",\n },\n {\n type: \"paragraph\",\n text: \"`@talonic/mcp@0.1.4` and later solve this by accepting **`file_data`** (base64-encoded file bytes) and **`filename`** on `talonic_extract` and `talonic_to_markdown`. The agent reads the file bytes from the conversation, base64-encodes them, and passes them through the MCP tool call. The MCP server decodes, infers MIME type from the filename, and uploads to the Talonic API.\",\n },\n {\n type: \"paragraph\",\n text: \"This approach works transparently across all chat-style MCP clients. The agent does not need to know where the file is stored on disk, and the user does not need to configure file paths or directory permissions. The entire flow — from drop to structured extraction — happens in a single conversation turn.\",\n },\n {\n type: \"paragraph\",\n text: \"Supported file types include PDF, PNG, JPG, TIFF, DOCX, XLSX, and other common document formats. The MCP server infers the MIME type from the `filename` extension, so always include the original file extension when passing `file_data`. If the extension is missing or unusual, the server may reject the upload with an `unsupported_file_type` error.\",\n },\n {\n type: \"callout\",\n text: \"Tool descriptions advertise `file_data` as the recommended input for chat-style clients, so well-trained agents reach for it automatically. No client-side configuration required.\",\n },\n ],\n related: [\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"talonic_to_markdown\", slug: \"talonic-to-markdown\" },\n { label: \"Common Issues\", slug: \"common-issues\" },\n ],\n faq: [\n {\n question: \"Can I drag and drop files into Claude Desktop with Talonic?\",\n answer:\n \"Yes. Since @talonic/mcp@0.1.4, talonic_extract and talonic_to_markdown accept base64 file data directly, so you can drop a PDF into Claude Desktop and extract data without file path setup.\",\n },\n {\n question: \"What file types can I drag and drop?\",\n answer:\n \"PDF, PNG, JPG, TIFF, DOCX, XLSX, and other common document formats. The MCP server infers the MIME type from the filename extension.\",\n },\n {\n question: \"Why does drag-and-drop fail with an unsupported_file_type error?\",\n answer:\n \"The filename is missing a recognisable extension. Make sure the original filename with its extension is passed in the filename parameter alongside file_data.\",\n },\n ],\n mentions: [\"drag-and-drop\", \"file_data\", \"base64\", \"Claude Desktop\"],\n },\n {\n slug: \"how-it-works\",\n parentSlug: \"features\",\n title: \"How It Works\",\n seoTitle: \"How Talonic MCP Works — Talonic Docs\",\n description:\n \"Architecture of the Talonic MCP server: MCP protocol over stdio to the agent, HTTPS with Bearer auth to api.talonic.com.\",\n content: [\n {\n type: \"code\",\n language: \"text\",\n title: \"Architecture\",\n code: `Agent (Claude Desktop / Cursor / Cline / etc.)\n ↓ MCP protocol over stdio\nTalonic MCP server (this package)\n ↓ HTTPS, Bearer auth\napi.talonic.com`,\n },\n {\n type: \"paragraph\",\n text: \"Each tool call is one HTTP request to the Talonic API, using your API key. The server handles auth, retries on transient failures (429, 5xx), MIME-type detection on file uploads, multipart serialisation, and structured error formatting.\",\n },\n {\n type: \"paragraph\",\n text: \"The MCP server acts as a thin translation layer between the MCP protocol and the Talonic REST API. It receives tool calls from the agent over **stdio** (local mode) or **streamable HTTP** (hosted mode), validates parameters, constructs the appropriate API request, and returns the response in the MCP-standard `content` format the agent expects.\",\n },\n {\n type: \"paragraph\",\n text: \"For file uploads, the server handles the complexity of multipart form encoding. It reads file bytes from `file_data` (base64), `file_path` (local disk), or `file_url` (remote URL), detects the MIME type from the filename extension, and streams the upload to `api.talonic.com`. This means the agent never needs to deal with multipart boundaries or content-type headers.\",\n },\n {\n type: \"paragraph\",\n text: \"Error handling is designed for agent consumption. API errors are reformatted into structured messages that include the error type, a human-readable description, and actionable next steps. For example, a missing schema error tells the agent to provide a `schema` or `schema_id`, rather than returning a raw 400 status code.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"The MCP server automatically retries on `429` (rate limit) and `5xx` (server error) responses with exponential backoff. Agents do not need to implement retry logic themselves.\",\n },\n ],\n related: [\n { label: \"Environment Variables\", slug: \"env-variables\" },\n { label: \"Node SDK\", slug: \"introduction\" },\n { label: \"Install Overview\", slug: \"install-overview\" },\n ],\n faq: [\n {\n question: \"How does the Talonic MCP server work?\",\n answer:\n \"The MCP server communicates with AI agents over stdio using the MCP protocol. Each tool call translates to one HTTPS request to api.talonic.com with automatic auth, retries, and error formatting.\",\n },\n {\n question: \"Does the MCP server handle retries automatically?\",\n answer:\n \"Yes. The server retries on 429 (rate limit) and 5xx (server error) responses with exponential backoff. Agents do not need to implement retry logic.\",\n },\n {\n question: \"How are errors returned to the agent?\",\n answer:\n \"API errors are reformatted into structured messages with error type, description, and actionable next steps. The agent receives clear guidance instead of raw HTTP status codes.\",\n },\n ],\n mentions: [\"stdio\", \"HTTPS\", \"Bearer auth\", \"architecture\", \"retry\", \"error handling\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"env-variables\",\n parentSlug: \"configuration\",\n title: \"Environment Variables\",\n seoTitle: \"Configuration — Talonic MCP\",\n description:\n \"Environment variables for configuring the Talonic MCP server: API key and optional base URL override.\",\n content: [\n { type: \"paragraph\", text: \"Set via the `env` block in your MCP client config:\" },\n {\n type: \"param-table\",\n params: [\n {\n name: \"TALONIC_API_KEY\",\n type: \"string\",\n required: true,\n description: \"Your Talonic API key. Starts with `tlnc_`.\",\n },\n {\n name: \"TALONIC_BASE_URL\",\n type: \"string\",\n description: \"Override the API base URL.\",\n default: \"https://api.talonic.com\",\n },\n ],\n },\n {\n type: \"paragraph\",\n text: \"The `TALONIC_API_KEY` is the only required configuration. It authenticates every API call the MCP server makes on your behalf. The key must start with `tlnc_` — if you pass a key with a different prefix, the server will reject it at startup with a clear error message.\",\n },\n {\n type: \"paragraph\",\n text: \"The `TALONIC_BASE_URL` override is rarely needed. It exists for enterprise customers with a dedicated Talonic deployment or for developers testing against a staging environment. Most users should leave this unset, which defaults to `https://api.talonic.com`.\",\n },\n {\n type: \"paragraph\",\n text: \"Environment variables are set differently depending on your MCP client and deployment mode. For local `npx` setups, they go in the `env` block of the MCP client config JSON. For the hosted server at `mcp.talonic.com`, the API key is passed as a `Bearer` token in the `Authorization` header instead of an environment variable.\",\n },\n {\n type: \"paragraph\",\n text: \"If the MCP server cannot read the API key at startup, it exits with a descriptive error. Common causes include a malformed `env` block in the JSON config, a typo in the variable name, or the MCP client not passing environment variables through to the spawned process. Always fully restart the client after editing the config.\",\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Never commit your `TALONIC_API_KEY` to version control. If using a shared MCP config template, replace the key with a placeholder like `tlnc_your_key_here` before sharing.\",\n },\n ],\n related: [\n { label: \"Install Overview\", slug: \"install-overview\" },\n { label: \"Get an API Key\", slug: \"get-api-key\" },\n { label: \"Common Issues\", slug: \"common-issues\" },\n ],\n faq: [\n {\n question: \"What environment variables does the Talonic MCP server need?\",\n answer:\n \"TALONIC_API_KEY (required, starts with tlnc_) and optionally TALONIC_BASE_URL to override the API endpoint.\",\n },\n {\n question: \"Where do I set environment variables for the MCP server?\",\n answer:\n \"For local npx setups, set them in the env block of your MCP client config JSON. For the hosted server, the API key is passed as a Bearer token in the Authorization header instead.\",\n },\n {\n question: \"What happens if the API key is missing or invalid?\",\n answer:\n \"The MCP server exits at startup with a descriptive error message. Check that the env block in your config is correctly formatted and the key starts with tlnc_. Restart the client after fixing.\",\n },\n ],\n mentions: [\"TALONIC_API_KEY\", \"TALONIC_BASE_URL\", \"environment variables\"],\n },\n]\n","import type { RawSection } from \"../types\"\n\nexport const sections: RawSection[] = [\n {\n slug: \"common-issues\",\n parentSlug: \"troubleshooting\",\n title: \"Common Issues\",\n seoTitle: \"Troubleshooting — Talonic MCP\",\n description:\n \"Solutions for common Talonic MCP server issues: missing API key, server not appearing, extract errors, and filter validation.\",\n content: [\n {\n type: \"paragraph\",\n text: \"This section covers the most frequently encountered issues when setting up and using the Talonic MCP server. Each issue includes a description, the root cause, and the fix. If your problem is not listed here, check the Known Limitations section or reach out via GitHub issues.\",\n },\n {\n type: \"paragraph\",\n text: \"Most issues fall into two categories: **configuration problems** (the server does not start or connect) and **tool errors** (the server is running but a specific tool call fails). Configuration problems are almost always caused by malformed JSON, a missing API key, or not restarting the MCP client after editing the config.\",\n },\n {\n type: \"paragraph\",\n text: \"Tool errors typically include a structured error message with an error type and description. Read the error message carefully — it usually tells you exactly what is wrong and how to fix it. For example, a `VALIDATION_ERROR` on `talonic_filter` means the field name is not in the API's registry.\",\n },\n {\n type: \"paragraph\",\n text: \"When debugging, start by verifying the MCP server is running. Check the connected servers list in your MCP client. If Talonic is not listed, the issue is in your config or client setup. If it is listed but a tool call fails, the issue is with the tool input or API-side.\",\n },\n {\n type: \"heading\",\n level: 3,\n id: \"missing-api-key\",\n text: \"TALONIC_API_KEY environment variable is required\",\n },\n {\n type: \"paragraph\",\n text: \"The `env` block in your MCP client config is missing or not being read. Double-check the JSON shape. After editing the config, fully restart the client (not just the conversation).\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"server-not-found\",\n text: \"Talonic does not appear in connected servers\",\n },\n {\n type: \"paragraph\",\n text: 'Make sure the `command` is `npx` and the `args` are exactly `[\"-y\", \"@talonic/mcp@latest\"]`. Sanity check: run `npx -y @talonic/mcp@latest --version` in any terminal — it should print a version number.',\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"extract-no-schema\",\n text: \"talonic_extract returns a validation error when no schema is given\",\n },\n {\n type: \"paragraph\",\n text: \"By design in v0.1. Schema-less extraction is unreliable, so the MCP layer rejects calls that omit both `schema` and `schema_id` before they reach the API. Provide either an inline `schema` (full JSON Schema recommended) or a `schema_id` from `talonic_list_schemas`.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"unsupported-file\",\n text: \"talonic_extract rejects with unsupported_file_type\",\n },\n {\n type: \"paragraph\",\n text: \"The MIME type was inferred as `application/octet-stream`. The SDK infers from common file extensions; if your filename has an unusual extension, this may occur. A future tool version will expose explicit `content_type` passthrough.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"filter-validation\",\n text: 'talonic_filter VALIDATION_ERROR / \"No field matches name\"',\n },\n {\n type: \"paragraph\",\n text: \"The field name is not in the API's field registry. Field names must be canonical names (e.g. `vendor.name`, `policy.0_term_end`). Call `talonic_search` first; canonical names appear in `fields[].canonicalName`.\",\n },\n\n {\n type: \"heading\",\n level: 3,\n id: \"stale-descriptions\",\n text: \"Tool descriptions look wrong in my client\",\n },\n {\n type: \"paragraph\",\n text: \"Some MCP clients cache tool descriptions. Restart the client after a server update.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"When reporting issues, include the MCP server version (`npx -y @talonic/mcp@latest --version`), your MCP client name and version, and the full error message. This helps diagnose problems faster.\",\n },\n ],\n related: [\n { label: \"Known Limitations\", slug: \"known-limitations\" },\n { label: \"Upgrading\", slug: \"upgrading\" },\n { label: \"Environment Variables\", slug: \"env-variables\" },\n ],\n faq: [\n {\n question: \"Why does Talonic MCP not appear in Claude Desktop?\",\n answer:\n 'Check that command is \"npx\" and args are [\"-y\", \"@talonic/mcp@latest\"]. Run npx -y @talonic/mcp@latest --version in a terminal to verify. Fully restart Claude Desktop (Cmd+Q).',\n },\n {\n question: \"Why does talonic_extract fail with a validation error?\",\n answer:\n \"The most common cause is a missing schema. In v0.1, schema-less extraction is disabled at the MCP layer. Always provide a schema (inline JSON Schema) or schema_id from talonic_list_schemas.\",\n },\n {\n question: \"How do I debug MCP server connection issues?\",\n answer:\n \"First verify the server runs standalone: npx -y @talonic/mcp@latest --version. Then check your config JSON is valid, the API key starts with tlnc_, and you have fully restarted your MCP client.\",\n },\n ],\n mentions: [\"troubleshooting\", \"API key\", \"VALIDATION_ERROR\"],\n },\n {\n slug: \"known-limitations\",\n parentSlug: \"troubleshooting\",\n title: \"Known Limitations\",\n seoTitle: \"Known Limitations — Talonic MCP\",\n description:\n \"Current limitations in the Talonic MCP server v0.1: schema requirement, filter discoverability and typing, Claude.ai drag-and-drop stall, and unsurfaced cost.\",\n content: [\n {\n type: \"paragraph\",\n text: \"The Talonic MCP server v0.1 is production-ready but has a number of known limitations that are planned for future releases. Understanding these limitations helps agents make better decisions about when and how to use each tool.\",\n },\n {\n type: \"paragraph\",\n text: \"Most limitations relate to the extraction pipeline's maturity in v0.1. Schema-less extraction, certain filter operators, cost information, and per-field provenance are not yet available. These are documented here so agent developers can set accurate expectations and build appropriate fallbacks.\",\n },\n {\n type: \"list\",\n items: [\n \"**Schema is required on `talonic_extract`.** Schema-less extraction is unreliable in v0.1 and is rejected at the MCP layer with a validation error. Always pass a `schema` (full JSON Schema recommended) or a `schema_id`.\",\n \"**Schema definition: prefer full JSON Schema.** The flat key-type map is documented as accepted; if you get a 'no fields' error from the API, fall back to JSON Schema.\",\n \"**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.\",\n \"**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.\",\n \"**`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.\",\n \"**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 (`npx -y @talonic/mcp@latest` in Claude Desktop, Cursor, Cline, etc.) which has no parameter cap. The architectural fix is pre-signed upload URLs.\",\n \"**Cost, EUR price, and remaining balance are not surfaced.** The API does not return them yet. Credit balance must be checked in the Talonic dashboard.\",\n ],\n },\n {\n type: \"paragraph\",\n text: \"Agents should handle these limitations gracefully. For the schema requirement, always construct or reference a schema before calling `talonic_extract`. For the missing cost information, direct users to the Talonic dashboard at `https://app.talonic.com` when they ask about pricing or credit balance.\",\n },\n {\n type: \"paragraph\",\n text: \"For the `is_not_empty` filter gap, the recommended workaround is to use `is_empty` and invert the logic client-side, or filter against a known value with `eq`, `gt`, or `contains`. This is a server-side issue that will be resolved in a future API version.\",\n },\n {\n type: \"callout\",\n variant: \"warning\",\n text: \"Do not rely on schema-less extraction or `is_not_empty` filtering in automated workflows. Both are explicitly disabled in v0.1 and will return errors rather than unreliable results.\",\n },\n ],\n related: [\n { label: \"Common Issues\", slug: \"common-issues\" },\n { label: \"talonic_extract\", slug: \"talonic-extract\" },\n { label: \"talonic_filter\", slug: \"talonic-filter\" },\n ],\n faq: [\n {\n question: \"What are the known limitations of Talonic MCP?\",\n answer:\n \"Schema is required on talonic_extract. Filter requires filterable: true fields (use talonic_search first to discover them). Numeric filter operators require schema fields typed as number. is_not_empty filter is not exposed in v0.1. Drag-and-drop file uploads in Claude.ai currently stall via the hosted MCP; use file_url or document_id instead, or use the local stdio install. Cost and balance are not surfaced in tool responses yet.\",\n },\n {\n question: \"Will schema-less extraction be supported in the future?\",\n answer:\n \"Yes, it is planned for a future release. In v0.1, schema-less extraction is disabled because it produces unreliable results. Always provide a schema or schema_id.\",\n },\n {\n question: \"How do I check my credit balance or costs?\",\n answer:\n \"Cost information is not surfaced in v0.1 tool responses. Check your credit balance and usage in the Talonic dashboard at app.talonic.com.\",\n },\n ],\n mentions: [\n \"limitations\",\n \"schema\",\n \"filterable\",\n \"is_not_empty\",\n \"drag-and-drop\",\n \"rate limits\",\n ],\n },\n {\n slug: \"upgrading\",\n parentSlug: \"troubleshooting\",\n title: \"Upgrading\",\n seoTitle: \"Upgrading from Older Versions — Talonic MCP\",\n description:\n \"How to upgrade from older @talonic/mcp versions that had the silent-bin bug affecting MCP client launches.\",\n content: [\n {\n type: \"paragraph\",\n text: \"Versions before `0.1.3` had a bug where the bundled MCP server bin would exit silently when launched via the npm bin symlink, which is exactly how every MCP client invokes it. If you see no `talonic_*` tools despite correct config, you are hitting that bug.\",\n },\n {\n type: \"paragraph\",\n text: \"The fix: point your `args` at `@latest` (or `@0.1.3` explicitly) and fully restart the client:\",\n },\n { type: \"code\", language: \"jsonc\", code: '\"args\": [\"-y\", \"@talonic/mcp@latest\"]' },\n {\n type: \"paragraph\",\n text: \"Using `@latest` is the recommended approach because it ensures you automatically receive new features, bug fixes, and improved tool descriptions on every client restart. If you need version stability for a production workflow, pin to a specific version like `@0.1.6` instead.\",\n },\n {\n type: \"paragraph\",\n text: \"After updating the `args` in your MCP client config, you must fully restart the client application. Simply starting a new conversation is not enough — the MCP server process must be terminated and re-spawned. On Claude Desktop, use Cmd+Q (macOS) or close from the system tray (Windows). On Cursor and VS Code-based clients, reload the window.\",\n },\n {\n type: \"callout\",\n variant: \"info\",\n text: \"If you are using the hosted server at `mcp.talonic.com`, upgrades are automatic. You do not need to change any configuration — the hosted server always runs the latest version.\",\n },\n ],\n related: [\n { label: \"Install Overview\", slug: \"install-overview\" },\n { label: \"Common Issues\", slug: \"common-issues\" },\n ],\n faq: [\n {\n question: \"How do I upgrade the Talonic MCP server?\",\n answer:\n 'Set args to [\"-y\", \"@talonic/mcp@latest\"] in your MCP client config and fully restart the client. Versions before 0.1.3 had a silent-bin bug that prevented the server from booting.',\n },\n {\n question: \"Do I need to upgrade if I use the hosted server?\",\n answer:\n \"No. The hosted server at mcp.talonic.com is automatically updated to the latest version. No configuration changes are needed on your end.\",\n },\n {\n question: \"Should I pin to a specific version or use @latest?\",\n answer:\n \"Use @latest for development and most use cases — it picks up fixes automatically. Pin to a specific version (e.g., @0.1.6) only if you need strict version stability in production workflows.\",\n },\n ],\n mentions: [\"upgrade\", \"silent-bin bug\", \"0.1.3\", \"@latest\"],\n },\n]\n","// ---------------------------------------------------------------------------\n// Structured content export for @talonic/mcp documentation.\n//\n// Usage:\n// import { getMcpSection, getAllMcpSections, MCP_NAV_SECTIONS } from '@talonic/mcp/content'\n// ---------------------------------------------------------------------------\n\nexport type { DocBlock, DocSection, RawSection, Param, HttpMethod, NavSection } from \"./types\"\n\nexport { MCP_NAV_SECTIONS } from \"./seo\"\n\nimport type { DocSection, RawSection } from \"./types\"\nimport { deriveBreadcrumbs, derivePrevNext } from \"./helpers\"\nimport { MCP_NAV_SECTIONS } from \"./seo\"\n\n// --- Section imports ---\nimport { sections as overview } from \"./sections/overview\"\nimport { sections as install } from \"./sections/install\"\nimport { sections as tools } from \"./sections/tools\"\nimport { sections as features } from \"./sections/features\"\nimport { sections as configuration } from \"./sections/configuration\"\nimport { sections as troubleshooting } from \"./sections/troubleshooting\"\n\n// ---------------------------------------------------------------------------\n// Registry\n// ---------------------------------------------------------------------------\n\nconst ALL_RAW: RawSection[] = [\n ...overview,\n ...install,\n ...tools,\n ...features,\n ...configuration,\n ...troubleshooting,\n]\n\n// ---------------------------------------------------------------------------\n// Enrichment\n// ---------------------------------------------------------------------------\n\nfunction enrich(raw: RawSection[]): DocSection[] {\n return raw.map((r) => {\n const { prev, next } = derivePrevNext(MCP_NAV_SECTIONS, r.slug)\n return {\n ...r,\n breadcrumbs: deriveBreadcrumbs(MCP_NAV_SECTIONS, r.slug),\n prev,\n next,\n }\n })\n}\n\nlet _sections: DocSection[] | null = null\n\nfunction getSectionsAll(): DocSection[] {\n if (!_sections) {\n _sections = enrich(ALL_RAW)\n }\n return _sections\n}\n\n// ---------------------------------------------------------------------------\n// Public API\n// ---------------------------------------------------------------------------\n\n/** Get a single MCP section by slug, or null if not found. */\nexport function getMcpSection(slug: string): DocSection | null {\n return getSectionsAll().find((s) => s.slug === slug) ?? null\n}\n\n/** Get all MCP sections in reading order. */\nexport function getAllMcpSections(): DocSection[] {\n return getSectionsAll()\n}\n"]}