@talonic/mcp 0.1.10 → 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 +5 -1
- package/dist/content.d.ts +9 -9
- package/dist/content.js +583 -165
- package/dist/content.js.map +1 -1
- package/dist/http-server.js +120 -38
- package/dist/http-server.js.map +1 -1
- package/dist/index.js +91 -26
- package/dist/index.js.map +1 -1
- package/dist/server.js +91 -26
- package/dist/server.js.map +1 -1
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -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
|
|
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;
|