@cyanheads/cern-inspire-mcp-server 0.1.1 → 0.1.2
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/AGENTS.md +11 -8
- package/CLAUDE.md +11 -8
- package/README.md +60 -33
- package/changelog/0.1.x/0.1.2.md +29 -0
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/mcp-server/resources/definitions/index.d.ts +13 -5
- package/dist/mcp-server/resources/definitions/index.d.ts.map +1 -1
- package/dist/mcp-server/resources/definitions/inspire-literature.resource.d.ts +13 -5
- package/dist/mcp-server/resources/definitions/inspire-literature.resource.d.ts.map +1 -1
- package/dist/mcp-server/resources/definitions/inspire-literature.resource.js +1 -1
- package/dist/mcp-server/resources/definitions/inspire-literature.resource.js.map +1 -1
- package/dist/mcp-server/tools/definitions/export-citations.tool.d.ts +10 -1
- package/dist/mcp-server/tools/definitions/export-citations.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/export-citations.tool.js +83 -19
- package/dist/mcp-server/tools/definitions/export-citations.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-citation-summary.tool.d.ts +6 -2
- package/dist/mcp-server/tools/definitions/get-citation-summary.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-citation-summary.tool.js +71 -19
- package/dist/mcp-server/tools/definitions/get-citation-summary.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/get-paper.tool.d.ts +26 -10
- package/dist/mcp-server/tools/definitions/get-paper.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/get-paper.tool.js +107 -40
- package/dist/mcp-server/tools/definitions/get-paper.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/index.d.ts +30 -9
- package/dist/mcp-server/tools/definitions/index.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/list-reference.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/list-reference.tool.js +27 -8
- package/dist/mcp-server/tools/definitions/list-reference.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-authors.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-authors.tool.js +9 -9
- package/dist/mcp-server/tools/definitions/search-authors.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-experiments.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-experiments.tool.js +6 -3
- package/dist/mcp-server/tools/definitions/search-experiments.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-hepdata.tool.d.ts +2 -2
- package/dist/mcp-server/tools/definitions/search-hepdata.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-hepdata.tool.js +14 -12
- package/dist/mcp-server/tools/definitions/search-hepdata.tool.js.map +1 -1
- package/dist/mcp-server/tools/definitions/search-literature.tool.d.ts +1 -1
- package/dist/mcp-server/tools/definitions/search-literature.tool.d.ts.map +1 -1
- package/dist/mcp-server/tools/definitions/search-literature.tool.js +22 -11
- package/dist/mcp-server/tools/definitions/search-literature.tool.js.map +1 -1
- package/dist/mcp-server/tools/inputs.d.ts +17 -5
- package/dist/mcp-server/tools/inputs.d.ts.map +1 -1
- package/dist/mcp-server/tools/inputs.js +29 -10
- package/dist/mcp-server/tools/inputs.js.map +1 -1
- package/dist/services/inspire/identifiers.d.ts +17 -6
- package/dist/services/inspire/identifiers.d.ts.map +1 -1
- package/dist/services/inspire/identifiers.js +28 -7
- package/dist/services/inspire/identifiers.js.map +1 -1
- package/dist/services/inspire/inspire-service.d.ts +78 -18
- package/dist/services/inspire/inspire-service.d.ts.map +1 -1
- package/dist/services/inspire/inspire-service.js +293 -52
- package/dist/services/inspire/inspire-service.js.map +1 -1
- package/dist/services/inspire/markup-to-text.d.ts +32 -0
- package/dist/services/inspire/markup-to-text.d.ts.map +1 -0
- package/dist/services/inspire/markup-to-text.js +783 -0
- package/dist/services/inspire/markup-to-text.js.map +1 -0
- package/dist/services/inspire/normalize.d.ts +23 -6
- package/dist/services/inspire/normalize.d.ts.map +1 -1
- package/dist/services/inspire/normalize.js +94 -21
- package/dist/services/inspire/normalize.js.map +1 -1
- package/dist/services/inspire/types.d.ts +73 -5
- package/dist/services/inspire/types.d.ts.map +1 -1
- package/dist/utils/render.d.ts +34 -5
- package/dist/utils/render.d.ts.map +1 -1
- package/dist/utils/render.js +69 -16
- package/dist/utils/render.js.map +1 -1
- package/package.json +1 -1
- package/server.json +9 -3
package/dist/utils/render.d.ts
CHANGED
|
@@ -1,19 +1,48 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Markdown rendering for upstream-authored and caller-supplied text
|
|
3
3
|
* in every tool's `format()`. INSPIRE and HEPData strings are data, never
|
|
4
|
-
* markup: inline slots are flattened to one line with link,
|
|
5
|
-
* invisible format characters neutralized;
|
|
6
|
-
* cannot open a block; free text is
|
|
7
|
-
*
|
|
4
|
+
* markup: inline slots are flattened to one line with link, emphasis,
|
|
5
|
+
* strikethrough, HTML, control, and invisible format characters neutralized;
|
|
6
|
+
* text that opens a line or list item cannot open a block; free text is
|
|
7
|
+
* blockquoted; citation entries are fenced. A caller's own text echoed in a
|
|
8
|
+
* notice or error message goes through `callerEcho()`, and an identifier value
|
|
9
|
+
* (DOI, texkey, BAI, …) through `identifier()`; both leave `*`, `_`, `~`, `>`,
|
|
10
|
+
* and a `<` that opens no markup as written so the text copies back. The domain
|
|
11
|
+
* fields of `structuredContent` never pass through here: they hold what the
|
|
12
|
+
* service normalized (titles and abstracts converted from publisher markup to
|
|
13
|
+
* text, other strings as decoded).
|
|
8
14
|
* The service also uses `inline()` for upstream text it puts in an error message.
|
|
9
15
|
* @module utils/render
|
|
10
16
|
*/
|
|
11
17
|
/**
|
|
12
18
|
* Text for an inline slot — a heading, bold name, list item, or a value
|
|
13
19
|
* interpolated into a sentence: line breaks become one space, control and format
|
|
14
|
-
* characters are stripped, `[` `]`
|
|
20
|
+
* characters are stripped, `[` `]` `*` `~` and any `_` outside a word are
|
|
21
|
+
* escaped, `<` `>` become entities.
|
|
15
22
|
*/
|
|
16
23
|
export declare function inline(text: string): string;
|
|
24
|
+
/**
|
|
25
|
+
* A caller's own query, author, or paper identifier echoed in a notice or error
|
|
26
|
+
* message. Those strings ride `structuredContent` as well as `content[]`, and a
|
|
27
|
+
* caller may send the echo back as its next query, so INSPIRE's `*` wildcard,
|
|
28
|
+
* `_`, `~`, and the `>` of `date > 2015` or `P P --> TOP TOPBAR X` are left as
|
|
29
|
+
* written. Line breaks become one space, control and format characters are
|
|
30
|
+
* stripped, `[` `]` are escaped, and a `<` that could open a tag, comment, or
|
|
31
|
+
* autolink becomes `<` (`date < 2015` stays), so the echo still cannot form a
|
|
32
|
+
* link or HTML in `content[]`.
|
|
33
|
+
*/
|
|
34
|
+
export declare function callerEcho(text: string): string;
|
|
35
|
+
/**
|
|
36
|
+
* An identifier value a caller copies out of `content[]` into a query, a
|
|
37
|
+
* citation, or a URL: a DOI or HEPData record DOI, a report number, a texkey,
|
|
38
|
+
* an arXiv ID, a BAI, an ORCID, an INSPIRE ID, or a profile's other IDs
|
|
39
|
+
* (`John_Ellis_(physicist,_born_1946)`). The same rules as `callerEcho()`: `*`,
|
|
40
|
+
* `_`, `~`, and `>` stay as written, since an escape would be copied with the
|
|
41
|
+
* value (a SICI DOI's `<1::AID-JBM1>` included); `[` `]` are escaped and a `<`
|
|
42
|
+
* that could open markup becomes `<`. Titles, abstracts, names, and keywords
|
|
43
|
+
* are prose and go through `inline()`.
|
|
44
|
+
*/
|
|
45
|
+
export declare function identifier(text: string): string;
|
|
17
46
|
/** Text for a markdown table cell: `inline()` plus `|` escaped (backslash runs before it doubled). */
|
|
18
47
|
export declare function cell(text: string): string;
|
|
19
48
|
/** Free text (abstracts, descriptions) as a blockquote: `inline()` rules with line breaks kept. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/utils/render.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"render.d.ts","sourceRoot":"","sources":["../../src/utils/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAuFH;;;;;GAKG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE3C;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAE/C;AAED,sGAAsG;AACtG,wBAAgB,IAAI,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAEzC;AAED,mGAAmG;AACnG,wBAAgB,KAAK,CAAC,IAAI,EAAE,MAAM,GAAG,MAAM,CAK1C;AAED;;;;GAIG;AACH,wBAAgB,MAAM,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,GAAG,MAAM,CAK7D;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CAAC,GAAG,EAAE,MAAM,GAAG,MAAM,CAE5C;AAYD;;;;;GAKG;AACH,wBAAgB,WAAW,CAAC,QAAQ,EAAE,MAAM,GAAG,MAAM,CAGpD"}
|
package/dist/utils/render.js
CHANGED
|
@@ -1,10 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* @fileoverview Markdown rendering for upstream-authored and caller-supplied text
|
|
3
3
|
* in every tool's `format()`. INSPIRE and HEPData strings are data, never
|
|
4
|
-
* markup: inline slots are flattened to one line with link,
|
|
5
|
-
* invisible format characters neutralized;
|
|
6
|
-
* cannot open a block; free text is
|
|
7
|
-
*
|
|
4
|
+
* markup: inline slots are flattened to one line with link, emphasis,
|
|
5
|
+
* strikethrough, HTML, control, and invisible format characters neutralized;
|
|
6
|
+
* text that opens a line or list item cannot open a block; free text is
|
|
7
|
+
* blockquoted; citation entries are fenced. A caller's own text echoed in a
|
|
8
|
+
* notice or error message goes through `callerEcho()`, and an identifier value
|
|
9
|
+
* (DOI, texkey, BAI, …) through `identifier()`; both leave `*`, `_`, `~`, `>`,
|
|
10
|
+
* and a `<` that opens no markup as written so the text copies back. The domain
|
|
11
|
+
* fields of `structuredContent` never pass through here: they hold what the
|
|
12
|
+
* service normalized (titles and abstracts converted from publisher markup to
|
|
13
|
+
* text, other strings as decoded).
|
|
8
14
|
* The service also uses `inline()` for upstream text it puts in an error message.
|
|
9
15
|
* @module utils/render
|
|
10
16
|
*/
|
|
@@ -34,36 +40,83 @@ const LINE_BREAK = new RegExp(`\\r\\n|${charClass([
|
|
|
34
40
|
[0x85, 0x85],
|
|
35
41
|
[0x2028, 0x2029],
|
|
36
42
|
])}`, 'g');
|
|
43
|
+
/** A letter, digit, or combining mark: an underscore between two of them cannot delimit emphasis. */
|
|
44
|
+
const WORD = '[\\p{L}\\p{N}\\p{M}]';
|
|
45
|
+
/** `[` and `]`, which could form a link: all that `callerEcho()` and `identifier()` escape. */
|
|
46
|
+
const LINK_ESCAPES = '[[\\]]';
|
|
37
47
|
/**
|
|
38
|
-
*
|
|
39
|
-
*
|
|
40
|
-
*
|
|
48
|
+
* A `<` CommonMark could read as the start of markup: an HTML tag, comment,
|
|
49
|
+
* declaration, or processing instruction (`<` before a letter, `/`, `!`, or `?`),
|
|
50
|
+
* a URI autolink (its scheme opens with a letter), or an email autolink (an
|
|
51
|
+
* address's local part, then `@`). Any other `<` (`date<2015`, `0.8<|eta|`) and
|
|
52
|
+
* every `>` are inert once no markup can open.
|
|
41
53
|
*/
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
54
|
+
const MARKUP_OPENER = /<(?=[A-Za-z/!?]|[\w.!#$%&'*+/=?^`{|}~-]+@)/g;
|
|
55
|
+
/**
|
|
56
|
+
* What `inline()` and `quote()` escape: `[` `]`, which could form a link; `*`,
|
|
57
|
+
* which can open or close emphasis anywhere; `~`, which pairs into a GFM
|
|
58
|
+
* strikethrough (LaTeX's `Fig.~1` spacing, a `~10 Hz` approximation); and `_`
|
|
59
|
+
* unless it sits between two word characters, so intraword `p_T` stays as
|
|
60
|
+
* written while LaTeX's `$_{3}$` and converted `^{*0}` cannot pair into emphasis.
|
|
61
|
+
*/
|
|
62
|
+
const TEXT_ESCAPES = `[[\\]*~]|(?<!${WORD})_|_(?!${WORD})`;
|
|
63
|
+
/**
|
|
64
|
+
* Backslash-escapes each match of `escapable` (a regex source for one
|
|
65
|
+
* character), doubling any backslash run directly before one so an upstream
|
|
66
|
+
* backslash cannot cancel the escape (`\]` must not become `\\]`). One pass that
|
|
67
|
+
* consumes each backslash run whole, so a long run costs linear time.
|
|
68
|
+
*/
|
|
69
|
+
function escapeWithBackslash(text, escapable) {
|
|
70
|
+
return text.replace(new RegExp(`(\\\\+)(${escapable})?|${escapable}`, 'gu'), (match, run, char) => {
|
|
45
71
|
if (run === undefined)
|
|
46
72
|
return `\\${match}`;
|
|
47
73
|
return char === undefined ? run : `${run}${run}\\${char}`;
|
|
48
74
|
});
|
|
49
75
|
}
|
|
50
|
-
/**
|
|
76
|
+
/** Control and format characters stripped, tabs made spaces, then `escapable` backslash-escaped. */
|
|
77
|
+
const escaped = (text, escapable) => escapeWithBackslash(text.replace(STRIPPED, '').replace(/\t/g, ' '), escapable);
|
|
78
|
+
/** Stripping and escaping shared by every inline and quoted slot; line breaks untouched. */
|
|
51
79
|
function neutralize(text) {
|
|
52
|
-
return
|
|
53
|
-
.replace(/</g, '<')
|
|
54
|
-
.replace(/>/g, '>');
|
|
80
|
+
return escaped(text, TEXT_ESCAPES).replace(/</g, '<').replace(/>/g, '>');
|
|
55
81
|
}
|
|
56
82
|
/**
|
|
57
83
|
* Text for an inline slot — a heading, bold name, list item, or a value
|
|
58
84
|
* interpolated into a sentence: line breaks become one space, control and format
|
|
59
|
-
* characters are stripped, `[` `]`
|
|
85
|
+
* characters are stripped, `[` `]` `*` `~` and any `_` outside a word are
|
|
86
|
+
* escaped, `<` `>` become entities.
|
|
60
87
|
*/
|
|
61
88
|
export function inline(text) {
|
|
62
89
|
return neutralize(text.replace(LINE_BREAK, ' '));
|
|
63
90
|
}
|
|
91
|
+
/**
|
|
92
|
+
* A caller's own query, author, or paper identifier echoed in a notice or error
|
|
93
|
+
* message. Those strings ride `structuredContent` as well as `content[]`, and a
|
|
94
|
+
* caller may send the echo back as its next query, so INSPIRE's `*` wildcard,
|
|
95
|
+
* `_`, `~`, and the `>` of `date > 2015` or `P P --> TOP TOPBAR X` are left as
|
|
96
|
+
* written. Line breaks become one space, control and format characters are
|
|
97
|
+
* stripped, `[` `]` are escaped, and a `<` that could open a tag, comment, or
|
|
98
|
+
* autolink becomes `<` (`date < 2015` stays), so the echo still cannot form a
|
|
99
|
+
* link or HTML in `content[]`.
|
|
100
|
+
*/
|
|
101
|
+
export function callerEcho(text) {
|
|
102
|
+
return escaped(text.replace(LINE_BREAK, ' '), LINK_ESCAPES).replace(MARKUP_OPENER, '<');
|
|
103
|
+
}
|
|
104
|
+
/**
|
|
105
|
+
* An identifier value a caller copies out of `content[]` into a query, a
|
|
106
|
+
* citation, or a URL: a DOI or HEPData record DOI, a report number, a texkey,
|
|
107
|
+
* an arXiv ID, a BAI, an ORCID, an INSPIRE ID, or a profile's other IDs
|
|
108
|
+
* (`John_Ellis_(physicist,_born_1946)`). The same rules as `callerEcho()`: `*`,
|
|
109
|
+
* `_`, `~`, and `>` stay as written, since an escape would be copied with the
|
|
110
|
+
* value (a SICI DOI's `<1::AID-JBM1>` included); `[` `]` are escaped and a `<`
|
|
111
|
+
* that could open markup becomes `<`. Titles, abstracts, names, and keywords
|
|
112
|
+
* are prose and go through `inline()`.
|
|
113
|
+
*/
|
|
114
|
+
export function identifier(text) {
|
|
115
|
+
return callerEcho(text);
|
|
116
|
+
}
|
|
64
117
|
/** Text for a markdown table cell: `inline()` plus `|` escaped (backslash runs before it doubled). */
|
|
65
118
|
export function cell(text) {
|
|
66
|
-
return escapeWithBackslash(inline(text), '
|
|
119
|
+
return escapeWithBackslash(inline(text), '\\|');
|
|
67
120
|
}
|
|
68
121
|
/** Free text (abstracts, descriptions) as a blockquote: `inline()` rules with line breaks kept. */
|
|
69
122
|
export function quote(text) {
|
package/dist/utils/render.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/utils/render.ts"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"render.js","sourceRoot":"","sources":["../../src/utils/render.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;GAeG;AAEH;;;GAGG;AACH,MAAM,SAAS,GAAG,CAAC,MAA8C,EAAU,EAAE,CAC3E,IAAI,MAAM,CAAC,GAAG,CAAC,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,EAAE,EAAE,CAAC,GAAG,MAAM,CAAC,YAAY,CAAC,IAAI,CAAC,IAAI,MAAM,CAAC,YAAY,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,CAAC;AAExG;;;;;;GAMG;AACH,MAAM,QAAQ,GAAG,IAAI,MAAM,CACzB,GAAG,SAAS,CAAC;IACX,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;CACb,CAAC,kCAAkC,EACpC,IAAI,CACL,CAAC;AAEF,uGAAuG;AACvG,MAAM,UAAU,GAAG,IAAI,MAAM,CAC3B,UAAU,SAAS,CAAC;IAClB,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,IAAI,EAAE,IAAI,CAAC;IACZ,CAAC,MAAM,EAAE,MAAM,CAAC;CACjB,CAAC,EAAE,EACJ,GAAG,CACJ,CAAC;AAEF,qGAAqG;AACrG,MAAM,IAAI,GAAG,sBAAsB,CAAC;AAEpC,+FAA+F;AAC/F,MAAM,YAAY,G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,GAAG,CAAC,CAAC,CAAC,CAAC;IACtD,OAAO,GAAG,KAAK,GAAG,QAAQ,KAAK,IAAI,KAAK,KAAK,EAAE,CAAC;AAClD,CAAC;AAED;;;;GAIG;AACH,MAAM,UAAU,QAAQ,CAAC,GAAW;IAClC,OAAO,GAAG,CAAC,OAAO,CAAC,QAAQ,EAAE,EAAE,CAAC,CAAC,OAAO,CAAC,mBAAmB,EAAE,kBAAkB,CAAC,CAAC;AACpF,CAAC;AAED;;;;GAIG;AACH,MAAM,YAAY,GAAG,gEAAgE,CAAC;AAEtF,2FAA2F;AAC3F,MAAM,cAAc,GAAG,yBAAyB,CAAC;AAEjD;;;;;GAKG;AACH,MAAM,UAAU,WAAW,CAAC,QAAgB;IAC1C,MAAM,IAAI,GAAG,QAAQ,CAAC,OAAO,CAAC,KAAK,EAAE,EAAE,CAAC,CAAC;IACzC,OAAO,YAAY,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC,CAAC,CAAC,KAAK,IAAI,EAAE,CAAC,CAAC,CAAC,IAAI,CAAC,OAAO,CAAC,cAAc,EAAE,QAAQ,CAAC,CAAC;AACxF,CAAC"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cyanheads/cern-inspire-mcp-server",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.2",
|
|
4
4
|
"mcpName": "io.github.cyanheads/cern-inspire-mcp-server",
|
|
5
5
|
"description": "Search INSPIRE-HEP papers, authors, experiments, HEPData records; get citation metrics and BibTeX via MCP. STDIO or Streamable HTTP.",
|
|
6
6
|
"author": "Casey Hand <casey@caseyjhand.com> (https://caseyjhand.com)",
|
package/server.json
CHANGED
|
@@ -7,14 +7,20 @@
|
|
|
7
7
|
"url": "https://github.com/cyanheads/cern-inspire-mcp-server",
|
|
8
8
|
"source": "github"
|
|
9
9
|
},
|
|
10
|
-
"version": "0.1.
|
|
10
|
+
"version": "0.1.2",
|
|
11
|
+
"remotes": [
|
|
12
|
+
{
|
|
13
|
+
"type": "streamable-http",
|
|
14
|
+
"url": "https://cern-inspire.caseyjhand.com/mcp"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
11
17
|
"packages": [
|
|
12
18
|
{
|
|
13
19
|
"registryType": "npm",
|
|
14
20
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
15
21
|
"identifier": "@cyanheads/cern-inspire-mcp-server",
|
|
16
22
|
"runtimeHint": "node",
|
|
17
|
-
"version": "0.1.
|
|
23
|
+
"version": "0.1.2",
|
|
18
24
|
"packageArguments": [
|
|
19
25
|
{
|
|
20
26
|
"type": "positional",
|
|
@@ -43,7 +49,7 @@
|
|
|
43
49
|
"registryBaseUrl": "https://registry.npmjs.org",
|
|
44
50
|
"identifier": "@cyanheads/cern-inspire-mcp-server",
|
|
45
51
|
"runtimeHint": "node",
|
|
46
|
-
"version": "0.1.
|
|
52
|
+
"version": "0.1.2",
|
|
47
53
|
"packageArguments": [
|
|
48
54
|
{
|
|
49
55
|
"type": "positional",
|