@0xmonaco/mcp-server 0.5.4 → 0.5.6
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 +4 -0
- package/package.json +27 -23
- package/src/tools/helpers.js +1 -1
- package/src/utils.js +0 -1
package/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -1,24 +1,28 @@
|
|
|
1
1
|
{
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
2
|
+
"name": "@0xmonaco/mcp-server",
|
|
3
|
+
"version": "0.5.6",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"repository": {
|
|
6
|
+
"type": "git",
|
|
7
|
+
"url": "https://github.com/Monaco-Research/monaco-sdk.git",
|
|
8
|
+
"directory": "packages/mcp-server"
|
|
9
|
+
},
|
|
10
|
+
"description": "MCP server for the Monaco documentation",
|
|
11
|
+
"engines": {
|
|
12
|
+
"node": ">=18.0.0"
|
|
13
|
+
},
|
|
14
|
+
"bin": "./bin/cli.js",
|
|
15
|
+
"main": "src/index.js",
|
|
16
|
+
"scripts": {
|
|
17
|
+
"start": "tsx src/index.js"
|
|
18
|
+
},
|
|
19
|
+
"author": "@codebycarson",
|
|
20
|
+
"dependencies": {
|
|
21
|
+
"@mintlify/openapi-types": "^0.0.0",
|
|
22
|
+
"@mintlify/validation": "^0.1.320",
|
|
23
|
+
"@modelcontextprotocol/sdk": "^1.6.1",
|
|
24
|
+
"axios": "^1.8.1",
|
|
25
|
+
"dashify": "^2.0.0",
|
|
26
|
+
"trieve-ts-sdk": "^0.0.62"
|
|
27
|
+
}
|
|
28
|
+
}
|
package/src/tools/helpers.js
CHANGED
|
@@ -213,7 +213,7 @@ function convertSecurityParametersAndAddToRelevantParamGroups(
|
|
|
213
213
|
envVariables,
|
|
214
214
|
"cookie",
|
|
215
215
|
);
|
|
216
|
-
// non
|
|
216
|
+
// non-intuitive that we seed the query with a zod type if it *doesn't* exist
|
|
217
217
|
// but that's because if we don't have it in our env Variables, that means the user should provide it in their query.
|
|
218
218
|
queryRes.forEach(({ key, value }) => {
|
|
219
219
|
if (!value) {
|
package/src/utils.js
CHANGED
|
@@ -16,7 +16,6 @@ export function getFileId(spec, index) {
|
|
|
16
16
|
? `${spec.info.title} - ${spec.info.version}`
|
|
17
17
|
: index;
|
|
18
18
|
}
|
|
19
|
-
// eslint-disable-next-line @typescript-eslint/no-explicit-any
|
|
20
19
|
export function throwOnAxiosError(response, errMsg) {
|
|
21
20
|
var _a, _b;
|
|
22
21
|
if (response.status !== 200) {
|