@nodatachat/mcp 0.9.0 → 1.0.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/package.json CHANGED
@@ -1,23 +1,24 @@
1
1
  {
2
2
  "name": "@nodatachat/mcp",
3
- "version": "0.9.0",
4
- "description": "NoData MCP Server — scan a folder for exposure (locally, nothing uploads) + govern data AND code for AI agents: decide (may I?) + retrieve (authorized context) + read + secret-blind invoke + blind code advise/patch (fix code without exposure), plus admin governance/encrypt/decrypt/deliver",
3
+ "version": "1.0.0",
4
+ "description": "NoData MCP server: connect any MCP client (Claude Code, Codex, Cursor, VS Code) to the NoData Information Access Processor. Governed access for AI agents, with a verifiable proof for every decision.",
5
5
  "bin": {
6
6
  "nodata-mcp": "dist/index.js"
7
7
  },
8
8
  "type": "module",
9
9
  "scripts": {
10
- "build": "tsc",
10
+ "build": "tsc --noEmit && node build.mjs",
11
11
  "dev": "tsx src/index.ts",
12
12
  "prepublishOnly": "npm run build"
13
13
  },
14
14
  "dependencies": {
15
15
  "@modelcontextprotocol/sdk": "^1.29.0",
16
- "@nodatachat/folder-scan": "^1.0.0",
17
16
  "zod": "^4.0.0"
18
17
  },
19
18
  "devDependencies": {
19
+ "@nodatachat/folder-scan": "^1.0.0",
20
20
  "@types/node": "^22.0.0",
21
+ "esbuild": "^0.27.4",
21
22
  "tsx": "^4.0.0",
22
23
  "typescript": "^5.7.0"
23
24
  },
@@ -25,20 +26,24 @@
25
26
  "node": ">=18.0.0"
26
27
  },
27
28
  "files": [
28
- "dist"
29
+ "dist",
30
+ "README.md",
31
+ "LICENSE.md"
29
32
  ],
30
33
  "publishConfig": {
31
34
  "access": "public"
32
35
  },
33
36
  "homepage": "https://www.nodatacapsule.com/developers",
34
37
  "keywords": [
38
+ "nodata",
35
39
  "mcp",
36
40
  "model-context-protocol",
41
+ "information-access-processor",
37
42
  "ai-agents",
38
- "data-governance",
39
- "code-capsule",
40
- "nodata",
41
- "access-control"
43
+ "access-control",
44
+ "governance",
45
+ "receipts"
42
46
  ],
43
- "license": "MIT"
47
+ "license": "FSL-1.1-ALv2",
48
+ "author": "Capsule Ltd."
44
49
  }
package/dist/index.d.ts DELETED
@@ -1,31 +0,0 @@
1
- #!/usr/bin/env node
2
- /**
3
- * NoData MCP Server
4
- *
5
- * Two modes — the credential you give it decides what it can do:
6
- *
7
- * ADMIN MODE (--api-key sk_live_...)
8
- * Manage governance + blind-relay from inside any MCP client:
9
- * nodata_register_table · nodata_grant · nodata_revoke
10
- * nodata_encrypt · nodata_decrypt · nodata_deliver · nodata_evidence
11
- *
12
- * AGENT MODE (--grant-token ndca-...)
13
- * This is the "permission management for language models" artifact.
14
- * You hand an AI agent a grant token; this server then exposes tools
15
- * scoped to exactly that grant:
16
- * nodata_decide — ask "may I reach this?" and get a decision + proof,
17
- * never any data (plan before you read).
18
- * nodata_retrieve — get prompt-ready context filtered to what you may
19
- * see, with an accounting of what was withheld.
20
- * nodata_read — read governed data (denied columns never decrypt).
21
- * nodata_use — invoke a secret-blind capability: the Capsule injects
22
- * the sealed credential server-side and returns only the
23
- * result; the agent never receives the secret.
24
- * Every decide/retrieve/read/invoke emits a receipt. Point any MCP client
25
- * (Claude, an agent runtime) at it: it physically cannot exceed its grant.
26
- *
27
- * Usage:
28
- * nodata-mcp --api-key sk_live_xxx
29
- * nodata-mcp --grant-token ndca-xxx [--base-url https://www.nodatacapsule.com]
30
- */
31
- export {};