@corbits/mcp 0.1.0 → 0.2.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/README.md +156 -53
- package/dist/client.d.ts +23 -5
- package/dist/client.js +195 -60
- package/dist/hub/discover.d.ts +32 -7
- package/dist/hub/discover.js +91 -28
- package/dist/hub/index.d.ts +1 -1
- package/dist/hub/index.js +1 -1
- package/dist/index.d.ts +2 -1
- package/dist/index.js +1 -0
- package/dist/naming.d.ts +14 -0
- package/dist/naming.js +33 -0
- package/dist/oauth-discovery.d.ts +71 -0
- package/dist/oauth-discovery.js +322 -0
- package/dist/sidecar-bundle.d.ts +2 -0
- package/dist/sidecar-bundle.js +24 -20
- package/dist/test-server.d.ts +9 -0
- package/dist/test-server.js +92 -0
- package/dist/tool.d.ts +2 -0
- package/dist/tool.js +40 -8
- package/package.json +72 -44
package/package.json
CHANGED
|
@@ -1,21 +1,31 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@corbits/mcp",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.2.0",
|
|
4
4
|
"description": "MCP client tool package for Interchange: streamable HTTP, per-tool grants, OAuth.",
|
|
5
|
+
"keywords": [
|
|
6
|
+
"corbits",
|
|
7
|
+
"interchange",
|
|
8
|
+
"mcp",
|
|
9
|
+
"model-context-protocol",
|
|
10
|
+
"tools"
|
|
11
|
+
],
|
|
12
|
+
"homepage": "https://github.com/corbitsdev/corbits-mcp#readme",
|
|
13
|
+
"bugs": {
|
|
14
|
+
"url": "https://github.com/corbitsdev/corbits-mcp/issues"
|
|
15
|
+
},
|
|
5
16
|
"license": "LGPL-2.1-only",
|
|
6
17
|
"author": "Sawyer Cutler <sawyer@dirtroad.dev>",
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
18
|
+
"repository": {
|
|
19
|
+
"type": "git",
|
|
20
|
+
"url": "git+https://github.com/corbitsdev/corbits-mcp.git"
|
|
21
|
+
},
|
|
11
22
|
"files": [
|
|
12
23
|
"dist",
|
|
13
24
|
"README.md",
|
|
14
25
|
"LICENSE"
|
|
15
26
|
],
|
|
16
|
-
"
|
|
17
|
-
|
|
18
|
-
},
|
|
27
|
+
"type": "module",
|
|
28
|
+
"sideEffects": false,
|
|
19
29
|
"exports": {
|
|
20
30
|
".": {
|
|
21
31
|
"types": "./dist/index.d.ts",
|
|
@@ -30,59 +40,77 @@
|
|
|
30
40
|
"default": "./dist/hub/index.js"
|
|
31
41
|
}
|
|
32
42
|
},
|
|
33
|
-
"
|
|
34
|
-
"
|
|
35
|
-
{
|
|
36
|
-
"handle": "mcp-server",
|
|
37
|
-
"scopes": []
|
|
38
|
-
}
|
|
39
|
-
]
|
|
43
|
+
"publishConfig": {
|
|
44
|
+
"access": "public"
|
|
40
45
|
},
|
|
41
46
|
"scripts": {
|
|
42
|
-
"build": "tsc -p tsconfig.build.json",
|
|
47
|
+
"build": "rm -rf dist && tsc -p tsconfig.build.json",
|
|
43
48
|
"prepack": "bun run build",
|
|
44
49
|
"typecheck": "tsc --noEmit",
|
|
45
|
-
"lint": "
|
|
46
|
-
"format": "
|
|
47
|
-
"format:check": "
|
|
48
|
-
"test": "bun test",
|
|
50
|
+
"lint": "oxlint",
|
|
51
|
+
"format": "oxfmt",
|
|
52
|
+
"format:check": "oxfmt --check",
|
|
53
|
+
"test": "bun test src --pass-with-no-tests",
|
|
54
|
+
"test:e2e": "bun test e2e",
|
|
49
55
|
"check": "bun run typecheck && bun run lint && bun run format:check && bun run test"
|
|
50
56
|
},
|
|
51
|
-
"peerDependencies": {
|
|
52
|
-
"@corbits/credential-mcp": "^0.1.0",
|
|
53
|
-
"@intx/agent": ">=0.4.0"
|
|
54
|
-
},
|
|
55
57
|
"dependencies": {
|
|
56
|
-
"@
|
|
57
|
-
"@intx/hub-api": "^0.4.0",
|
|
58
|
+
"@corbits/oauth-core": "^0.2.0",
|
|
58
59
|
"@intx/types": "^0.4.0",
|
|
59
|
-
"arktype": "^2.2.3"
|
|
60
|
-
"drizzle-orm": "^0.45.2",
|
|
61
|
-
"hono": "^4.11.9"
|
|
60
|
+
"arktype": "^2.2.3"
|
|
62
61
|
},
|
|
63
62
|
"devDependencies": {
|
|
64
|
-
"@corbits/credential-
|
|
65
|
-
"@eslint/js": "9.34.0",
|
|
63
|
+
"@corbits/credential-http": "0.1.0",
|
|
66
64
|
"@intx/agent": "0.4.0",
|
|
67
65
|
"@intx/authz": "0.4.0",
|
|
66
|
+
"@intx/db": "0.4.0",
|
|
68
67
|
"@intx/harness": "0.4.0",
|
|
69
|
-
"@intx/
|
|
68
|
+
"@intx/hub-api": "0.4.0",
|
|
69
|
+
"@modelcontextprotocol/sdk": "1.30.1",
|
|
70
70
|
"@types/bun": "1.3.9",
|
|
71
|
-
"
|
|
72
|
-
"
|
|
73
|
-
"
|
|
71
|
+
"drizzle-orm": "0.45.3",
|
|
72
|
+
"hono": "4.13.9",
|
|
73
|
+
"oxfmt": "0.70.0",
|
|
74
|
+
"oxlint": "1.85.0",
|
|
74
75
|
"typescript": "5.9.3",
|
|
75
|
-
"
|
|
76
|
+
"zod": "4.6.5"
|
|
76
77
|
},
|
|
77
|
-
"
|
|
78
|
-
"
|
|
78
|
+
"peerDependencies": {
|
|
79
|
+
"@corbits/credential-http": "^0.1.0",
|
|
80
|
+
"@intx/agent": "^0.4.0",
|
|
81
|
+
"@intx/db": "^0.4.0",
|
|
82
|
+
"@intx/harness": "^0.4.0",
|
|
83
|
+
"@intx/hub-api": "^0.4.0",
|
|
84
|
+
"drizzle-orm": "^0.45.2",
|
|
85
|
+
"hono": "^4.11.9"
|
|
79
86
|
},
|
|
80
|
-
"
|
|
81
|
-
"
|
|
82
|
-
|
|
87
|
+
"peerDependenciesMeta": {
|
|
88
|
+
"@corbits/credential-http": {
|
|
89
|
+
"optional": true
|
|
90
|
+
},
|
|
91
|
+
"@intx/db": {
|
|
92
|
+
"optional": true
|
|
93
|
+
},
|
|
94
|
+
"@intx/hub-api": {
|
|
95
|
+
"optional": true
|
|
96
|
+
},
|
|
97
|
+
"drizzle-orm": {
|
|
98
|
+
"optional": true
|
|
99
|
+
},
|
|
100
|
+
"hono": {
|
|
101
|
+
"optional": true
|
|
102
|
+
}
|
|
83
103
|
},
|
|
84
|
-
"
|
|
85
|
-
|
|
86
|
-
"
|
|
104
|
+
"engines": {
|
|
105
|
+
"bun": ">=1.2.0",
|
|
106
|
+
"node": ">=24"
|
|
107
|
+
},
|
|
108
|
+
"interchange": {
|
|
109
|
+
"credentials": [
|
|
110
|
+
{
|
|
111
|
+
"handle": "mcp-server",
|
|
112
|
+
"scopes": []
|
|
113
|
+
}
|
|
114
|
+
]
|
|
87
115
|
}
|
|
88
116
|
}
|