@noresponse/mcp 0.5.3 → 0.5.5
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 +19 -16
- package/bin/mcp-server.js.map +14 -14
- 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.5
|
|
4
|
+
|
|
5
|
+
* `SDK.integrations.create()`:
|
|
6
|
+
* `request.platform.enum(supabase)` **Added**
|
|
7
|
+
* `response.platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
8
|
+
* `SDK.integrations.list()`: `response.items[].platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
9
|
+
* `SDK.integrations.rotate()`: `response.platform.enum(supabase)` **Added** (Breaking ⚠️)
|
|
10
|
+
|
|
11
|
+
## 0.5.4
|
|
12
|
+
|
|
13
|
+
* `SDK.assessments.create()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
14
|
+
* `SDK.assessments.get()`: `response.account.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
15
|
+
* `SDK.assessments.query()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
16
|
+
* `SDK.accounts.listChanged()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
17
|
+
* `SDK.accounts.get()`: `response.risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
18
|
+
* `SDK.accounts.listAssessments()`: `response.items[].risk.reasons[].code` **Changed** (Breaking ⚠️)
|
|
19
|
+
|
|
3
20
|
## 0.5.3
|
|
4
21
|
|
|
5
22
|
No changes detected.
|
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.5",
|
|
48108
48108
|
genVersion: "internal",
|
|
48109
|
-
userAgent: "noresponse-sdk/mcp-typescript 0.5.
|
|
48109
|
+
userAgent: "noresponse-sdk/mcp-typescript 0.5.5 internal 1 @noresponse/mcp"
|
|
48110
48110
|
};
|
|
48111
48111
|
});
|
|
48112
48112
|
|
|
@@ -50316,7 +50316,9 @@ var init_reasoncode = __esm(() => {
|
|
|
50316
50316
|
"shared_api_key",
|
|
50317
50317
|
"young_email_domain",
|
|
50318
50318
|
"email_domain_no_mx",
|
|
50319
|
-
"email_domain_nonexistent"
|
|
50319
|
+
"email_domain_nonexistent",
|
|
50320
|
+
"forum_sanctioned",
|
|
50321
|
+
"prior_payment_abuse"
|
|
50320
50322
|
]).describe("A stable reason code. New codes may appear; ignore any you do not know.");
|
|
50321
50323
|
});
|
|
50322
50324
|
|
|
@@ -53689,7 +53691,8 @@ var init_integrationplatform = __esm(() => {
|
|
|
53689
53691
|
init_zod();
|
|
53690
53692
|
IntegrationPlatform$zodSchema = _enum([
|
|
53691
53693
|
"workos",
|
|
53692
|
-
"auth0"
|
|
53694
|
+
"auth0",
|
|
53695
|
+
"supabase"
|
|
53693
53696
|
]).describe("The authentication provider that calls the endpoint.");
|
|
53694
53697
|
});
|
|
53695
53698
|
|
|
@@ -53700,10 +53703,10 @@ var init_integrationrequest = __esm(() => {
|
|
|
53700
53703
|
init_integrationhookpoint();
|
|
53701
53704
|
init_integrationplatform();
|
|
53702
53705
|
IntegrationRequest$zodSchema = object({
|
|
53703
|
-
hook_points: array(IntegrationHookPoint$zodSchema).optional().describe("The provider events the endpoint scores. Default
|
|
53706
|
+
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."),
|
|
53704
53707
|
platform: IntegrationPlatform$zodSchema.describe("The authentication provider that calls the endpoint."),
|
|
53705
|
-
signing_secret: string2().optional().describe("The WorkOS Actions signing secret, as the
|
|
53706
|
-
}).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.");
|
|
53708
|
+
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.")
|
|
53709
|
+
}).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.");
|
|
53707
53710
|
});
|
|
53708
53711
|
|
|
53709
53712
|
// src/funcs/integrationsCreate.ts
|
|
@@ -53786,7 +53789,7 @@ var init_integrationsCreate2 = __esm(() => {
|
|
|
53786
53789
|
name: "create_integration",
|
|
53787
53790
|
description: `Register a hosted provider integration.
|
|
53788
53791
|
|
|
53789
|
-
Registers a WorkOS or
|
|
53792
|
+
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.`,
|
|
53790
53793
|
annotations: {
|
|
53791
53794
|
title: "Register a hosted provider integration",
|
|
53792
53795
|
destructiveHint: false,
|
|
@@ -54084,8 +54087,8 @@ var IntegrationRotationRequest$zodSchema;
|
|
|
54084
54087
|
var init_integrationrotationrequest = __esm(() => {
|
|
54085
54088
|
init_zod();
|
|
54086
54089
|
IntegrationRotationRequest$zodSchema = object({
|
|
54087
|
-
signing_secret: string2().optional().describe("The WorkOS Actions signing secret, as the
|
|
54088
|
-
}).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
|
|
54090
|
+
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.")
|
|
54091
|
+
}).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.");
|
|
54089
54092
|
});
|
|
54090
54093
|
|
|
54091
54094
|
// src/models/rotateintegrationsecretop.ts
|
|
@@ -54213,7 +54216,7 @@ var init_integrationsRotate2 = __esm(() => {
|
|
|
54213
54216
|
name: "rotate_integration_secret",
|
|
54214
54217
|
description: `Replace an integration's secret.
|
|
54215
54218
|
|
|
54216
|
-
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.`,
|
|
54219
|
+
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.`,
|
|
54217
54220
|
annotations: {
|
|
54218
54221
|
title: "Rotate a hosted provider integration's signing secret",
|
|
54219
54222
|
destructiveHint: false,
|
|
@@ -56217,7 +56220,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
56217
56220
|
function createMCPServer(deps) {
|
|
56218
56221
|
const server = new McpServer({
|
|
56219
56222
|
name: "NoResponse",
|
|
56220
|
-
version: "0.5.
|
|
56223
|
+
version: "0.5.5"
|
|
56221
56224
|
});
|
|
56222
56225
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
56223
56226
|
security: deps.security,
|
|
@@ -56381,7 +56384,7 @@ Revokes a key of the signing key's environment at once: its next request answers
|
|
|
56381
56384
|
name: "create_integration",
|
|
56382
56385
|
description: `Register a hosted provider integration.
|
|
56383
56386
|
|
|
56384
|
-
Registers a WorkOS or
|
|
56387
|
+
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.`
|
|
56385
56388
|
},
|
|
56386
56389
|
{
|
|
56387
56390
|
name: "list_integrations",
|
|
@@ -56399,7 +56402,7 @@ Removes the integration and its secrets; its endpoint answers 404 from then on,
|
|
|
56399
56402
|
name: "rotate_integration_secret",
|
|
56400
56403
|
description: `Replace an integration's secret.
|
|
56401
56404
|
|
|
56402
|
-
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.`
|
|
56405
|
+
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.`
|
|
56403
56406
|
},
|
|
56404
56407
|
{
|
|
56405
56408
|
name: "list_webhook_endpoints",
|
|
@@ -64954,7 +64957,7 @@ var routes = buildRouteMap({
|
|
|
64954
64957
|
var app = buildApplication(routes, {
|
|
64955
64958
|
name: "mcp",
|
|
64956
64959
|
versionInfo: {
|
|
64957
|
-
currentVersion: "0.5.
|
|
64960
|
+
currentVersion: "0.5.5"
|
|
64958
64961
|
}
|
|
64959
64962
|
});
|
|
64960
64963
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64962,5 +64965,5 @@ export {
|
|
|
64962
64965
|
app
|
|
64963
64966
|
};
|
|
64964
64967
|
|
|
64965
|
-
//# debugId=
|
|
64968
|
+
//# debugId=2367DD60D5FC400A64756E2164756E21
|
|
64966
64969
|
//# sourceMappingURL=mcp-server.js.map
|