@nexart/mcp-server 0.0.0-stage → 0.1.0
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 +53 -0
- package/CONTRIBUTING.md +56 -0
- package/LICENSE +202 -0
- package/NOTICE +14 -0
- package/README.md +340 -2
- package/SECURITY.md +76 -0
- package/THIRD_PARTY_NOTICES.md +111 -0
- package/dist/adapters.d.ts +16 -0
- package/dist/adapters.js +48 -0
- package/dist/approve-public.d.ts +2 -0
- package/dist/approve-public.js +65 -0
- package/dist/contracts.d.ts +48 -0
- package/dist/contracts.js +34 -0
- package/dist/create-confidential.d.ts +2 -0
- package/dist/create-confidential.js +34 -0
- package/dist/instrumentation/openai-worker.d.ts +1 -0
- package/dist/instrumentation/openai-worker.js +26 -0
- package/dist/instrumentation/openai.d.ts +51 -0
- package/dist/instrumentation/openai.js +197 -0
- package/dist/limits.d.ts +15 -0
- package/dist/limits.js +62 -0
- package/dist/lookup/contracts.d.ts +38 -0
- package/dist/lookup/contracts.js +22 -0
- package/dist/lookup/verify.d.ts +54 -0
- package/dist/lookup/verify.js +110 -0
- package/dist/network/client.d.ts +26 -0
- package/dist/network/client.js +188 -0
- package/dist/network/contracts.d.ts +104 -0
- package/dist/network/contracts.js +54 -0
- package/dist/network-tools.d.ts +5 -0
- package/dist/network-tools.js +32 -0
- package/dist/owner/create.d.ts +52 -0
- package/dist/owner/create.js +117 -0
- package/dist/owner/custody.d.ts +33 -0
- package/dist/owner/custody.js +200 -0
- package/dist/owner/host.d.ts +10 -0
- package/dist/owner/host.js +70 -0
- package/dist/owner/publisher.d.ts +21 -0
- package/dist/owner/publisher.js +27 -0
- package/dist/owner/reconcile.d.ts +16 -0
- package/dist/owner/reconcile.js +109 -0
- package/dist/receipts/contracts.d.ts +72 -0
- package/dist/receipts/contracts.js +33 -0
- package/dist/receipts/verify.d.ts +4 -0
- package/dist/receipts/verify.js +104 -0
- package/dist/record/contracts.d.ts +281 -0
- package/dist/record/contracts.js +70 -0
- package/dist/record/customer.d.ts +40 -0
- package/dist/record/customer.js +99 -0
- package/dist/record/policy.d.ts +46 -0
- package/dist/record/policy.js +67 -0
- package/dist/record/publication.d.ts +23 -0
- package/dist/record/publication.js +148 -0
- package/dist/record/record.d.ts +12 -0
- package/dist/record/record.js +93 -0
- package/dist/record/state.d.ts +44 -0
- package/dist/record/state.js +84 -0
- package/dist/record-tools.d.ts +10 -0
- package/dist/record-tools.js +85 -0
- package/dist/recover-confidential.d.ts +2 -0
- package/dist/recover-confidential.js +13 -0
- package/dist/results.d.ts +8 -0
- package/dist/results.js +83 -0
- package/dist/server.d.ts +2 -0
- package/dist/server.js +39 -0
- package/dist/stdio.d.ts +2 -0
- package/dist/stdio.js +104 -0
- package/dist/trust/lifecycle.d.ts +13 -0
- package/dist/trust/lifecycle.js +42 -0
- package/dist/trust/policy.d.ts +14 -0
- package/dist/trust/policy.js +6 -0
- package/dist/verify.d.ts +3 -0
- package/dist/verify.js +56 -0
- package/dist/write/approval.d.ts +5 -0
- package/dist/write/approval.js +95 -0
- package/dist/write/attest.d.ts +14 -0
- package/dist/write/attest.js +140 -0
- package/dist/write/config.d.ts +11 -0
- package/dist/write/config.js +12 -0
- package/dist/write/contracts.d.ts +229 -0
- package/dist/write/contracts.js +61 -0
- package/dist/write/post.d.ts +11 -0
- package/dist/write/post.js +105 -0
- package/dist/write/profile.d.ts +19 -0
- package/dist/write/profile.js +114 -0
- package/dist/write/seal.d.ts +3 -0
- package/dist/write/seal.js +49 -0
- package/dist/write-tools.d.ts +4 -0
- package/dist/write-tools.js +36 -0
- package/docs/age-version-compatibility.md +46 -0
- package/docs/architecture.md +72 -0
- package/docs/compatibility.md +163 -0
- package/docs/contracts.md +127 -0
- package/docs/examples/customer-claude-desktop.json +14 -0
- package/docs/examples/customer-consent.json +15 -0
- package/docs/examples/customer-custody.json +8 -0
- package/docs/examples/customer-policy.json +43 -0
- package/docs/licensing-review.md +109 -0
- package/docs/milestone-1-validation.md +110 -0
- package/docs/milestone-2.md +291 -0
- package/docs/milestone-3.2.md +291 -0
- package/docs/milestone-3.md +274 -0
- package/docs/milestone-4a.md +221 -0
- package/docs/milestone-4b1.md +220 -0
- package/docs/milestone-4b2.md +260 -0
- package/docs/public-default.md +263 -0
- package/docs/recording-schema-compatibility.md +46 -0
- package/docs/release.md +311 -0
- package/docs/security-fixes.md +47 -0
- package/docs/security.md +195 -0
- package/docs/standalone-acceptance.md +81 -0
- package/docs/validation.md +85 -0
- package/package.json +51 -4
- package/server.json +20 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
# Current release validation
|
|
2
|
+
|
|
3
|
+
```bash
|
|
4
|
+
pnpm install --frozen-lockfile --ignore-scripts
|
|
5
|
+
pnpm run validate:release
|
|
6
|
+
```
|
|
7
|
+
|
|
8
|
+
`tests/release-validation.mjs` is the current repeatable entry point, also used
|
|
9
|
+
by `check:clean-install`. `pnpm test` runs all `*.test.mjs` in both `tests/`
|
|
10
|
+
and `tests/validation/`, not only the top-level directory.
|
|
11
|
+
|
|
12
|
+
Each run creates an exclusive `generated-artifacts/npm-release/run-*` directory.
|
|
13
|
+
Old milestone and age-version evidence is neither overwritten nor deleted.
|
|
14
|
+
The old milestone runners are historical; do not use them as current release
|
|
15
|
+
commands or point them at existing frozen evidence directories.
|
|
16
|
+
|
|
17
|
+
## Checks
|
|
18
|
+
|
|
19
|
+
1. Copy explicit standalone inputs into a protected temporary checkout outside
|
|
20
|
+
the repository workspace; inherit PATH/HOME only, plus CI=true.
|
|
21
|
+
2. Frozen pnpm install with scripts disabled, build and typecheck.
|
|
22
|
+
3. Complete test discovery in both directories, with structured result ledger:
|
|
23
|
+
at least the accepted 578 tests, no failures or skips.
|
|
24
|
+
4. Benchmark and `npm pack --ignore-scripts`; inspect archive allowlist and
|
|
25
|
+
packed manifest, including both executable names and Registry identity.
|
|
26
|
+
Changelog/current release version, security/contribution documents and
|
|
27
|
+
README recording examples are covered by release regression checks.
|
|
28
|
+
5. Compare all production sources to retained 578-test hashes when that local
|
|
29
|
+
historical evidence is available. No runtime changes are authorised here.
|
|
30
|
+
6. Fresh npm production-only installation from the archive into an independent
|
|
31
|
+
consumer. No workspace link, copied runtime dependencies or development
|
|
32
|
+
repository is required by the installed package.
|
|
33
|
+
7. External test harness: synthetic fixtures and test-only mocks stay outside
|
|
34
|
+
the archive. Its runtime imports resolve to the consumer's installed `dist`.
|
|
35
|
+
The harness uses development client dependencies; the package itself does not.
|
|
36
|
+
8. Fourteen installed MCP sessions covering both `2025-11-25` and `2026-07-28`,
|
|
37
|
+
original verification, network mocks, optional write/recording paths, schema
|
|
38
|
+
compatibility, v-prefixed age handling, redaction and clean shutdown.
|
|
39
|
+
9. Existing approval/create/recover commands, synthetic encrypted recovery and
|
|
40
|
+
customer library checks, plus actual offline `npm exec` implicit executable
|
|
41
|
+
selection on both MCP revisions through the new `mcp-server` alias.
|
|
42
|
+
10. Remove temporary checkouts/consumers, retaining evidence and archive.
|
|
43
|
+
|
|
44
|
+
Application network traffic is synthetic/loopback only. Dependency installation
|
|
45
|
+
uses registries and may use existing caches; this is not an empty-cache,
|
|
46
|
+
bit-identical-build or independent-machine claim. No real provider call,
|
|
47
|
+
production signing key, production Node POST or npm/Registry publication occurs.
|
|
48
|
+
|
|
49
|
+
## Evidence
|
|
50
|
+
|
|
51
|
+
Read the run's `release-summary.json` for its actual outcome, command statuses,
|
|
52
|
+
test counts, archive SHA-256/SHA-512 integrity, archive paths, source comparison
|
|
53
|
+
and installed-protocol/discovery results. Command logs and the `.tgz` are stored
|
|
54
|
+
beside it. Failure evidence is retained in its own exclusive directory.
|
|
55
|
+
|
|
56
|
+
The npm package includes the owner-authorised Apache LICENSE and scoped NOTICE,
|
|
57
|
+
CHANGELOG.md, SECURITY.md and CONTRIBUTING.md alongside the README, compiled
|
|
58
|
+
runtime/types, Registry metadata and docs.
|
|
59
|
+
It deliberately excludes source, tests/fixtures, source maps,
|
|
60
|
+
lock/workspace configuration, credentials, private recovery files and validation
|
|
61
|
+
outputs. Repository-only test vectors still have unresolved redistribution
|
|
62
|
+
permissions; excluding them from npm does not authorise publishing the repository.
|
|
63
|
+
|
|
64
|
+
The earlier 578-test archive is a frozen private baseline. A changed manifest
|
|
65
|
+
or documentation creates a different candidate even when runtime sources match.
|
|
66
|
+
The owner authorised public configuration without `private:true`; rerun validation to
|
|
67
|
+
produce the actual publication archive; do not publish a pre-approval archive.
|
|
68
|
+
|
|
69
|
+
## Host acceptance
|
|
70
|
+
|
|
71
|
+
The owner reported successful Claude Desktop/macOS live acceptance with Node 24,
|
|
72
|
+
age 1.3.2, confidential creation/recovery, delegated certification and public
|
|
73
|
+
verification. The earlier read-only audit independently confirmed anonymous
|
|
74
|
+
public lookup and valid receipt mathematics, with production signer trust still
|
|
75
|
+
unapproved. These facts are separate from synthetic automated validation; no
|
|
76
|
+
additional live submission is part of this runner.
|
|
77
|
+
|
|
78
|
+
Original-code Apache licensing is authorised. No third-party permission blocker
|
|
79
|
+
was identified in the unbundled MCP archive. SDK notice corrections belong
|
|
80
|
+
upstream; excluded fixture/history permissions concern public GitHub only.
|
|
81
|
+
The designated private contact is security@nexart.io. Owner mailbox delivery/
|
|
82
|
+
monitoring tests and npm scope authority checks remain pre-publication actions,
|
|
83
|
+
not claims made by validation. The agent does not authenticate or publish.
|
|
84
|
+
Registry namespace authority is a separate later registration step. Public
|
|
85
|
+
GitHub visibility and Registry registration are not prerequisites for npm.
|
package/package.json
CHANGED
|
@@ -1,6 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexart/mcp-server",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"
|
|
5
|
-
"
|
|
6
|
-
|
|
3
|
+
"version": "0.1.0",
|
|
4
|
+
"mcpName": "io.github.artnames/nexart-mcp-server",
|
|
5
|
+
"publishConfig": {
|
|
6
|
+
"registry": "https://registry.npmjs.org/",
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"description": "NexArt verification, bounded lookup and opt-in AI V2 sealing and attestation over MCP stdio",
|
|
10
|
+
"license": "Apache-2.0",
|
|
11
|
+
"repository": {
|
|
12
|
+
"type": "git",
|
|
13
|
+
"url": "git+https://github.com/artnames/nexart-mcp-server.git"
|
|
14
|
+
},
|
|
15
|
+
"packageManager": "pnpm@10.26.1",
|
|
16
|
+
"type": "module",
|
|
17
|
+
"engines": { "node": ">=24.0.0 <25" },
|
|
18
|
+
"bin": {
|
|
19
|
+
"mcp-server": "./dist/stdio.js",
|
|
20
|
+
"nexart-mcp-server": "./dist/stdio.js",
|
|
21
|
+
"nexart-mcp-approve-public": "./dist/approve-public.js",
|
|
22
|
+
"nexart-create-confidential": "./dist/create-confidential.js",
|
|
23
|
+
"nexart-recover-confidential": "./dist/recover-confidential.js"
|
|
24
|
+
},
|
|
25
|
+
"files": [
|
|
26
|
+
"dist/**/*.js", "dist/**/*.d.ts", "docs", "server.json",
|
|
27
|
+
"THIRD_PARTY_NOTICES.md", "CHANGELOG.md", "SECURITY.md", "CONTRIBUTING.md",
|
|
28
|
+
"LICENSE", "NOTICE"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"build": "tsc -p tsconfig.json",
|
|
32
|
+
"typecheck": "tsc -p tsconfig.json --noEmit",
|
|
33
|
+
"start": "node dist/stdio.js",
|
|
34
|
+
"test": "node --test --test-concurrency=1 tests/*.test.mjs tests/validation/*.test.mjs",
|
|
35
|
+
"benchmark": "node tests/benchmark.mjs",
|
|
36
|
+
"evidence": "node tests/transport-evidence.mjs",
|
|
37
|
+
"check:clean-install": "node tests/release-validation.mjs",
|
|
38
|
+
"validate:release": "node tests/release-validation.mjs"
|
|
39
|
+
},
|
|
40
|
+
"dependencies": {
|
|
41
|
+
"@modelcontextprotocol/server": "2.4.0",
|
|
42
|
+
"@nexart/ai-execution": "1.4.0",
|
|
43
|
+
"@nexart/consequential-execution": "0.1.0",
|
|
44
|
+
"@nexart/governed-execution": "0.4.2",
|
|
45
|
+
"zod": "4.6.7"
|
|
46
|
+
},
|
|
47
|
+
"devDependencies": {
|
|
48
|
+
"@modelcontextprotocol/client": "2.4.0",
|
|
49
|
+
"@modelcontextprotocol/core": "2.4.0",
|
|
50
|
+
"@types/node": "25.3.3",
|
|
51
|
+
"typescript": "5.9.3"
|
|
52
|
+
}
|
|
53
|
+
}
|
package/server.json
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$schema": "https://static.modelcontextprotocol.io/schemas/2025-12-11/server.schema.json",
|
|
3
|
+
"name": "io.github.artnames/nexart-mcp-server",
|
|
4
|
+
"title": "NexArt MCP Server",
|
|
5
|
+
"description": "Verify NexArt evidence and opt in to confidential AI recording and authorised Node certification.",
|
|
6
|
+
"repository": {
|
|
7
|
+
"url": "https://github.com/artnames/nexart-mcp-server",
|
|
8
|
+
"source": "github"
|
|
9
|
+
},
|
|
10
|
+
"version": "0.1.0",
|
|
11
|
+
"packages": [
|
|
12
|
+
{
|
|
13
|
+
"registryType": "npm",
|
|
14
|
+
"registryBaseUrl": "https://registry.npmjs.org",
|
|
15
|
+
"identifier": "@nexart/mcp-server",
|
|
16
|
+
"version": "0.1.0",
|
|
17
|
+
"transport": { "type": "stdio" }
|
|
18
|
+
}
|
|
19
|
+
]
|
|
20
|
+
}
|