@noresponse/mcp 0.6.5 → 0.6.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 +11 -0
- package/bin/mcp-server.js +34 -20
- package/bin/mcp-server.js.map +10 -10
- package/manifest.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.6.7
|
|
4
|
+
|
|
5
|
+
* `SDK.assessments.create()`: `response.detail.risk.summary.ip.asn` **Added**
|
|
6
|
+
* `SDK.assessments.get()`: `response.detail.risk.summary.ip.asn` **Added**
|
|
7
|
+
* `SDK.assessments.query()`: `response.items[].risk.summary.ip.asn` **Added**
|
|
8
|
+
* `SDK.accounts.listAssessments()`: `response.items[].risk.summary.ip.asn` **Added**
|
|
9
|
+
|
|
10
|
+
## 0.6.6
|
|
11
|
+
|
|
12
|
+
No changes detected.
|
|
13
|
+
|
|
3
14
|
## 0.6.5
|
|
4
15
|
|
|
5
16
|
No changes detected.
|
package/bin/mcp-server.js
CHANGED
|
@@ -41068,7 +41068,8 @@ var require_formats2 = __commonJS(function(exports, module) {
|
|
|
41068
41068
|
var percentTwenties = /%20/g;
|
|
41069
41069
|
var Format = {
|
|
41070
41070
|
RFC1738: "RFC1738",
|
|
41071
|
-
RFC3986: "RFC3986"
|
|
41071
|
+
RFC3986: "RFC3986",
|
|
41072
|
+
WHATWG: "WHATWG"
|
|
41072
41073
|
};
|
|
41073
41074
|
module.exports = {
|
|
41074
41075
|
default: Format.RFC3986,
|
|
@@ -41078,10 +41079,14 @@ var require_formats2 = __commonJS(function(exports, module) {
|
|
|
41078
41079
|
},
|
|
41079
41080
|
RFC3986: function(value) {
|
|
41080
41081
|
return String(value);
|
|
41082
|
+
},
|
|
41083
|
+
WHATWG: function(value) {
|
|
41084
|
+
return replace.call(value, percentTwenties, "+");
|
|
41081
41085
|
}
|
|
41082
41086
|
},
|
|
41083
41087
|
RFC1738: Format.RFC1738,
|
|
41084
|
-
RFC3986: Format.RFC3986
|
|
41088
|
+
RFC3986: Format.RFC3986,
|
|
41089
|
+
WHATWG: Format.WHATWG
|
|
41085
41090
|
};
|
|
41086
41091
|
});
|
|
41087
41092
|
|
|
@@ -41385,7 +41390,7 @@ var require_utils3 = __commonJS(function(exports, module) {
|
|
|
41385
41390
|
var arr = [];
|
|
41386
41391
|
for (var i = 0;i < segment.length; ++i) {
|
|
41387
41392
|
var c = segment.charCodeAt(i);
|
|
41388
|
-
if (c === 45 || c === 46 || c === 95 || c === 126 || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41)) {
|
|
41393
|
+
if (c === 45 || c === 46 || c === 95 || c === 126 && format !== formats.WHATWG || c >= 48 && c <= 57 || c >= 65 && c <= 90 || c >= 97 && c <= 122 || format === formats.RFC1738 && (c === 40 || c === 41) || format === formats.WHATWG && c === 42) {
|
|
41389
41394
|
arr[arr.length] = segment.charAt(i);
|
|
41390
41395
|
continue;
|
|
41391
41396
|
}
|
|
@@ -41401,9 +41406,14 @@ var require_utils3 = __commonJS(function(exports, module) {
|
|
|
41401
41406
|
arr[arr.length] = hexTable[224 | c >> 12] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
41402
41407
|
continue;
|
|
41403
41408
|
}
|
|
41404
|
-
i
|
|
41405
|
-
c
|
|
41406
|
-
|
|
41409
|
+
var next = segment.charCodeAt(i + 1);
|
|
41410
|
+
if (c <= 56319 && next >= 56320 && next <= 57343) {
|
|
41411
|
+
i += 1;
|
|
41412
|
+
c = 65536 + ((c & 1023) << 10 | next & 1023);
|
|
41413
|
+
arr[arr.length] = hexTable[240 | c >> 18] + hexTable[128 | c >> 12 & 63] + hexTable[128 | c >> 6 & 63] + hexTable[128 | c & 63];
|
|
41414
|
+
} else {
|
|
41415
|
+
arr[arr.length] = "%EF%BF%BD";
|
|
41416
|
+
}
|
|
41407
41417
|
}
|
|
41408
41418
|
out += arr.join("");
|
|
41409
41419
|
}
|
|
@@ -41483,6 +41493,7 @@ var require_utils3 = __commonJS(function(exports, module) {
|
|
|
41483
41493
|
markOverflow,
|
|
41484
41494
|
maybeMap,
|
|
41485
41495
|
merge,
|
|
41496
|
+
setProperty,
|
|
41486
41497
|
toCoercible
|
|
41487
41498
|
};
|
|
41488
41499
|
});
|
|
@@ -41607,7 +41618,7 @@ var require_stringify = __commonJS(function(exports, module) {
|
|
|
41607
41618
|
var encodedPrefix = String(prefix);
|
|
41608
41619
|
var adjustedPrefix = commaRoundTrip && isArray(obj) && obj.length === 1 ? encodedPrefix + "[]" : encodedPrefix;
|
|
41609
41620
|
if (allowEmptyArrays && isArray(obj) && obj.length === 0 && Object.keys(obj).length === 0) {
|
|
41610
|
-
return adjustedPrefix + "[]";
|
|
41621
|
+
return formatter(encoder && !encodeValuesOnly ? encoder(adjustedPrefix, defaults.encoder, charset, "key", format) : adjustedPrefix) + "[]";
|
|
41611
41622
|
}
|
|
41612
41623
|
for (var j = 0;j < objKeys.length; ++j) {
|
|
41613
41624
|
var key = objKeys[j];
|
|
@@ -41697,7 +41708,7 @@ var require_stringify = __commonJS(function(exports, module) {
|
|
|
41697
41708
|
filter = options.filter;
|
|
41698
41709
|
obj = filter("", obj);
|
|
41699
41710
|
} else if (isArray(options.filter)) {
|
|
41700
|
-
filter = options.filter;
|
|
41711
|
+
filter = options.filter.slice();
|
|
41701
41712
|
objKeys = filter;
|
|
41702
41713
|
}
|
|
41703
41714
|
var keys = [];
|
|
@@ -41723,7 +41734,7 @@ var require_stringify = __commonJS(function(exports, module) {
|
|
|
41723
41734
|
continue;
|
|
41724
41735
|
}
|
|
41725
41736
|
var encodedKey = options.encodeDotInKeys ? String(key).replace(/\./g, "%2E") : String(key);
|
|
41726
|
-
pushToArray(keys, stringify(value, encodedKey, generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null,
|
|
41737
|
+
pushToArray(keys, stringify(value, encodedKey, generateArrayPrefix, commaRoundTrip, options.allowEmptyArrays, options.strictNullHandling, options.skipNulls, options.encodeDotInKeys, options.encode ? options.encoder : null, filter, options.sort, options.allowDots, options.serializeDate, options.format, options.formatter, options.encodeValuesOnly, options.charset, sideChannel, options.depth, 0));
|
|
41727
41738
|
}
|
|
41728
41739
|
var joined = keys.join(options.delimiter);
|
|
41729
41740
|
var prefix = options.addQueryPrefix === true ? "?" : "";
|
|
@@ -41779,9 +41790,9 @@ var require_parse = __commonJS(function(exports, module) {
|
|
|
41779
41790
|
copies.set(value, copy);
|
|
41780
41791
|
queue[queue.length] = { source: value, target: copy };
|
|
41781
41792
|
}
|
|
41782
|
-
target
|
|
41793
|
+
utils.setProperty(target, keys[j], copies.get(value));
|
|
41783
41794
|
} else {
|
|
41784
|
-
target
|
|
41795
|
+
utils.setProperty(target, keys[j], value);
|
|
41785
41796
|
}
|
|
41786
41797
|
}
|
|
41787
41798
|
}
|
|
@@ -41831,7 +41842,7 @@ var require_parse = __commonJS(function(exports, module) {
|
|
|
41831
41842
|
}
|
|
41832
41843
|
return val.split(",");
|
|
41833
41844
|
}
|
|
41834
|
-
if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit) {
|
|
41845
|
+
if (options.throwOnLimitExceeded && currentArrayLength >= options.arrayLimit && currentArrayLength > 0) {
|
|
41835
41846
|
throw new RangeError("Array limit exceeded. Only " + options.arrayLimit + " element" + (options.arrayLimit === 1 ? "" : "s") + " allowed in an array.");
|
|
41836
41847
|
}
|
|
41837
41848
|
return val;
|
|
@@ -41879,13 +41890,15 @@ var require_parse = __commonJS(function(exports, module) {
|
|
|
41879
41890
|
} else {
|
|
41880
41891
|
key = options.decoder(part.slice(0, pos), defaults.decoder, charset, "key");
|
|
41881
41892
|
if (key !== null) {
|
|
41882
|
-
val = utils.maybeMap(parseArrayValue(part.slice(pos + 1), options, isArray(obj[key]) ? obj[key].length : 0), function(encodedVal) {
|
|
41893
|
+
val = utils.maybeMap(parseArrayValue(part.slice(pos + 1), options, isArray(obj[key]) && (options.duplicates === "combine" || isEmptyBracketKey) ? obj[key].length : 0), function(encodedVal) {
|
|
41883
41894
|
return options.decoder(encodedVal, defaults.decoder, charset, "value");
|
|
41884
41895
|
});
|
|
41885
41896
|
}
|
|
41886
41897
|
}
|
|
41887
41898
|
if (val && options.interpretNumericEntities && charset === "iso-8859-1") {
|
|
41888
|
-
val =
|
|
41899
|
+
val = utils.maybeMap(val, function(value) {
|
|
41900
|
+
return value ? interpretNumericEntities(String(value)) : value;
|
|
41901
|
+
});
|
|
41889
41902
|
}
|
|
41890
41903
|
if (isEmptyBracketKey) {
|
|
41891
41904
|
val = isArray(val) ? [val] : val;
|
|
@@ -41923,7 +41936,7 @@ var require_parse = __commonJS(function(exports, module) {
|
|
|
41923
41936
|
} else {
|
|
41924
41937
|
obj = options.plainObjects ? { __proto__: null } : {};
|
|
41925
41938
|
var cleanRoot = root.charAt(0) === "[" && root.charAt(root.length - 1) === "]" ? root.slice(1, -1) : root;
|
|
41926
|
-
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/
|
|
41939
|
+
var decodedRoot = options.decodeDotInKeys ? cleanRoot.replace(/%2E/gi, ".") : cleanRoot;
|
|
41927
41940
|
var index = parseInt(decodedRoot, 10);
|
|
41928
41941
|
var isValidArrayIndex = !isNaN(index) && root !== decodedRoot && String(index) === decodedRoot && index >= 0 && options.parseArrays;
|
|
41929
41942
|
if (!options.parseArrays && decodedRoot === "") {
|
|
@@ -48104,9 +48117,9 @@ var init_config = __esm(() => {
|
|
|
48104
48117
|
SDK_METADATA = {
|
|
48105
48118
|
language: "typescript",
|
|
48106
48119
|
openapiDocVersion: "1",
|
|
48107
|
-
sdkVersion: "0.6.
|
|
48120
|
+
sdkVersion: "0.6.7",
|
|
48108
48121
|
genVersion: "internal",
|
|
48109
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.6.
|
|
48122
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.6.7 internal 1 @noresponse/mcp"
|
|
48110
48123
|
};
|
|
48111
48124
|
});
|
|
48112
48125
|
|
|
@@ -50857,6 +50870,7 @@ var init_ipsummary = __esm(() => {
|
|
|
50857
50870
|
init_zod();
|
|
50858
50871
|
init_ipsummarytype();
|
|
50859
50872
|
IpSummary$zodSchema = object({
|
|
50873
|
+
asn: int().optional().describe("Autonomous system number of the network that announces the address, from the offline database. Absent when unknown."),
|
|
50860
50874
|
country: string2().optional().describe("ISO 3166-1 alpha-2 country of the address."),
|
|
50861
50875
|
seen_in_workspace: int().optional().describe("Assessments in this workspace with the same IP in the last 24 hours, this one included. A count only."),
|
|
50862
50876
|
type: IpSummaryType$zodSchema.optional().describe("The address's network type.")
|
|
@@ -56383,7 +56397,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
56383
56397
|
function createMCPServer(deps) {
|
|
56384
56398
|
const server = new McpServer({
|
|
56385
56399
|
name: "NoResponse",
|
|
56386
|
-
version: "0.6.
|
|
56400
|
+
version: "0.6.7"
|
|
56387
56401
|
});
|
|
56388
56402
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
56389
56403
|
security: deps.security,
|
|
@@ -65120,7 +65134,7 @@ var routes = buildRouteMap({
|
|
|
65120
65134
|
var app = buildApplication(routes, {
|
|
65121
65135
|
name: "mcp",
|
|
65122
65136
|
versionInfo: {
|
|
65123
|
-
currentVersion: "0.6.
|
|
65137
|
+
currentVersion: "0.6.7"
|
|
65124
65138
|
}
|
|
65125
65139
|
});
|
|
65126
65140
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -65128,5 +65142,5 @@ export {
|
|
|
65128
65142
|
app
|
|
65129
65143
|
};
|
|
65130
65144
|
|
|
65131
|
-
//# debugId=
|
|
65145
|
+
//# debugId=2E80793E032050EA64756E2164756E21
|
|
65132
65146
|
//# sourceMappingURL=mcp-server.js.map
|