@nodatachat/mcp 0.8.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/LICENSE.md +105 -0
- package/README.md +17 -7
- package/dist/index.js +107 -842
- package/package.json +15 -9
- package/dist/index.d.ts +0 -31
package/package.json
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nodatachat/mcp",
|
|
3
|
-
"version": "0.
|
|
4
|
-
"description": "NoData MCP
|
|
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
|
},
|
|
@@ -16,7 +16,9 @@
|
|
|
16
16
|
"zod": "^4.0.0"
|
|
17
17
|
},
|
|
18
18
|
"devDependencies": {
|
|
19
|
+
"@nodatachat/folder-scan": "^1.0.0",
|
|
19
20
|
"@types/node": "^22.0.0",
|
|
21
|
+
"esbuild": "^0.27.4",
|
|
20
22
|
"tsx": "^4.0.0",
|
|
21
23
|
"typescript": "^5.7.0"
|
|
22
24
|
},
|
|
@@ -24,20 +26,24 @@
|
|
|
24
26
|
"node": ">=18.0.0"
|
|
25
27
|
},
|
|
26
28
|
"files": [
|
|
27
|
-
"dist"
|
|
29
|
+
"dist",
|
|
30
|
+
"README.md",
|
|
31
|
+
"LICENSE.md"
|
|
28
32
|
],
|
|
29
33
|
"publishConfig": {
|
|
30
34
|
"access": "public"
|
|
31
35
|
},
|
|
32
36
|
"homepage": "https://www.nodatacapsule.com/developers",
|
|
33
37
|
"keywords": [
|
|
38
|
+
"nodata",
|
|
34
39
|
"mcp",
|
|
35
40
|
"model-context-protocol",
|
|
41
|
+
"information-access-processor",
|
|
36
42
|
"ai-agents",
|
|
37
|
-
"
|
|
38
|
-
"
|
|
39
|
-
"
|
|
40
|
-
"access-control"
|
|
43
|
+
"access-control",
|
|
44
|
+
"governance",
|
|
45
|
+
"receipts"
|
|
41
46
|
],
|
|
42
|
-
"license": "
|
|
47
|
+
"license": "FSL-1.1-ALv2",
|
|
48
|
+
"author": "Capsule Ltd."
|
|
43
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 {};
|