@talonic/mcp 0.1.9 → 0.1.11
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 +7 -3
- package/dist/content.d.ts +9 -9
- package/dist/content.js +811 -111
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +175 -24
- package/dist/http-server.js.map +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +142 -21
- package/dist/index.js.map +1 -1
- package/dist/server.js +142 -21
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
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:**
|
|
5
|
+
> **Status:** 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
|
|
|
@@ -30,7 +30,11 @@ The package is on npm. Every MCP client launches it the same way: a one-line `np
|
|
|
30
30
|
}
|
|
31
31
|
```
|
|
32
32
|
|
|
33
|
-
The `-y` flag skips the npm install prompt.
|
|
33
|
+
The `-y` flag skips the npm install prompt.
|
|
34
|
+
|
|
35
|
+
**Version pinning.** `@latest` is fine for trying things out and for personal use. For production deployments and CI, pin to a specific version (e.g. `@talonic/mcp@0.1.10`) so a future release cannot silently change tool descriptions, validation rules, or the response shape your agent depends on. Bump the pin manually after reviewing the CHANGELOG.
|
|
36
|
+
|
|
37
|
+
Talonic uses a single API key per workspace. The same key authorises all tools. There is no scoping mechanism in v0.1; treat the key like any other secret and store it in your client's secret store rather than in version control.
|
|
34
38
|
|
|
35
39
|
Per-client snippets are below.
|
|
36
40
|
|
|
@@ -146,7 +150,7 @@ Set via the `env` block in your MCP client config:
|
|
|
146
150
|
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
151
|
|
|
148
152
|
**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
|
|
153
|
+
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 a version number. 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
154
|
|
|
151
155
|
**`talonic_extract` returns 500 INTERNAL_ERROR with auto-discovery.**
|
|
152
156
|
Known limitation. Always provide either an inline `schema` or a `schema_id`. The platform team is stabilising the auto-discovery code path.
|
package/dist/content.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/** HTTP method for API endpoint blocks. */
|
|
2
|
-
type HttpMethod =
|
|
2
|
+
type HttpMethod = "GET" | "POST" | "PUT" | "PATCH" | "DELETE";
|
|
3
3
|
/** A single parameter row in a param-table block. */
|
|
4
4
|
interface Param {
|
|
5
5
|
name: string;
|
|
@@ -17,32 +17,32 @@ interface Param {
|
|
|
17
17
|
* - `[text](url)` for links
|
|
18
18
|
*/
|
|
19
19
|
type DocBlock = {
|
|
20
|
-
type:
|
|
20
|
+
type: "heading";
|
|
21
21
|
level: 2 | 3;
|
|
22
22
|
id: string;
|
|
23
23
|
text: string;
|
|
24
24
|
} | {
|
|
25
|
-
type:
|
|
25
|
+
type: "paragraph";
|
|
26
26
|
text: string;
|
|
27
27
|
} | {
|
|
28
|
-
type:
|
|
28
|
+
type: "code";
|
|
29
29
|
language?: string;
|
|
30
30
|
title?: string;
|
|
31
31
|
code: string;
|
|
32
32
|
} | {
|
|
33
|
-
type:
|
|
34
|
-
variant?:
|
|
33
|
+
type: "callout";
|
|
34
|
+
variant?: "info" | "warning";
|
|
35
35
|
text: string;
|
|
36
36
|
} | {
|
|
37
|
-
type:
|
|
37
|
+
type: "param-table";
|
|
38
38
|
title?: string;
|
|
39
39
|
params: Param[];
|
|
40
40
|
} | {
|
|
41
|
-
type:
|
|
41
|
+
type: "list";
|
|
42
42
|
ordered?: boolean;
|
|
43
43
|
items: string[];
|
|
44
44
|
} | {
|
|
45
|
-
type:
|
|
45
|
+
type: "endpoint";
|
|
46
46
|
method: HttpMethod;
|
|
47
47
|
path: string;
|
|
48
48
|
summary: string;
|