@noresponse/mcp 0.5.4 → 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 +8 -0
- package/bin/mcp-server.js +16 -15
- package/bin/mcp-server.js.map +13 -13
- package/manifest.json +4 -4
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
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
|
+
|
|
3
11
|
## 0.5.4
|
|
4
12
|
|
|
5
13
|
* `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.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
|
|
|
@@ -53691,7 +53691,8 @@ var init_integrationplatform = __esm(() => {
|
|
|
53691
53691
|
init_zod();
|
|
53692
53692
|
IntegrationPlatform$zodSchema = _enum([
|
|
53693
53693
|
"workos",
|
|
53694
|
-
"auth0"
|
|
53694
|
+
"auth0",
|
|
53695
|
+
"supabase"
|
|
53695
53696
|
]).describe("The authentication provider that calls the endpoint.");
|
|
53696
53697
|
});
|
|
53697
53698
|
|
|
@@ -53702,10 +53703,10 @@ var init_integrationrequest = __esm(() => {
|
|
|
53702
53703
|
init_integrationhookpoint();
|
|
53703
53704
|
init_integrationplatform();
|
|
53704
53705
|
IntegrationRequest$zodSchema = object({
|
|
53705
|
-
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."),
|
|
53706
53707
|
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.");
|
|
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.");
|
|
53709
53710
|
});
|
|
53710
53711
|
|
|
53711
53712
|
// src/funcs/integrationsCreate.ts
|
|
@@ -53788,7 +53789,7 @@ var init_integrationsCreate2 = __esm(() => {
|
|
|
53788
53789
|
name: "create_integration",
|
|
53789
53790
|
description: `Register a hosted provider integration.
|
|
53790
53791
|
|
|
53791
|
-
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.`,
|
|
53792
53793
|
annotations: {
|
|
53793
53794
|
title: "Register a hosted provider integration",
|
|
53794
53795
|
destructiveHint: false,
|
|
@@ -54086,8 +54087,8 @@ var IntegrationRotationRequest$zodSchema;
|
|
|
54086
54087
|
var init_integrationrotationrequest = __esm(() => {
|
|
54087
54088
|
init_zod();
|
|
54088
54089
|
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
|
|
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.");
|
|
54091
54092
|
});
|
|
54092
54093
|
|
|
54093
54094
|
// src/models/rotateintegrationsecretop.ts
|
|
@@ -54215,7 +54216,7 @@ var init_integrationsRotate2 = __esm(() => {
|
|
|
54215
54216
|
name: "rotate_integration_secret",
|
|
54216
54217
|
description: `Replace an integration's secret.
|
|
54217
54218
|
|
|
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.`,
|
|
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.`,
|
|
54219
54220
|
annotations: {
|
|
54220
54221
|
title: "Rotate a hosted provider integration's signing secret",
|
|
54221
54222
|
destructiveHint: false,
|
|
@@ -56219,7 +56220,7 @@ endpoint.verification sends a signed challenge now and answers whether the endpo
|
|
|
56219
56220
|
function createMCPServer(deps) {
|
|
56220
56221
|
const server = new McpServer({
|
|
56221
56222
|
name: "NoResponse",
|
|
56222
|
-
version: "0.5.
|
|
56223
|
+
version: "0.5.5"
|
|
56223
56224
|
});
|
|
56224
56225
|
const getClient = deps.getSDK || (() => new NoResponseCore({
|
|
56225
56226
|
security: deps.security,
|
|
@@ -56383,7 +56384,7 @@ Revokes a key of the signing key's environment at once: its next request answers
|
|
|
56383
56384
|
name: "create_integration",
|
|
56384
56385
|
description: `Register a hosted provider integration.
|
|
56385
56386
|
|
|
56386
|
-
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.`
|
|
56387
56388
|
},
|
|
56388
56389
|
{
|
|
56389
56390
|
name: "list_integrations",
|
|
@@ -56401,7 +56402,7 @@ Removes the integration and its secrets; its endpoint answers 404 from then on,
|
|
|
56401
56402
|
name: "rotate_integration_secret",
|
|
56402
56403
|
description: `Replace an integration's secret.
|
|
56403
56404
|
|
|
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.`
|
|
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.`
|
|
56405
56406
|
},
|
|
56406
56407
|
{
|
|
56407
56408
|
name: "list_webhook_endpoints",
|
|
@@ -64956,7 +64957,7 @@ var routes = buildRouteMap({
|
|
|
64956
64957
|
var app = buildApplication(routes, {
|
|
64957
64958
|
name: "mcp",
|
|
64958
64959
|
versionInfo: {
|
|
64959
|
-
currentVersion: "0.5.
|
|
64960
|
+
currentVersion: "0.5.5"
|
|
64960
64961
|
}
|
|
64961
64962
|
});
|
|
64962
64963
|
run(app, process3.argv.slice(2), buildContext(process3));
|
|
@@ -64964,5 +64965,5 @@ export {
|
|
|
64964
64965
|
app
|
|
64965
64966
|
};
|
|
64966
64967
|
|
|
64967
|
-
//# debugId=
|
|
64968
|
+
//# debugId=2367DD60D5FC400A64756E2164756E21
|
|
64968
64969
|
//# sourceMappingURL=mcp-server.js.map
|