@talonic/mcp 0.1.5 → 0.1.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.1.6] - 2026-04-30
11
+
12
+ ### Added
13
+
14
+ - `mcpName` field in `package.json` set to `io.github.talonicdev/talonic-mcp`. This is the verification marker the official MCP Registry uses to confirm that a registry entry's npm package matches its claimed identity.
15
+
10
16
  ## [0.1.5] - 2026-04-30
11
17
 
12
18
  ### Changed
package/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Official Talonic MCP server. Lets AI agents extract structured, schema-validated data from any document via the [Model Context Protocol](https://modelcontextprotocol.io).
4
4
 
5
- > **Status:** v0.1.5. Seven tools and one resource live: `talonic_extract`, `talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_to_markdown`, `talonic_list_schemas`, `talonic_save_schema`, plus the `talonic://schemas` resource. Verified end-to-end against production.
5
+ > **Status:** v0.1.6. Listed on the [official MCP Registry](https://registry.modelcontextprotocol.io/) as `io.github.talonicdev/talonic-mcp`. Seven tools and one resource live: `talonic_extract`, `talonic_search`, `talonic_filter`, `talonic_get_document`, `talonic_to_markdown`, `talonic_list_schemas`, `talonic_save_schema`, plus the `talonic://schemas` resource. Verified end-to-end against production.
6
6
 
7
7
  ## Why an agent should use this
8
8
 
@@ -146,7 +146,7 @@ Set via the `env` block in your MCP client config:
146
146
  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).
147
147
 
148
148
  **Talonic does not appear in the connected servers list.**
149
- Make sure the `command` is `npx` and the `args` are exactly `["-y", "@talonic/mcp@latest"]`. As a sanity check, in any terminal run `npx -y @talonic/mcp@latest --version`; it should print `talonic 0.1.5` (or newer). If you are on an older `0.1.x` and see no output at all, you are hitting the silent-bin bug fixed in `0.1.3`; upgrade by setting the args to `["-y", "@talonic/mcp@latest"]` and restarting the client.
149
+ Make sure the `command` is `npx` and the `args` are exactly `["-y", "@talonic/mcp@latest"]`. As a sanity check, in any terminal run `npx -y @talonic/mcp@latest --version`; it should print `talonic 0.1.6` (or newer). If you are on an older `0.1.x` and see no output at all, you are hitting the silent-bin bug fixed in `0.1.3`; upgrade by setting the args to `["-y", "@talonic/mcp@latest"]` and restarting the client.
150
150
 
151
151
  **`talonic_extract` returns 500 INTERNAL_ERROR with auto-discovery.**
152
152
  Known limitation. Always provide either an inline `schema` or a `schema_id`. The platform team is stabilising the auto-discovery code path.
@@ -0,0 +1,121 @@
1
+ /** HTTP method for API endpoint blocks. */
2
+ type HttpMethod = 'GET' | 'POST' | 'PUT' | 'PATCH' | 'DELETE';
3
+ /** A single parameter row in a param-table block. */
4
+ interface Param {
5
+ name: string;
6
+ type: string;
7
+ required?: boolean;
8
+ description: string;
9
+ default?: string;
10
+ }
11
+ /**
12
+ * A single content block. The union discriminates on `type`.
13
+ *
14
+ * Text fields use lightweight inline markup:
15
+ * - `**bold**` for strong emphasis
16
+ * - `` `code` `` for inline code
17
+ * - `[text](url)` for links
18
+ */
19
+ type DocBlock = {
20
+ type: 'heading';
21
+ level: 2 | 3;
22
+ id: string;
23
+ text: string;
24
+ } | {
25
+ type: 'paragraph';
26
+ text: string;
27
+ } | {
28
+ type: 'code';
29
+ language?: string;
30
+ title?: string;
31
+ code: string;
32
+ } | {
33
+ type: 'callout';
34
+ variant?: 'info' | 'warning';
35
+ text: string;
36
+ } | {
37
+ type: 'param-table';
38
+ title?: string;
39
+ params: Param[];
40
+ } | {
41
+ type: 'list';
42
+ ordered?: boolean;
43
+ items: string[];
44
+ } | {
45
+ type: 'endpoint';
46
+ method: HttpMethod;
47
+ path: string;
48
+ summary: string;
49
+ description?: string;
50
+ blocks: DocBlock[];
51
+ };
52
+ /** Navigation section for sidebar rendering. */
53
+ interface NavSection {
54
+ id: string;
55
+ label: string;
56
+ children?: {
57
+ id: string;
58
+ label: string;
59
+ }[];
60
+ }
61
+ /**
62
+ * A fully-resolved documentation section ready for SEO page rendering.
63
+ */
64
+ interface DocSection {
65
+ slug: string;
66
+ parentSlug: string;
67
+ title: string;
68
+ seoTitle: string;
69
+ description: string;
70
+ breadcrumbs: {
71
+ label: string;
72
+ slug: string;
73
+ }[];
74
+ content: DocBlock[];
75
+ related: {
76
+ label: string;
77
+ slug: string;
78
+ }[];
79
+ faq: {
80
+ question: string;
81
+ answer: string;
82
+ }[];
83
+ mentions: string[];
84
+ prev: {
85
+ slug: string;
86
+ label: string;
87
+ } | null;
88
+ next: {
89
+ slug: string;
90
+ label: string;
91
+ } | null;
92
+ }
93
+ /**
94
+ * Raw section data before prev/next and breadcrumbs are derived.
95
+ */
96
+ interface RawSection {
97
+ slug: string;
98
+ parentSlug: string;
99
+ title: string;
100
+ seoTitle: string;
101
+ description: string;
102
+ content: DocBlock[];
103
+ related: {
104
+ label: string;
105
+ slug: string;
106
+ }[];
107
+ faq: {
108
+ question: string;
109
+ answer: string;
110
+ }[];
111
+ mentions: string[];
112
+ }
113
+
114
+ declare const MCP_NAV_SECTIONS: NavSection[];
115
+
116
+ /** Get a single MCP section by slug, or null if not found. */
117
+ declare function getMcpSection(slug: string): DocSection | null;
118
+ /** Get all MCP sections in reading order. */
119
+ declare function getAllMcpSections(): DocSection[];
120
+
121
+ export { type DocBlock, type DocSection, type HttpMethod, MCP_NAV_SECTIONS, type NavSection, type Param, type RawSection, getAllMcpSections, getMcpSection };