@talonic/mcp 0.1.15 → 0.1.17

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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O,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: \"Seven tools and one resource: `talonic_extract`, `talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_to_markdown`, `talonic_list_schemas`, `talonic_save_schema`, plus the `talonic://schemas` resource.\",\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. Six 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, and saving new ones.\",\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 seven 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: \"`is_not_empty` is intentionally not exposed in v0.1 because 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 },\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","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 operators, cost surfacing, and provenance.\",\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 \"**`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 \"**Cost, EUR price, and remaining balance are not surfaced.** The API does not return them yet. Tool responses include rate-limit info via the SDK's `WithRateLimit<T>` wrapper, but credit balance must be checked in the Talonic dashboard.\",\n \"**Per-field source provenance (page, bounding box) is not surfaced.** Confidence scores per field are returned in `confidence.fields`. Treat fields below ~0.7 as needing human review.\",\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 (schema-less mode is disabled at the MCP layer). Flat key-type schema maps may need a JSON Schema fallback. is_not_empty filter is not exposed in v0.1. Cost and per-field provenance are not surfaced in tool responses yet.\",\n },\n ],\n mentions: [\"limitations\", \"schema\", \"is_not_empty\", \"confidence\", \"rate limits\"],\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,UAA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,QAAA,EAAU,0CAAA;AAAA,QACV,MAAA,EACE;AAAA;AACJ,KACF;AAAA,IACA,QAAA,EAAU,CAAC,SAAA,EAAW,gBAAA,EAAkB,OAAO;AAAA;AAEnD,CAAA;;;ACvIA,IAAM,OAAA,GAAwB;AAAA,EAC5B,GAAG,QAAA;AAAA,EACH,GAAGA,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: \"Seven tools and one resource: `talonic_extract`, `talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_to_markdown`, `talonic_list_schemas`, `talonic_save_schema`, plus the `talonic://schemas` resource.\",\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. Six 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, and saving new ones.\",\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 seven 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","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"]}