@noresponse/mcp 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 +17 -0
- package/bin/mcp-server.js +26 -19
- package/bin/mcp-server.js.map +17 -17
- package/manifest.json +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.5.6
|
|
4
|
+
|
|
5
|
+
* `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
6
|
+
* `SDK.assessments.get()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
7
|
+
* `SDK.assessments.query()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
8
|
+
* `SDK.accounts.listChanged()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
9
|
+
* `SDK.accounts.get()`: `response.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
10
|
+
* `SDK.accounts.listAssessments()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
11
|
+
|
|
12
|
+
## 0.5.5
|
|
13
|
+
|
|
14
|
+
* `SDK.integrations.create()`:
|
|
15
|
+
* `request.platform.enum(supabase)` **Added**
|
|
16
|
+
* `response.platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
17
|
+
* `SDK.integrations.list()`: `response.items[].platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
18
|
+
* `SDK.integrations.rotate()`: `response.platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
19
|
+
|
|
3
20
|
## 0.5.4
|
|
4
21
|
|
|
5
22
|
* `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
package/bin/mcp-server.js
CHANGED
|
@@ -48104,9 +48104,9 @@ var init_config = __esm(() => {
|
|
|
48104
48104
|
SDK_METADATA = {
|
|
48105
48105
|
language: "typescript",
|
|
48106
48106
|
openapiDocVersion: "1",
|
|
48107
|
-
sdkVersion: "0.5.
|
|
48107
|
+
sdkVersion: "0.5.6",
|
|
48108
48108
|
genVersion: "internal",
|
|
48109
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.5.
|
|
48109
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.5.6 internal 1 @noresponse/mcp"
|
|
48110
48110
|
};
|
|
48111
48111
|
});
|
|
48112
48112
|
|
|
@@ -50318,7 +50318,13 @@ var init_reasoncode = __esm(() => {
|
|
|
50318
50318
|
"email_domain_no_mx",
|
|
50319
50319
|
"email_domain_nonexistent",
|
|
50320
50320
|
"forum_sanctioned",
|
|
50321
|
-
"prior_payment_abuse"
|
|
50321
|
+
"prior_payment_abuse",
|
|
50322
|
+
"ip_history_match",
|
|
50323
|
+
"identity_attribute_conflict",
|
|
50324
|
+
"impossible_identity_age",
|
|
50325
|
+
"breach_shared_ip",
|
|
50326
|
+
"nationality_mismatch",
|
|
50327
|
+
"minor_identity"
|
|
50322
50328
|
]).describe("A stable reason code. New codes may appear; ignore any you do not know.");
|
|
50323
50329
|
});
|
|
50324
50330
|
|
|
@@ -50569,7 +50575,7 @@ var init_breachselector = __esm(() => {
|
|
|
50569
50575
|
"email",
|
|
50570
50576
|
"username",
|
|
50571
50577
|
"ip"
|
|
50572
|
-
]).describe("The submitted
|
|
50578
|
+
]).describe("The submitted email or username whose own search matched the table. A submitted full name is searched as well, and what it finds feeds the identity's reasons rather than this list.");
|
|
50573
50579
|
});
|
|
50574
50580
|
|
|
50575
50581
|
// src/models/breach.ts
|
|
@@ -50584,7 +50590,7 @@ var init_breach = __esm(() => {
|
|
|
50584
50590
|
domain: string2().optional().describe("The breached site's domain, lower case. Absent when the table has none (a credential list, for example)."),
|
|
50585
50591
|
exposed: array(BreachExposed$zodSchema).optional(),
|
|
50586
50592
|
kind: BreachKind$zodSchema.describe("Who is in the table: site_breach, a site's own users; credential_list, a combolist or compilation; stealer_log, malware or botnet victims; scrape; hacking_forum, a criminal hacking, cracking or carding community; abuse_service, the customers of DDoS-for-hire, account generators, dump or card shops, darknet markets, stalkerware or breach-lookup services; darkweb_site, an onion site of unknown purpose."),
|
|
50587
|
-
matched_on: BreachSelector$zodSchema.describe("The submitted
|
|
50593
|
+
matched_on: BreachSelector$zodSchema.describe("The submitted email or username whose own search matched the table. A submitted full name is searched as well, and what it finds feeds the identity's reasons rather than this list."),
|
|
50588
50594
|
month: int().optional().describe("Absent when only the year is known."),
|
|
50589
50595
|
name: string2(),
|
|
50590
50596
|
year: int().optional().describe("A breach table's date year.")
|
|
@@ -52864,7 +52870,7 @@ var init_assessmentrequestidentifiers = __esm(() => {
|
|
|
52864
52870
|
AssessmentRequestIdentifiers$zodSchema = object({
|
|
52865
52871
|
email: string2().optional().describe("One address: a 1 to 64 character local part without whitespace, angle brackets, control or invisible characters, '@', and a domain with a letter TLD. Send an internationalised domain in punycode. Nothing is trimmed. The local part keeps its case and the domain is lower-cased; no alias rewriting ('+tag', dots or provider heuristics) is applied."),
|
|
52866
52872
|
ip: string2().optional().describe("The account_creation's client IP address: an IPv4 dotted quad without leading zeros, or an IPv6 address in its RFC 5952 text form (lower case, no leading zeros, the longest zero run compressed). Send an IPv4 client as a dotted quad, not IPv4-mapped. No zone, port or prefix. The server refuses a non-canonical IPv6 spelling, and every private, loopback, link-local, multicast, documentation or otherwise reserved address (the IANA special-purpose registries), with 400: only a public address says anything about a signup."),
|
|
52867
|
-
name: string2().optional().describe("The full name as the user typed it, 1 to 128 characters with no control or invisible characters. It is
|
|
52873
|
+
name: string2().optional().describe("The full name as the user typed it, 1 to 128 characters with no control or invisible characters. It is searched in breach data and matched against names in the evidence. A row holding the signup's own email or username confirms the name; rows sharing another identifier add to the identity's history."),
|
|
52868
52874
|
phone: string2().optional().describe("Strict E.164: '+', then 8 to 15 digits, the first not 0, with no separators. Phone evidence is gathered asynchronously, so a phone-only request answers 202 pending and the phone is listed in incomplete_sources on the synchronous answer."),
|
|
52869
52875
|
username: string2().optional().describe("The handle the account is signing up with: 1 to 64 characters, no whitespace, control or invisible characters, and not a credential hash or token. Echoed as received; compared case-insensitively.")
|
|
52870
52876
|
}).describe("At least one of email, username or phone. name and ip refine the match and travel beside a lookup identifier; a body with only name or ip is refused with 400.");
|
|
@@ -53691,7 +53697,8 @@ var init_integrationplatform = __esm(() => {
|
|
|
53691
53697
|
init_zod();
|
|
53692
53698
|
IntegrationPlatform$zodSchema = _enum([
|
|
53693
53699
|
"workos",
|
|
53694
|
-
"auth0"
|
|
53700
|
+
"auth0",
|
|
53701
|
+
"supabase"
|
|
53695
53702
|
]).describe("The authentication provider that calls the endpoint.");
|
|
53696
53703
|
});
|
|
53697
53704
|
|
|
@@ -53702,10 +53709,10 @@ var init_integrationrequest = __esm(() => {
|
|
|
53702
53709
|
init_integrationhookpoint();
|
|
53703
53710
|
init_integrationplatform();
|
|
53704
53711
|
IntegrationRequest$zodSchema = object({
|
|
53705
|
-
hook_points: array(IntegrationHookPoint$zodSchema).optional().describe("The provider events the endpoint scores. Default
|
|
53712
|
+
hook_points: array(IntegrationHookPoint$zodSchema).optional().describe("The provider events the endpoint scores. Default every hook point the platform has: pre_registration (WorkOS user registration Action, Auth0 pre-user-registration trigger, Supabase Before User Created hook) and post_login (WorkOS authentication Action, Auth0 post-login trigger). Supabase has only pre_registration, so a Supabase integration that lists post_login is refused. An event that is not listed is answered allow without an assessment."),
|
|
53706
53713
|
platform: IntegrationPlatform$zodSchema.describe("The authentication provider that calls the endpoint."),
|
|
53707
|
-
signing_secret: string2().optional().describe("The WorkOS Actions signing secret, as the
|
|
53708
|
-
}).describe("POST /v1/integrations body. Registers a hosted endpoint for one authentication provider. The workspace is the API key that signs the request, so the body has no workspace field and refuses one like any other unknown member. A WorkOS integration needs signing_secret, the Actions secret shown in the WorkOS dashboard, which NoResponse uses to verify each Action request and to sign its answer. An Auth0 integration sends no signing_secret: NoResponse generates the shared secret and returns it once.");
|
|
53714
|
+
signing_secret: string2().optional().describe("The WorkOS Actions signing secret or the Supabase hook secret, as the provider's dashboard shows it: 16 to 256 printable ASCII characters with no spaces. It is stored sealed and is not returned.")
|
|
53715
|
+
}).describe("POST /v1/integrations body. Registers a hosted endpoint for one authentication provider. The workspace is the API key that signs the request, so the body has no workspace field and refuses one like any other unknown member. A WorkOS integration needs signing_secret, the Actions secret shown in the WorkOS dashboard, which NoResponse uses to verify each Action request and to sign its answer. A Supabase integration needs signing_secret, the hook secret Supabase generates for a Before User Created HTTPS hook (v1,whsec_ and base64), which NoResponse uses to verify each call. An Auth0 integration sends no signing_secret: NoResponse generates the shared secret and returns it once.");
|
|
53709
53716
|
});
|
|
53710
53717
|
|
|
53711
53718
|
// src/funcs/integrationsCreate.ts
|
|
@@ -53788,7 +53795,7 @@ var init_integrationsCreate2 = __esm(() => {
|
|
|
53788
53795
|
name: "create_integration",
|
|
53789
53796
|
description: `Register a hosted provider integration.
|
|
53790
53797
|
|
|
53791
|
-
Registers a WorkOS or
|
|
53798
|
+
Registers a WorkOS, Auth0 or Supabase integration and returns its hosted endpoint, url, so a sign-up or sign-in is scored with no server of your own. For WorkOS, send the Actions signing secret from the WorkOS dashboard and point the user registration and authentication Actions at url. For Supabase, send the hook secret Supabase generates (v1,whsec_...) and set url as the Before User Created hook's HTTPS endpoint. For Auth0, the answer's secret is the shared secret of the NoResponse Auth0 Action, shown once: store it as an Action secret. hook_points defaults to every hook point the platform has (Supabase has only pre_registration); an event that is not listed is allowed without an assessment. The endpoint waits for the full assessment for at most 2.5 seconds (WorkOS, Supabase) or 4.5 seconds (Auth0), denies only when risk.block is true and allows on any failure. Requires the integrations scope; at most 10 per account. Not idempotent: a retry after a lost answer registers another integration.`,
|
|
53792
53799
|
annotations: {
|
|
53793
53800
|
title: "Register a hosted provider integration",
|
|
53794
53801
|
destructiveHint: false,
|
|
@@ -54086,8 +54093,8 @@ var IntegrationRotationRequest$zodSchema;
|
|
|
54086
54093
|
var init_integrationrotationrequest = __esm(() => {
|
|
54087
54094
|
init_zod();
|
|
54088
54095
|
IntegrationRotationRequest$zodSchema = object({
|
|
54089
|
-
signing_secret: string2().optional().describe("The WorkOS Actions signing secret, as the
|
|
54090
|
-
}).describe("POST /v1/integrations/{integration_id}/rotate body. For an Auth0 integration send {}: NoResponse generates a new shared secret and returns it once. For a WorkOS integration send the new signing_secret after regenerating it in the
|
|
54096
|
+
signing_secret: string2().optional().describe("The WorkOS Actions signing secret or the Supabase hook secret, as the provider's dashboard shows it: 16 to 256 printable ASCII characters with no spaces. It is stored sealed and is not returned.")
|
|
54097
|
+
}).describe("POST /v1/integrations/{integration_id}/rotate body. For an Auth0 integration send {}: NoResponse generates a new shared secret and returns it once. For a WorkOS or Supabase integration send the new signing_secret after regenerating it in the provider's dashboard. Either way the previous secret is still accepted for 24 hours, so the provider can be switched over without a refused call.");
|
|
54091
54098
|
});
|
|
54092
54099
|
|
|
54093
54100
|
// src/models/rotateintegrationsecretop.ts
|
|
@@ -54215,7 +54222,7 @@ var init_integrationsRotate2 = __esm(() => {
|
|
|
54215
54222
|
name: "rotate_integration_secret",
|
|
54216
54223
|
description: `Replace an integration's secret.
|
|
54217
54224
|
|
|
54218
|
-
For Auth0, send {} and the answer's secret is the new shared secret, shown once. For WorkOS, regenerate the Actions secret in the WorkOS dashboard and send it as signing_secret. The replaced secret is still accepted for 24 hours (previous_secret_expires_at). Requires the integrations scope. Not idempotent: a retry after a lost answer rotates again.`,
|
|
54225
|
+
For Auth0, send {} and the answer's secret is the new shared secret, shown once. For WorkOS, regenerate the Actions secret in the WorkOS dashboard and send it as signing_secret; for Supabase, generate a new hook secret in the Supabase dashboard and send it as signing_secret. The replaced secret is still accepted for 24 hours (previous_secret_expires_at). Requires the integrations scope. Not idempotent: a retry after a lost answer rotates again.`,
|
|
54219
54226
|
annotations: {
|
|
54220
54227
|
title: "Rotate a hosted provider integration's signing secret",
|
|
54221
54228
|
destructiveHint: false,
|
|
@@ -56219,7 +56226,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
56219
56226
|
function createMCPServer(deps) {
|
|
56220
56227
|
const server = new McpServer({
|
|
56221
56228
|
name: "NoResponse",
|
|
56222
|
-
version: "0.5.
|
|
56229
|
+
version: "0.5.6"
|
|
56223
56230
|
});
|
|
56224
56231
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
56225
56232
|
security: deps.security,
|
|
@@ -56383,7 +56390,7 @@ Revokes a key of the signing key's environment at once: its next request answers
|
|
|
56383
56390
|
name: "create_integration",
|
|
56384
56391
|
description: `Register a hosted provider integration.
|
|
56385
56392
|
|
|
56386
|
-
Registers a WorkOS or
|
|
56393
|
+
Registers a WorkOS, Auth0 or Supabase integration and returns its hosted endpoint, url, so a sign-up or sign-in is scored with no server of your own. For WorkOS, send the Actions signing secret from the WorkOS dashboard and point the user registration and authentication Actions at url. For Supabase, send the hook secret Supabase generates (v1,whsec_...) and set url as the Before User Created hook's HTTPS endpoint. For Auth0, the answer's secret is the shared secret of the NoResponse Auth0 Action, shown once: store it as an Action secret. hook_points defaults to every hook point the platform has (Supabase has only pre_registration); an event that is not listed is allowed without an assessment. The endpoint waits for the full assessment for at most 2.5 seconds (WorkOS, Supabase) or 4.5 seconds (Auth0), denies only when risk.block is true and allows on any failure. Requires the integrations scope; at most 10 per account. Not idempotent: a retry after a lost answer registers another integration.`
|
|
56387
56394
|
},
|
|
56388
56395
|
{
|
|
56389
56396
|
name: "list_integrations",
|
|
@@ -56401,7 +56408,7 @@ Removes the integration and its secrets; its endpoint answers 404 from then on,
|
|
|
56401
56408
|
name: "rotate_integration_secret",
|
|
56402
56409
|
description: `Replace an integration's secret.
|
|
56403
56410
|
|
|
56404
|
-
For Auth0, send {} and the answer's secret is the new shared secret, shown once. For WorkOS, regenerate the Actions secret in the WorkOS dashboard and send it as signing_secret. The replaced secret is still accepted for 24 hours (previous_secret_expires_at). Requires the integrations scope. Not idempotent: a retry after a lost answer rotates again.`
|
|
56411
|
+
For Auth0, send {} and the answer's secret is the new shared secret, shown once. For WorkOS, regenerate the Actions secret in the WorkOS dashboard and send it as signing_secret; for Supabase, generate a new hook secret in the Supabase dashboard and send it as signing_secret. The replaced secret is still accepted for 24 hours (previous_secret_expires_at). Requires the integrations scope. Not idempotent: a retry after a lost answer rotates again.`
|
|
56405
56412
|
},
|
|
56406
56413
|
{
|
|
56407
56414
|
name: "list_webhook_endpoints",
|
|
@@ -64956,7 +64963,7 @@ var routes = buildRouteMap({
|
|
|
64956
64963
|
var app = buildApplication(routes, {
|
|
64957
64964
|
name: "mcp",
|
|
64958
64965
|
versionInfo: {
|
|
64959
|
-
currentVersion: "0.5.
|
|
64966
|
+
currentVersion: "0.5.6"
|
|
64960
64967
|
}
|
|
64961
64968
|
});
|
|
64962
64969
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64964,5 +64971,5 @@ export {
|
|
|
64964
64971
|
app
|
|
64965
64972
|
};
|
|
64966
64973
|
|
|
64967
|
-
//# debugId=
|
|
64974
|
+
//# debugId=6A4CD5F41543A1EB64756E2164756E21
|
|
64968
64975
|
//# sourceMappingURL=mcp-server.js.map
|