@heossi/qnsi-mcp 0.1.4 → 0.1.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/README.md CHANGED
@@ -11,7 +11,7 @@ vault, a cryptographic bill of materials (CBOM), searchable encrypted storage,
11
11
  and immutable audit trails — tenant-scoped and tier-gated end-to-end.
12
12
 
13
13
  > **Free tier available.** Get an API key at
14
- > <https://cloud.qnsp.cuilabs.io/signup?src=mcp> — no credit card.
14
+ > <https://cloud.qnsi.heossi.com/signup?src=mcp> — no credit card.
15
15
 
16
16
  ---
17
17
 
@@ -135,7 +135,7 @@ collide with tools from other MCP servers an agent may have enabled.
135
135
  | `qnsp_platform_health` | Platform liveness and regional posture. | Any |
136
136
 
137
137
  If your tier does not include a feature, the tool returns a clear upgrade
138
- message with a deep link to <https://cloud.qnsp.cuilabs.io/billing>.
138
+ message with a deep link to <https://cloud.qnsi.heossi.com/billing>.
139
139
 
140
140
  ---
141
141
 
@@ -143,8 +143,8 @@ message with a deep link to <https://cloud.qnsp.cuilabs.io/billing>.
143
143
 
144
144
  | Env var | Required | Default | Purpose |
145
145
  |---|---|---|---|
146
- | `QNSP_API_KEY` | yes | — | Tenant-scoped API key. Create one at <https://cloud.qnsp.cuilabs.io/api-keys>. |
147
- | `QNSP_PLATFORM_URL` | no | `https://api.qnsp.cuilabs.io` | Point at a staging or self-hosted edge gateway. |
146
+ | `QNSP_API_KEY` | yes | — | Tenant-scoped API key. Create one at <https://cloud.qnsi.heossi.com/api-keys>. |
147
+ | `QNSP_PLATFORM_URL` | no | `https://api.qnsi.heossi.com` | Point at a staging or self-hosted edge gateway. |
148
148
 
149
149
  ---
150
150
 
@@ -166,18 +166,18 @@ No data is cached locally; every call is a round-trip to your tenant.
166
166
  ## Security
167
167
 
168
168
  - API keys are transmitted over TLS 1.3 (hybrid-PQC negotiation where
169
- supported) to `api.qnsp.cuilabs.io` and never logged.
169
+ supported) to `api.qnsi.heossi.com` and never logged.
170
170
  - Tool output is JSON — the server never embeds raw secret material into
171
171
  natural-language responses unless the tool semantics require it.
172
- - Report vulnerabilities to <security@cuilabs.io>.
172
+ - Report vulnerabilities to <security@heossi.com>.
173
173
 
174
174
  ---
175
175
 
176
176
  ## Links
177
177
 
178
- - **Docs:** <https://docs.qnsp.cuilabs.io/sdk/mcp-server>
179
- - **Cloud console:** <https://cloud.qnsp.cuilabs.io>
180
- - **Pricing:** <https://qnsp.cuilabs.io/pricing>
181
- - **Issues:** <https://github.com/heossi-hq/qnsp-public/issues>
178
+ - **Docs:** <https://docs.qnsi.heossi.com/sdk/mcp-server>
179
+ - **Cloud console:** <https://cloud.qnsi.heossi.com>
180
+ - **Pricing:** <https://qnsi.heossi.com/pricing>
181
+ - **Issues:** <https://github.com/heossihq/qnsi-public/issues>
182
182
 
183
183
  Apache-2.0 © HEOSSI (PTE.) LTD.
package/dist/index.d.ts CHANGED
@@ -11,8 +11,8 @@
11
11
  * QNSP_API_KEY=your-key qnsp-mcp
12
12
  *
13
13
  * Configuration:
14
- * QNSP_API_KEY — Required. Get one at https://cloud.qnsp.cuilabs.io/api-keys
15
- * QNSP_PLATFORM_URL — Optional. Defaults to https://api.qnsp.cuilabs.io
14
+ * QNSP_API_KEY — Required. Get one at https://cloud.qnsi.heossi.com/api-keys
15
+ * QNSP_PLATFORM_URL — Optional. Defaults to https://api.qnsi.heossi.com
16
16
  */
17
17
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
18
18
  /**
package/dist/index.js CHANGED
@@ -11,8 +11,8 @@
11
11
  * QNSP_API_KEY=your-key qnsp-mcp
12
12
  *
13
13
  * Configuration:
14
- * QNSP_API_KEY — Required. Get one at https://cloud.qnsp.cuilabs.io/api-keys
15
- * QNSP_PLATFORM_URL — Optional. Defaults to https://api.qnsp.cuilabs.io
14
+ * QNSP_API_KEY — Required. Get one at https://cloud.qnsi.heossi.com/api-keys
15
+ * QNSP_PLATFORM_URL — Optional. Defaults to https://api.qnsi.heossi.com
16
16
  */
17
17
  import { McpServer } from "@modelcontextprotocol/sdk/server/mcp.js";
18
18
  import { StdioServerTransport } from "@modelcontextprotocol/sdk/server/stdio.js";
@@ -56,7 +56,7 @@ function registerTools(server, ctx) {
56
56
  */
57
57
  export function createSandboxServer() {
58
58
  const noopApi = new ApiClient({
59
- baseUrl: "https://api.qnsp.cuilabs.io",
59
+ baseUrl: "https://api.qnsi.heossi.com",
60
60
  apiKey: "sandbox",
61
61
  tenantId: "sandbox",
62
62
  });
@@ -81,14 +81,14 @@ export function createSandboxServer() {
81
81
  function getRequiredEnv(name) {
82
82
  const value = process.env[name];
83
83
  if (!value || value.length === 0) {
84
- process.stderr.write(`Error: ${name} is required. Get your free API key at https://cloud.qnsp.cuilabs.io/api-keys\n`);
84
+ process.stderr.write(`Error: ${name} is required. Get your free API key at https://cloud.qnsi.heossi.com/api-keys\n`);
85
85
  process.exit(1);
86
86
  }
87
87
  return value;
88
88
  }
89
89
  async function main() {
90
90
  const apiKey = getRequiredEnv("QNSP_API_KEY");
91
- const platformUrl = process.env["QNSP_PLATFORM_URL"] ?? "https://api.qnsp.cuilabs.io";
91
+ const platformUrl = process.env["QNSP_PLATFORM_URL"] ?? "https://api.qnsi.heossi.com";
92
92
  // Activate SDK session — resolves API key → tenant ID → tier → limits
93
93
  const session = new SessionManager({ apiKey, platformUrl });
94
94
  const gate = await session.activate();
package/dist/session.js CHANGED
@@ -9,7 +9,7 @@ import { readFileSync } from "node:fs";
9
9
  import { dirname, join } from "node:path";
10
10
  import { fileURLToPath } from "node:url";
11
11
  import { activateSdk } from "@heossi/qnsi/activation";
12
- const DEFAULT_PLATFORM_URL = "https://api.qnsp.cuilabs.io";
12
+ const DEFAULT_PLATFORM_URL = "https://api.qnsi.heossi.com";
13
13
  // Resolve own version from package.json so activation telemetry tracks the
14
14
  // actual published version of @heossi/qnsi-mcp, not an inline literal that
15
15
  // drifts every release. The compiled module lives at dist/session.js, so the
package/dist/tools.js CHANGED
@@ -20,7 +20,7 @@ function gateError(feature, tier) {
20
20
  {
21
21
  type: "text",
22
22
  text: `This feature requires a higher tier. Current tier: ${tier}. ` +
23
- `Upgrade at https://cloud.qnsp.cuilabs.io/billing to access ${feature}.`,
23
+ `Upgrade at https://cloud.qnsi.heossi.com/billing to access ${feature}.`,
24
24
  },
25
25
  ],
26
26
  isError: true,
@@ -177,7 +177,7 @@ export async function billingStatus(ctx, _input) {
177
177
  tenantId: ctx.gate.tenantId,
178
178
  tier: ctx.gate.tier,
179
179
  limits: ctx.gate.limits,
180
- upgradeUrl: "https://cloud.qnsp.cuilabs.io/billing",
180
+ upgradeUrl: "https://cloud.qnsi.heossi.com/billing",
181
181
  });
182
182
  }
183
183
  // ── Health Tools ────────────────────────────────────────────────────────────
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@heossi/qnsi-mcp",
3
- "version": "0.1.4",
3
+ "version": "0.1.6",
4
4
  "description": "QNSP MCP Server: post-quantum cryptography tools for AI assistants. Manage PQC keys, encrypted vault, crypto inventory, and compliance — all tier-gated via QNSP billing.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -40,7 +40,7 @@
40
40
  "dependencies": {
41
41
  "@modelcontextprotocol/sdk": "^1.29.0",
42
42
  "zod": "^4.3.6",
43
- "@heossi/qnsi": "0.3.2"
43
+ "@heossi/qnsi": "0.5.4"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/node": "^25.5.2",
@@ -78,12 +78,12 @@
78
78
  ],
79
79
  "repository": {
80
80
  "type": "git",
81
- "url": "https://github.com/heossi-hq/qnsp-public",
81
+ "url": "https://github.com/heossihq/qnsi-public",
82
82
  "directory": "packages/mcp-server"
83
83
  },
84
- "homepage": "https://cloud.qnsp.cuilabs.io",
84
+ "homepage": "https://cloud.qnsi.heossi.com",
85
85
  "bugs": {
86
- "url": "https://github.com/heossi-hq/qnsp-public/issues"
86
+ "url": "https://github.com/heossihq/qnsi-public/issues"
87
87
  },
88
88
  "scripts": {
89
89
  "build": "tsc --project tsconfig.build.json",