@talonic/mcp 0.1.9 → 0.1.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +3 -3
- package/dist/content.js +300 -18
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +70 -1
- package/dist/http-server.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +57 -1
- package/dist/index.js.map +1 -1
- package/dist/server.js +57 -1
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/dist/content.js.map
CHANGED
|
@@ -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,EA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Section[] = [\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: [\n { id: 'env-variables', label: 'Environment Variables' },\n ],\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(\n (s) => s.children ?? [{ id: s.id, label: s.label }],\n );\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: 'Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the Model Context Protocol.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 { type: 'paragraph', 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 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 { question: 'What is the Talonic MCP server?', answer: '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 { question: 'Is the Talonic MCP server on the official MCP Registry?', answer: 'Yes. It is listed as io.github.talonicdev/talonic-mcp on registry.modelcontextprotocol.io, maintained by Anthropic and the MCP steering group.' },\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: 'Why AI agents should use the Talonic MCP server instead of raw OCR plus LLM calls for document extraction.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'Get an API Key', slug: 'get-api-key' },\n ],\n faq: [\n { question: 'Why use Talonic MCP instead of OCR + LLM?', answer: '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 mentions: ['OCR', 'schema-validated', 'confidence scores', 'structured data'],\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: 'Get a Talonic API key in 30 seconds. Each user runs against their own isolated workspace with private documents and schemas.',\n content: [\n { type: 'paragraph', text: 'Each user runs against their own isolated Talonic workspace. Your documents and schemas are private to you.' },\n { type: 'list', ordered: true, 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 related: [\n { label: 'Claude Desktop', slug: 'claude-desktop' },\n { label: 'Install Overview', slug: 'install-overview' },\n ],\n faq: [\n { question: 'How do I get a Talonic API key for MCP?', answer: '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 mentions: ['API key', 'tlnc_', 'free tier'],\n },\n];\n","import type { RawSection } from '../types';\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: 'Install the Talonic MCP server with a one-line npx invocation. No clone, no build. Works with every MCP client.',\n content: [\n { type: 'paragraph', text: 'The package is on npm. Every MCP client launches it the same way: a one-line `npx` invocation with your API key in the `env` block. No clone, no build.' },\n { type: 'code', language: 'jsonc', title: 'Universal config shape', code: `{\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": { \"TALONIC_API_KEY\": \"tlnc_...\" }\n}` },\n { type: 'paragraph', text: 'The `-y` flag skips the npm install prompt. Pinning to `@latest` means new versions are picked up on the next client restart. To pin to a specific version, replace `@latest` with `@0.1.6`.' },\n ],\n related: [\n { label: 'Claude Desktop', slug: 'claude-desktop' },\n { label: 'Cursor', slug: 'cursor' },\n ],\n faq: [\n { question: 'How do I install the Talonic MCP server?', answer: 'Add a one-line npx invocation to your MCP client config: command \"npx\", args [\"-y\", \"@talonic/mcp@latest\"], with your API key in the env block. No clone or build needed.' },\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 { type: 'paragraph', text: 'Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\\\Claude\\\\claude_desktop_config.json` (Windows):' },\n { type: 'code', language: 'json', code: MCP_CONFIG_SNIPPET },\n { type: 'paragraph', 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 related: [\n { label: 'Cursor', slug: 'cursor' },\n { label: 'Tool Reference', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I add Talonic to Claude Desktop?', answer: '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 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 { type: 'paragraph', text: 'Edit `~/.cursor/mcp.json` (or open Cursor settings → MCP → edit config):' },\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 { question: 'How do I add Talonic MCP to Cursor?', answer: 'Edit ~/.cursor/mcp.json and add the Talonic MCP server config with your API key.' },\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 { type: 'paragraph', text: 'Open the Cline panel → settings (gear icon) → MCP Servers → Edit. Add the standard config entry. Save and restart the panel.' },\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 { question: 'How do I add Talonic MCP to Cline?', answer: 'Open the Cline panel settings, go to MCP Servers, click Edit, and add the Talonic config entry.' },\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: 'code', language: 'json', 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 related: [\n { label: 'Cowork', slug: 'cowork' },\n { label: 'Cline', slug: 'cline' },\n ],\n faq: [\n { question: 'How do I add Talonic MCP to Continue?', answer: 'Edit ~/.continue/config.json and add a Talonic entry to the mcpServers array with your API key.' },\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. Use the same shape as Claude Desktop above.' },\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 { question: 'How do I add Talonic MCP to Cowork?', answer: 'Open Cowork settings, go to MCP Servers, click Add, and paste the standard Talonic config with your API key.' },\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: '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 { type: 'paragraph', 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 { type: 'param-table', params: [\n { name: 'file_data', type: 'string', description: 'Base64-encoded file bytes. Recommended for chat clients (drag-and-drop).' },\n { name: 'filename', type: 'string', description: 'Original filename (used for MIME type inference when using `file_data`).' },\n { name: 'file_path', type: 'string', description: 'Local file path.' },\n { name: 'file_url', type: 'string', description: 'Remote file URL.' },\n { name: 'document_id', type: 'string', description: 'ID of a previously uploaded document.' },\n { name: 'schema', type: 'object', description: 'Inline schema definition (JSON Schema).' },\n { name: 'schema_id', type: 'string', description: 'UUID of a saved schema.' },\n ]},\n { type: 'callout', variant: 'warning', text: 'Always provide a `schema` or `schema_id`. Auto-discovery extract (no schema) is not reliable in v0.1.' },\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 { question: 'How does talonic_extract work?', answer: '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 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: 'Omnisearch across documents, fields, sources, and schemas in the workspace. Supports conceptual and fuzzy queries.',\n content: [\n { type: 'paragraph', text: 'Omnisearch across documents, fields, sources, and schemas in the workspace. Use for conceptual or fuzzy queries.' },\n { type: 'param-table', params: [\n { name: 'query', type: 'string', required: true, description: 'The search query. Supports fuzzy and conceptual matching.' },\n ]},\n ],\n related: [\n { label: 'talonic_filter', slug: 'talonic-filter' },\n ],\n faq: [\n { question: 'What does talonic_search do?', answer: 'It searches across documents, fields, sources, and schemas in the workspace using fuzzy and conceptual matching.' },\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: 'Filter documents by extracted field values using composable conditions like eq, gt, between, and contains.',\n content: [\n { type: 'paragraph', text: 'Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, etc.).' },\n { type: 'paragraph', 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 { type: 'callout', variant: 'warning', text: 'The `is_not_empty` operator currently underreports. Use specific operators (`eq`, `gt`, `contains`, etc.) against known values when possible.' },\n ],\n related: [\n { label: 'talonic_search', slug: 'talonic-search' },\n { label: 'Known Limitations', slug: 'known-limitations' },\n ],\n faq: [\n { question: 'How do I filter documents by field value?', answer: '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 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: 'Fetch full metadata for a single document by ID, including processing log and link URLs.',\n content: [\n { type: 'paragraph', text: 'Fetch full metadata for a single document by ID, including processing log and link URLs.' },\n { type: 'param-table', params: [\n { name: 'document_id', type: 'string', required: true, description: 'The document UUID.' },\n ]},\n ],\n related: [\n { label: 'talonic_to_markdown', slug: 'talonic-to-markdown' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I get document metadata via MCP?', answer: 'Call talonic_get_document with the document UUID to get full metadata including processing log and link URLs.' },\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: 'Get OCR-converted markdown for a document. Accepts document_id, file_data + filename, file_path, or file_url.',\n content: [\n { type: 'paragraph', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'Drag & Drop Files', slug: 'drag-and-drop' },\n ],\n faq: [\n { question: 'How do I get markdown from a document via MCP?', answer: 'Call talonic_to_markdown with a document_id (cheapest), or provide the file directly via file_data, file_path, or file_url.' },\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 { type: 'paragraph', text: 'List all saved schemas with their definitions. Returns schema IDs (both UUID and `SCH-XXXXXXXX` short format), names, and field definitions.' },\n { type: 'paragraph', 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 related: [\n { label: 'talonic_save_schema', slug: 'talonic-save-schema' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I list schemas via MCP?', answer: 'Call talonic_list_schemas to get all saved schemas with their definitions. The talonic://schemas resource also exposes this data.' },\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 { type: 'paragraph', text: 'Save a schema definition to the workspace for reuse. Returns a `schema_id` that can be passed to `talonic_extract`.' },\n { type: 'callout', 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 related: [\n { label: 'talonic_list_schemas', slug: 'talonic-list-schemas' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I save a schema via MCP?', answer: 'Call talonic_save_schema with a name and JSON Schema definition. It returns a schema_id for reuse in talonic_extract calls.' },\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: 'Drop PDFs and documents directly into Claude Desktop, Cursor, or Cowork and extract data without file path configuration.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 { type: 'callout', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'talonic_to_markdown', slug: 'talonic-to-markdown' },\n ],\n faq: [\n { question: 'Can I drag and drop files into Claude Desktop with Talonic?', answer: '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 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: 'Architecture of the Talonic MCP server: MCP protocol over stdio to the agent, HTTPS with Bearer auth to api.talonic.com.',\n content: [\n { type: 'code', language: 'text', title: 'Architecture', 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 { type: 'paragraph', 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 related: [\n { label: 'Environment Variables', slug: 'env-variables' },\n { label: 'Node SDK', slug: 'introduction' },\n ],\n faq: [\n { question: 'How does the Talonic MCP server work?', answer: '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 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: '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 { type: 'param-table', params: [\n { name: 'TALONIC_API_KEY', type: 'string', required: true, description: 'Your Talonic API key. Starts with `tlnc_`.' },\n { name: 'TALONIC_BASE_URL', type: 'string', description: 'Override the API base URL.', default: 'https://api.talonic.com' },\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 { question: 'What environment variables does the Talonic MCP server need?', answer: 'TALONIC_API_KEY (required, starts with tlnc_) and optionally TALONIC_BASE_URL to override the API endpoint.' },\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: 'Solutions for common Talonic MCP server issues: missing API key, server not appearing, extract errors, and filter validation.',\n content: [\n { type: 'heading', level: 3, id: 'missing-api-key', text: 'TALONIC_API_KEY environment variable is required' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'server-not-found', text: 'Talonic does not appear in connected servers' },\n { type: 'paragraph', 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 `talonic 0.1.6` (or newer).' },\n\n { type: 'heading', level: 3, id: 'extract-500', text: 'talonic_extract returns 500 with auto-discovery' },\n { type: 'paragraph', text: 'Known limitation. Always provide either an inline `schema` or a `schema_id`. The auto-discovery code path is being stabilised.' },\n\n { type: 'heading', level: 3, id: 'unsupported-file', text: 'talonic_extract rejects with unsupported_file_type' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'filter-validation', text: 'talonic_filter VALIDATION_ERROR / \"No field matches name\"' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'stale-descriptions', text: 'Tool descriptions look wrong in my client' },\n { type: 'paragraph', text: 'Some MCP clients cache tool descriptions. Restart the client after a server update.' },\n ],\n related: [\n { label: 'Known Limitations', slug: 'known-limitations' },\n { label: 'Upgrading', slug: 'upgrading' },\n ],\n faq: [\n { question: 'Why does Talonic MCP not appear in Claude Desktop?', answer: '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 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: 'Current limitations in the Talonic MCP server v0.1: auto-discovery, schema format, filter operators, and schema_id format.',\n content: [\n { type: 'list', items: [\n '**Auto-discovery extract (no schema) is not reliable on production.** Always pass a `schema` or `schema_id` to `talonic_extract`.',\n '**Schema definition: prefer full JSON Schema for now.** The flat key-type map is documented as supported but the server-side normaliser does not translate it yet.',\n '**`is_not_empty` filter currently underreports.** Use specific operators (`eq`, `gt`, `contains`, etc.) against known values instead.',\n '**`schema_id` on `talonic_extract` requires the UUID form.** Other endpoints accept either UUID or `SCH-XXXXXXXX`, but `/v1/extract` currently only accepts UUIDs. Pass the UUID from `talonic_list_schemas`.',\n ]},\n ],\n related: [\n { label: 'Common Issues', slug: 'common-issues' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'What are the known limitations of Talonic MCP?', answer: 'Auto-discovery extract without a schema is unreliable, flat key-type schema maps are not yet translated, is_not_empty filter underreports, and schema_id on extract requires UUID format.' },\n ],\n mentions: ['limitations', 'auto-discovery', 'is_not_empty', 'schema_id'],\n },\n {\n slug: 'upgrading',\n parentSlug: 'troubleshooting',\n title: 'Upgrading',\n seoTitle: 'Upgrading from Older Versions — Talonic MCP',\n description: 'How to upgrade from older @talonic/mcp versions that had the silent-bin bug affecting MCP client launches.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', text: 'The fix: point your `args` at `@latest` (or `@0.1.3` explicitly) and fully restart the client:' },\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 { question: 'How do I upgrade the Talonic MCP server?', answer: '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 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 {\n DocBlock,\n DocSection,\n RawSection,\n Param,\n HttpMethod,\n NavSection,\n} from './types';\n\nexport { MCP_NAV_SECTIONS } from './seo';\n\nimport type { DocSection, RawSection } from './types';\nimport { deriveBreadcrumbs, derivePrevNext } from './helpers';\nimport { MCP_NAV_SECTIONS } from './seo';\n\n// --- Section imports ---\nimport { sections as overview } from './sections/overview';\nimport { sections as install } from './sections/install';\nimport { sections as tools } from './sections/tools';\nimport { sections as features } from './sections/features';\nimport { sections as configuration } from './sections/configuration';\nimport { sections as troubleshooting } from './sections/troubleshooting';\n\n// ---------------------------------------------------------------------------\n// Registry\n// ---------------------------------------------------------------------------\n\nconst ALL_RAW: RawSection[] = [\n ...overview,\n ...install,\n ...tools,\n ...features,\n ...configuration,\n ...troubleshooting,\n];\n\n// ---------------------------------------------------------------------------\n// Enrichment\n// ---------------------------------------------------------------------------\n\nfunction enrich(raw: RawSection[]): DocSection[] {\n return raw.map((r) => {\n const { prev, next } = derivePrevNext(MCP_NAV_SECTIONS, r.slug);\n return {\n ...r,\n breadcrumbs: deriveBreadcrumbs(MCP_NAV_SECTIONS, r.slug),\n prev,\n next,\n };\n });\n}\n\nlet _sections: DocSection[] | null = null;\n\nfunction getSectionsAll(): DocSection[] {\n if (!_sections) {\n _sections = enrich(ALL_RAW);\n }\n return _sections;\n}\n\n// ---------------------------------------------------------------------------\n// Public API\n// ---------------------------------------------------------------------------\n\n/** Get a single MCP section by slug, or null if not found. */\nexport function getMcpSection(slug: string): DocSection | null {\n return getSectionsAll().find((s) => s.slug === slug) ?? null;\n}\n\n/** Get all MCP sections in reading order. */\nexport function getAllMcpSections(): DocSection[] {\n return getSectionsAll();\n}\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/content/seo.ts","../src/content/helpers.ts","../src/content/sections/overview.ts","../src/content/sections/install.ts","../src/content/sections/tools.ts","../src/content/sections/features.ts","../src/content/sections/configuration.ts","../src/content/sections/troubleshooting.ts","../src/content/index.ts"],"names":["sections"],"mappings":";AAEO,IAAM,gBAAA,GAAiC;AAAA,EAC5C;AAAA,IACE,EAAA,EAAI,UAAA;AAAA,IACJ,KAAA,EAAO,UAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,cAAA,EAAe;AAAA,MAChD,EAAE,EAAA,EAAI,SAAA,EAAW,KAAA,EAAO,cAAA,EAAe;AAAA,MACvC,EAAE,EAAA,EAAI,aAAA,EAAe,KAAA,EAAO,gBAAA;AAAiB;AAC/C,GACF;AAAA,EACA;AAAA,IACE,EAAA,EAAI,SAAA;AAAA,IACJ,KAAA,EAAO,SAAA;AAAA,IACP,QAAA,EAAU;AAAA,MACR,EAAE,EAAA,EAAI,kBAAA,EAAoB,KAAA,EAAO,UAAA,EAAW;AAAA,MAC5C,EAAE,EAAA,EAAI,gBAAA,EAAkB,KAAA,EAAO,gBAAA,EAAiB;AAAA,MAChD,EAAE,EAAA,EAAI,QAAA,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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,QAAA,EAAU,CAAC,SAAA,EAAW,gBAAA,EAAkB,OAAO;AAAA;AAEnD,CAAA;;;AC9CA,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: [\n { id: 'env-variables', label: 'Environment Variables' },\n ],\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(\n (s) => s.children ?? [{ id: s.id, label: s.label }],\n );\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: 'Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the Model Context Protocol.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 { type: 'paragraph', 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 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 { question: 'What is the Talonic MCP server?', answer: '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 { question: 'Is the Talonic MCP server on the official MCP Registry?', answer: 'Yes. It is listed as io.github.talonicdev/talonic-mcp on registry.modelcontextprotocol.io, maintained by Anthropic and the MCP steering group.' },\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: 'Why AI agents should use the Talonic MCP server instead of raw OCR plus LLM calls for document extraction.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'Get an API Key', slug: 'get-api-key' },\n ],\n faq: [\n { question: 'Why use Talonic MCP instead of OCR + LLM?', answer: '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 mentions: ['OCR', 'schema-validated', 'confidence scores', 'structured data'],\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: 'Get a Talonic API key in 30 seconds. Each user runs against their own isolated workspace with private documents and schemas.',\n content: [\n { type: 'paragraph', text: 'Each user runs against their own isolated Talonic workspace. Your documents and schemas are private to you.' },\n { type: 'list', ordered: true, 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 related: [\n { label: 'Claude Desktop', slug: 'claude-desktop' },\n { label: 'Install Overview', slug: 'install-overview' },\n ],\n faq: [\n { question: 'How do I get a Talonic API key for MCP?', answer: '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 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: 'Install the Talonic MCP server with a one-line npx invocation. No clone, no build. Works with every MCP client.',\n content: [\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'hosted-recommended', text: 'Hosted (recommended)' },\n { type: 'paragraph', text: 'No install, no Node.js required. Works with every MCP client that supports remote servers:' },\n { type: 'code', language: 'jsonc', title: 'Hosted config', code: `{\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": { \"Authorization\": \"Bearer tlnc_...\" }\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 { type: 'code', language: 'jsonc', title: 'Local config', code: `{\n \"command\": \"npx\",\n \"args\": [\"-y\", \"@talonic/mcp@latest\"],\n \"env\": { \"TALONIC_API_KEY\": \"tlnc_...\" }\n}` },\n { type: 'paragraph', 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 related: [\n { label: 'Claude Desktop', slug: 'claude-desktop' },\n { label: 'Cursor', slug: 'cursor' },\n ],\n faq: [\n { question: 'How do I install the Talonic MCP server?', answer: '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 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 { type: 'paragraph', text: 'Edit `~/Library/Application Support/Claude/claude_desktop_config.json` (macOS) or `%APPDATA%\\\\Claude\\\\claude_desktop_config.json` (Windows).' },\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 { type: 'paragraph', 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 related: [\n { label: 'Cursor', slug: 'cursor' },\n { label: 'Tool Reference', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I add Talonic to Claude Desktop?', answer: '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 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 { type: 'paragraph', text: 'Edit `~/.cursor/mcp.json` (or open Cursor settings → MCP → edit config):' },\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 { question: 'How do I add Talonic MCP to Cursor?', answer: 'Edit ~/.cursor/mcp.json and add the Talonic MCP server config with your API key.' },\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 { type: 'paragraph', text: 'Open the Cline panel → settings (gear icon) → MCP Servers → Edit. Save and restart the panel.' },\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 { question: 'How do I add Talonic MCP to Cline?', answer: 'Open the Cline panel settings, go to MCP Servers, click Edit, and add the Talonic config entry.' },\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 { type: 'code', language: 'json', code: `{\n \"name\": \"talonic\",\n \"url\": \"https://mcp.talonic.com/mcp\",\n \"headers\": {\n \"Authorization\": \"Bearer tlnc_your_key_here\"\n }\n}` },\n { type: 'heading', level: 3, id: 'continue-local', text: 'Local (npx)' },\n { type: 'code', language: 'json', 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 related: [\n { label: 'Cowork', slug: 'cowork' },\n { label: 'Cline', slug: 'cline' },\n ],\n faq: [\n { question: 'How do I add Talonic MCP to Continue?', answer: 'Edit ~/.continue/config.json and add a Talonic entry to the mcpServers array with your API key.' },\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 { question: 'How do I add Talonic MCP to Cowork?', answer: 'Open Cowork settings, go to MCP Servers, click Add, and paste the standard Talonic config with your API key.' },\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: '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 { type: 'paragraph', 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 { type: 'param-table', params: [\n { name: 'file_data', type: 'string', description: 'Base64-encoded file bytes. Recommended for chat clients (drag-and-drop).' },\n { name: 'filename', type: 'string', description: 'Original filename (used for MIME type inference when using `file_data`).' },\n { name: 'file_path', type: 'string', description: 'Local file path.' },\n { name: 'file_url', type: 'string', description: 'Remote file URL.' },\n { name: 'document_id', type: 'string', description: 'ID of a previously uploaded document.' },\n { name: 'schema', type: 'object', description: 'Inline schema definition (JSON Schema or flat key-type map).' },\n { name: 'schema_id', type: 'string', description: 'UUID or SCH-XXXXXXXX short ID of a saved schema.' },\n { name: 'instructions', type: 'string', description: 'Natural-language guidance for the extractor.' },\n { name: 'include_markdown', type: 'boolean', description: 'Include OCR markdown alongside structured data.' },\n ]},\n { type: 'callout', variant: 'warning', text: 'Always provide a `schema` or `schema_id`. Auto-discovery extract (no schema) is not reliable in v0.1.' },\n { type: 'heading', level: 3, id: 'extract-inline-schema', text: 'Example: inline schema' },\n { type: 'code', language: 'json', title: 'Tool input', 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 { type: 'code', language: 'json', title: 'Tool response', code: `{\n \"document_id\": \"doc_8f3a...\",\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 \"confidence\": {\n \"vendor_name\": 0.98,\n \"invoice_number\": 0.95,\n \"total_amount\": 0.99,\n \"due_date\": 0.97\n },\n \"document\": {\n \"filename\": \"invoice-2026-001.pdf\",\n \"pages\": 2,\n \"type_detected\": \"Invoice\",\n \"language_detected\": \"de\"\n }\n}` },\n { type: 'heading', level: 3, id: 'extract-schema-id', text: 'Example: saved schema' },\n { type: 'code', language: 'json', title: 'Tool input', code: `{\n \"file_path\": \"./contracts/lease-agreement.pdf\",\n \"schema_id\": \"SCH-A1B2C3D4\"\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 { question: 'How does talonic_extract work?', answer: '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 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: 'Omnisearch across documents, fields, sources, and schemas in the workspace. Supports conceptual and fuzzy queries.',\n content: [\n { type: 'paragraph', text: 'Omnisearch across documents, fields, sources, and schemas in the workspace. Use for conceptual or fuzzy queries.' },\n { type: 'param-table', params: [\n { name: 'query', type: 'string', required: true, description: 'The search query. Supports fuzzy and conceptual matching.' },\n { name: 'limit', type: 'integer', description: 'Maximum results per entity type. Default: 5.' },\n ]},\n { type: 'heading', level: 3, id: 'search-example', text: 'Example' },\n { type: 'code', language: 'json', title: 'Tool input', code: `{\n \"query\": \"indemnification clauses Acme\",\n \"limit\": 10\n}` },\n { type: 'code', language: 'json', title: 'Tool response', 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 related: [\n { label: 'talonic_filter', slug: 'talonic-filter' },\n ],\n faq: [\n { question: 'What does talonic_search do?', answer: 'It searches across documents, fields, sources, and schemas in the workspace using fuzzy and conceptual matching.' },\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: 'Filter documents by extracted field values using composable conditions like eq, gt, between, and contains.',\n content: [\n { type: 'paragraph', text: 'Filter documents by extracted field values using composable conditions (`eq`, `gt`, `between`, `contains`, etc.).' },\n { type: 'paragraph', 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 { type: 'param-table', params: [\n { name: 'conditions', type: 'array', required: true, description: 'Filter conditions, AND-ed together. Each has `field` or `field_id`, `operator`, and `value`.' },\n { name: 'search', type: 'string', description: 'Optional free-text search applied alongside filters.' },\n { name: 'sort', type: 'object', description: 'Sort by a field: `{ field, direction: \"asc\" | \"desc\" }`.' },\n { name: 'page', type: 'integer', description: 'Page number for pagination.' },\n { name: 'limit', type: 'integer', description: 'Results per page. Default: 50.' },\n ]},\n { type: 'callout', variant: 'warning', text: 'The `is_not_empty` operator currently underreports. Use specific operators (`eq`, `gt`, `contains`, etc.) against known values when possible.' },\n { type: 'heading', level: 3, id: 'filter-example', text: 'Example' },\n { type: 'code', language: 'json', title: 'Tool input', 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 { type: 'code', language: 'json', title: 'Tool response', 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 related: [\n { label: 'talonic_search', slug: 'talonic-search' },\n { label: 'Known Limitations', slug: 'known-limitations' },\n ],\n faq: [\n { question: 'How do I filter documents by field value?', answer: '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 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: 'Fetch full metadata for a single document by ID, including processing log and link URLs.',\n content: [\n { type: 'paragraph', text: 'Fetch full metadata for a single document by ID, including processing log and link URLs.' },\n { type: 'param-table', params: [\n { name: 'document_id', type: 'string', required: true, description: 'The document UUID.' },\n ]},\n { type: 'heading', level: 3, id: 'get-document-example', text: 'Example' },\n { type: 'code', language: 'json', title: 'Tool input', code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}` },\n { type: 'code', language: 'json', title: 'Tool response', 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 related: [\n { label: 'talonic_to_markdown', slug: 'talonic-to-markdown' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I get document metadata via MCP?', answer: 'Call talonic_get_document with the document UUID to get full metadata including processing log and link URLs.' },\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: 'Get OCR-converted markdown for a document. Accepts document_id, file_data + filename, file_path, or file_url.',\n content: [\n { type: 'paragraph', text: 'Get OCR-converted markdown for a document. Accepts `document_id` (cheapest — no re-upload), `file_data` + `filename`, `file_path`, or `file_url`.' },\n { type: 'param-table', params: [\n { name: 'document_id', type: 'string', description: 'ID of an already-ingested document (cheapest path).' },\n { name: 'file_data', type: 'string', description: 'Base64-encoded file bytes. Pair with `filename`.' },\n { name: 'filename', type: 'string', description: 'Original filename with extension.' },\n { name: 'file_path', type: 'string', description: 'Local file path.' },\n { name: 'file_url', type: 'string', description: 'Remote URL the API fetches server-side.' },\n ]},\n { type: 'heading', level: 3, id: 'to-markdown-example', text: 'Example' },\n { type: 'code', language: 'json', title: 'Tool input', code: `{\n \"document_id\": \"doc_8f3a1b2c-4d5e-6f7a-8b9c-0d1e2f3a4b5c\"\n}` },\n { type: 'code', language: 'markdown', title: 'Tool response', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'Drag & Drop Files', slug: 'drag-and-drop' },\n ],\n faq: [\n { question: 'How do I get markdown from a document via MCP?', answer: 'Call talonic_to_markdown with a document_id (cheapest), or provide the file directly via file_data, file_path, or file_url.' },\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 { type: 'paragraph', text: 'List all saved schemas with their definitions. Returns schema IDs (both UUID and `SCH-XXXXXXXX` short format), names, and field definitions.' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'list-schemas-example', text: 'Example' },\n { type: 'paragraph', text: 'No input parameters required.' },\n { type: 'code', language: 'json', title: 'Tool response', 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 related: [\n { label: 'talonic_save_schema', slug: 'talonic-save-schema' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I list schemas via MCP?', answer: 'Call talonic_list_schemas to get all saved schemas with their definitions. The talonic://schemas resource also exposes this data.' },\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 { type: 'paragraph', text: 'Save a schema definition to the workspace for reuse. Returns a `schema_id` that can be passed to `talonic_extract`.' },\n { type: 'param-table', params: [\n { name: 'name', type: 'string', required: true, description: 'Human-readable schema name.' },\n { name: 'definition', type: 'object', required: true, description: 'Schema definition. Full JSON Schema `{type: \"object\", properties: {...}}` recommended.' },\n { name: 'description', type: 'string', description: 'What this schema extracts and when to use it.' },\n ]},\n { type: 'callout', 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 { type: 'heading', level: 3, id: 'save-schema-example', text: 'Example' },\n { type: 'code', language: 'json', title: 'Tool input', 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 { type: 'code', language: 'json', title: 'Tool response', 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 related: [\n { label: 'talonic_list_schemas', slug: 'talonic-list-schemas' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'How do I save a schema via MCP?', answer: 'Call talonic_save_schema with a name and JSON Schema definition. It returns a schema_id for reuse in talonic_extract calls.' },\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: 'Drop PDFs and documents directly into Claude Desktop, Cursor, or Cowork and extract data without file path configuration.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', 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 { type: 'callout', 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 related: [\n { label: 'talonic_extract', slug: 'talonic-extract' },\n { label: 'talonic_to_markdown', slug: 'talonic-to-markdown' },\n ],\n faq: [\n { question: 'Can I drag and drop files into Claude Desktop with Talonic?', answer: '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 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: 'Architecture of the Talonic MCP server: MCP protocol over stdio to the agent, HTTPS with Bearer auth to api.talonic.com.',\n content: [\n { type: 'code', language: 'text', title: 'Architecture', 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 { type: 'paragraph', 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 related: [\n { label: 'Environment Variables', slug: 'env-variables' },\n { label: 'Node SDK', slug: 'introduction' },\n ],\n faq: [\n { question: 'How does the Talonic MCP server work?', answer: '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 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: '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 { type: 'param-table', params: [\n { name: 'TALONIC_API_KEY', type: 'string', required: true, description: 'Your Talonic API key. Starts with `tlnc_`.' },\n { name: 'TALONIC_BASE_URL', type: 'string', description: 'Override the API base URL.', default: 'https://api.talonic.com' },\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 { question: 'What environment variables does the Talonic MCP server need?', answer: 'TALONIC_API_KEY (required, starts with tlnc_) and optionally TALONIC_BASE_URL to override the API endpoint.' },\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: 'Solutions for common Talonic MCP server issues: missing API key, server not appearing, extract errors, and filter validation.',\n content: [\n { type: 'heading', level: 3, id: 'missing-api-key', text: 'TALONIC_API_KEY environment variable is required' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'server-not-found', text: 'Talonic does not appear in connected servers' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'extract-500', text: 'talonic_extract returns 500 with auto-discovery' },\n { type: 'paragraph', text: 'Known limitation. Always provide either an inline `schema` or a `schema_id`. The auto-discovery code path is being stabilised.' },\n\n { type: 'heading', level: 3, id: 'unsupported-file', text: 'talonic_extract rejects with unsupported_file_type' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'filter-validation', text: 'talonic_filter VALIDATION_ERROR / \"No field matches name\"' },\n { type: 'paragraph', 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 { type: 'heading', level: 3, id: 'stale-descriptions', text: 'Tool descriptions look wrong in my client' },\n { type: 'paragraph', text: 'Some MCP clients cache tool descriptions. Restart the client after a server update.' },\n ],\n related: [\n { label: 'Known Limitations', slug: 'known-limitations' },\n { label: 'Upgrading', slug: 'upgrading' },\n ],\n faq: [\n { question: 'Why does Talonic MCP not appear in Claude Desktop?', answer: '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 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: 'Current limitations in the Talonic MCP server v0.1: auto-discovery, schema format, filter operators, and schema_id format.',\n content: [\n { type: 'list', items: [\n '**Auto-discovery extract (no schema) is not reliable on production.** Always pass a `schema` or `schema_id` to `talonic_extract`.',\n '**Schema definition: prefer full JSON Schema for now.** The flat key-type map is documented as supported but the server-side normaliser does not translate it yet.',\n '**`is_not_empty` filter currently underreports.** Use specific operators (`eq`, `gt`, `contains`, etc.) against known values instead.',\n '**`schema_id` on `talonic_extract` requires the UUID form.** Other endpoints accept either UUID or `SCH-XXXXXXXX`, but `/v1/extract` currently only accepts UUIDs. Pass the UUID from `talonic_list_schemas`.',\n ]},\n ],\n related: [\n { label: 'Common Issues', slug: 'common-issues' },\n { label: 'talonic_extract', slug: 'talonic-extract' },\n ],\n faq: [\n { question: 'What are the known limitations of Talonic MCP?', answer: 'Auto-discovery extract without a schema is unreliable, flat key-type schema maps are not yet translated, is_not_empty filter underreports, and schema_id on extract requires UUID format.' },\n ],\n mentions: ['limitations', 'auto-discovery', 'is_not_empty', 'schema_id'],\n },\n {\n slug: 'upgrading',\n parentSlug: 'troubleshooting',\n title: 'Upgrading',\n seoTitle: 'Upgrading from Older Versions — Talonic MCP',\n description: 'How to upgrade from older @talonic/mcp versions that had the silent-bin bug affecting MCP client launches.',\n content: [\n { type: 'paragraph', 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 { type: 'paragraph', text: 'The fix: point your `args` at `@latest` (or `@0.1.3` explicitly) and fully restart the client:' },\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 { question: 'How do I upgrade the Talonic MCP server?', answer: '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 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 {\n DocBlock,\n DocSection,\n RawSection,\n Param,\n HttpMethod,\n NavSection,\n} 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"]}
|
package/dist/http-server.js
CHANGED
|
@@ -32,6 +32,57 @@ function registerSchemasResource(server, talonic) {
|
|
|
32
32
|
}
|
|
33
33
|
);
|
|
34
34
|
}
|
|
35
|
+
|
|
36
|
+
// src/resources/webhooks-resource.ts
|
|
37
|
+
var WEBHOOK_INFO_ENDPOINTS = [
|
|
38
|
+
{ path: "/v1/webhooks/events", key: "events", description: "Available webhook event types" },
|
|
39
|
+
{ path: "/v1/webhooks/delivery", key: "delivery", description: "Delivery behavior and retry policy" },
|
|
40
|
+
{ path: "/v1/webhooks/signatures", key: "signatures", description: "Signature verification algorithms" },
|
|
41
|
+
{ path: "/v1/webhooks/retries", key: "retries", description: "Retry schedule and backoff policy" }
|
|
42
|
+
];
|
|
43
|
+
function registerWebhooksResource(server, apiKey, baseUrl) {
|
|
44
|
+
const base = baseUrl ?? "https://api.talonic.com";
|
|
45
|
+
server.registerResource(
|
|
46
|
+
"talonic-webhooks-reference",
|
|
47
|
+
"talonic://webhooks/reference",
|
|
48
|
+
{
|
|
49
|
+
title: "Talonic Webhooks Reference",
|
|
50
|
+
description: "Webhook event types, delivery behavior, signature verification algorithms, and retry policies.",
|
|
51
|
+
mimeType: "application/json"
|
|
52
|
+
},
|
|
53
|
+
async (uri) => {
|
|
54
|
+
const results = {};
|
|
55
|
+
await Promise.all(
|
|
56
|
+
WEBHOOK_INFO_ENDPOINTS.map(async ({ path, key }) => {
|
|
57
|
+
try {
|
|
58
|
+
const res = await fetch(`${base}${path}`, {
|
|
59
|
+
headers: {
|
|
60
|
+
Authorization: `Bearer ${apiKey}`,
|
|
61
|
+
Accept: "application/json"
|
|
62
|
+
}
|
|
63
|
+
});
|
|
64
|
+
if (res.ok) {
|
|
65
|
+
results[key] = await res.json();
|
|
66
|
+
} else {
|
|
67
|
+
results[key] = { error: `HTTP ${res.status}`, message: await res.text().catch(() => "") };
|
|
68
|
+
}
|
|
69
|
+
} catch (err) {
|
|
70
|
+
results[key] = { error: "fetch_failed", message: err instanceof Error ? err.message : String(err) };
|
|
71
|
+
}
|
|
72
|
+
})
|
|
73
|
+
);
|
|
74
|
+
return {
|
|
75
|
+
contents: [
|
|
76
|
+
{
|
|
77
|
+
uri: uri.toString(),
|
|
78
|
+
mimeType: "application/json",
|
|
79
|
+
text: JSON.stringify(results, null, 2)
|
|
80
|
+
}
|
|
81
|
+
]
|
|
82
|
+
};
|
|
83
|
+
}
|
|
84
|
+
);
|
|
85
|
+
}
|
|
35
86
|
function jsonOk(value) {
|
|
36
87
|
return {
|
|
37
88
|
content: [
|
|
@@ -523,8 +574,12 @@ function registerToMarkdown(server, talonic) {
|
|
|
523
574
|
);
|
|
524
575
|
}
|
|
525
576
|
|
|
577
|
+
// package.json
|
|
578
|
+
var package_default = {
|
|
579
|
+
version: "0.1.10"};
|
|
580
|
+
|
|
526
581
|
// src/version.ts
|
|
527
|
-
var VERSION =
|
|
582
|
+
var VERSION = package_default.version;
|
|
528
583
|
var SERVER_NAME = "talonic";
|
|
529
584
|
|
|
530
585
|
// src/server-factory.ts
|
|
@@ -559,6 +614,7 @@ function createServer(options) {
|
|
|
559
614
|
registerToMarkdown(server, talonic);
|
|
560
615
|
registerExtract(server, talonic);
|
|
561
616
|
registerSchemasResource(server, talonic);
|
|
617
|
+
registerWebhooksResource(server, options.apiKey, options.baseUrl);
|
|
562
618
|
return server;
|
|
563
619
|
}
|
|
564
620
|
|
|
@@ -585,6 +641,19 @@ var httpServer = createServer$1(async (req, res) => {
|
|
|
585
641
|
res.end(JSON.stringify({ status: "ok", server: SERVER_NAME, version: VERSION }));
|
|
586
642
|
return;
|
|
587
643
|
}
|
|
644
|
+
if (path === "/") {
|
|
645
|
+
res.writeHead(200, { "Content-Type": "application/json" });
|
|
646
|
+
res.end(JSON.stringify({
|
|
647
|
+
name: SERVER_NAME,
|
|
648
|
+
version: VERSION,
|
|
649
|
+
description: "Talonic MCP server \u2014 extract structured, schema-validated data from any document.",
|
|
650
|
+
mcp_endpoint: "/mcp",
|
|
651
|
+
health_endpoint: "/health",
|
|
652
|
+
auth: "Provide a Talonic API key via Authorization: Bearer tlnc_... header or ?apiKey=tlnc_... query param.",
|
|
653
|
+
docs: "https://docs.talonic.com"
|
|
654
|
+
}));
|
|
655
|
+
return;
|
|
656
|
+
}
|
|
588
657
|
res.setHeader("Access-Control-Allow-Origin", "*");
|
|
589
658
|
res.setHeader("Access-Control-Allow-Methods", "GET, POST, DELETE, OPTIONS");
|
|
590
659
|
res.setHeader("Access-Control-Allow-Headers", "Content-Type, Authorization, Mcp-Session-Id");
|