dynmcp 0.4.0 → 0.4.1
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 +29 -195
- package/dist/index.cjs +4 -6
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -6
- package/dist/index.js.map +1 -1
- package/package.json +3 -5
- package/schema/mcp-config.json +0 -138
package/package.json
CHANGED
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "dynmcp",
|
|
3
|
-
"version": "0.4.
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"description": "Dynamic MCP context management tool for AI MCP-enabled agents and clients.",
|
|
5
5
|
"author": "Brandon Burrus <brandon@burrus.io>",
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"type": "module",
|
|
8
|
-
"homepage": "https://
|
|
8
|
+
"homepage": "https://dynamicmcp.tools",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"mcp",
|
|
11
11
|
"model-context-protocol",
|
|
@@ -45,12 +45,10 @@
|
|
|
45
45
|
}
|
|
46
46
|
},
|
|
47
47
|
"files": [
|
|
48
|
-
"dist"
|
|
49
|
-
"schema"
|
|
48
|
+
"dist"
|
|
50
49
|
],
|
|
51
50
|
"scripts": {
|
|
52
51
|
"generate:schema": "tsx scripts/generate-schema.ts",
|
|
53
|
-
"prebuild": "tsx scripts/generate-schema.ts",
|
|
54
52
|
"build": "tsup",
|
|
55
53
|
"dev": "tsx src/index.ts",
|
|
56
54
|
"typecheck": "tsc --noEmit",
|
package/schema/mcp-config.json
DELETED
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
{
|
|
2
|
-
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
3
|
-
"$id": "https://unpkg.com/dynmcp/schema/mcp-config.json",
|
|
4
|
-
"title": "dynmcp config",
|
|
5
|
-
"description": "Configuration file for dynmcp. Declares the set of upstream MCPs to proxy through dynamic-discovery-mcp.",
|
|
6
|
-
"type": "object",
|
|
7
|
-
"properties": {
|
|
8
|
-
"env": {
|
|
9
|
-
"type": "string",
|
|
10
|
-
"enum": [
|
|
11
|
-
"enable",
|
|
12
|
-
"dotenv",
|
|
13
|
-
"process",
|
|
14
|
-
"disable"
|
|
15
|
-
],
|
|
16
|
-
"description": "Controls environment variable interpolation in config values. \"enable\" (default) merges .env and process.env (.env wins). \"dotenv\" loads .env only. \"process\" uses process.env only. \"disable\" turns interpolation off."
|
|
17
|
-
},
|
|
18
|
-
"mcp": {
|
|
19
|
-
"type": "object",
|
|
20
|
-
"propertyNames": {
|
|
21
|
-
"type": "string",
|
|
22
|
-
"pattern": "^[a-z0-9][a-z0-9-]*$"
|
|
23
|
-
},
|
|
24
|
-
"additionalProperties": {
|
|
25
|
-
"oneOf": [
|
|
26
|
-
{
|
|
27
|
-
"type": "object",
|
|
28
|
-
"properties": {
|
|
29
|
-
"transport": {
|
|
30
|
-
"type": "string",
|
|
31
|
-
"const": "stdio"
|
|
32
|
-
},
|
|
33
|
-
"description": {
|
|
34
|
-
"type": "string",
|
|
35
|
-
"minLength": 1
|
|
36
|
-
},
|
|
37
|
-
"command": {
|
|
38
|
-
"type": "string"
|
|
39
|
-
},
|
|
40
|
-
"args": {
|
|
41
|
-
"type": "array",
|
|
42
|
-
"items": {
|
|
43
|
-
"type": "string"
|
|
44
|
-
}
|
|
45
|
-
},
|
|
46
|
-
"env": {
|
|
47
|
-
"type": "object",
|
|
48
|
-
"propertyNames": {
|
|
49
|
-
"type": "string"
|
|
50
|
-
},
|
|
51
|
-
"additionalProperties": {
|
|
52
|
-
"type": "string"
|
|
53
|
-
}
|
|
54
|
-
}
|
|
55
|
-
},
|
|
56
|
-
"required": [
|
|
57
|
-
"transport",
|
|
58
|
-
"command"
|
|
59
|
-
],
|
|
60
|
-
"additionalProperties": false
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
"type": "object",
|
|
64
|
-
"properties": {
|
|
65
|
-
"transport": {
|
|
66
|
-
"type": "string",
|
|
67
|
-
"const": "streamable-http"
|
|
68
|
-
},
|
|
69
|
-
"description": {
|
|
70
|
-
"type": "string",
|
|
71
|
-
"minLength": 1
|
|
72
|
-
},
|
|
73
|
-
"url": {
|
|
74
|
-
"type": "string",
|
|
75
|
-
"format": "uri"
|
|
76
|
-
},
|
|
77
|
-
"headers": {
|
|
78
|
-
"type": "object",
|
|
79
|
-
"propertyNames": {
|
|
80
|
-
"type": "string"
|
|
81
|
-
},
|
|
82
|
-
"additionalProperties": {
|
|
83
|
-
"type": "string"
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
},
|
|
87
|
-
"required": [
|
|
88
|
-
"transport",
|
|
89
|
-
"url"
|
|
90
|
-
],
|
|
91
|
-
"additionalProperties": false
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
"type": "object",
|
|
95
|
-
"properties": {
|
|
96
|
-
"transport": {
|
|
97
|
-
"type": "string",
|
|
98
|
-
"const": "sse"
|
|
99
|
-
},
|
|
100
|
-
"description": {
|
|
101
|
-
"type": "string",
|
|
102
|
-
"minLength": 1
|
|
103
|
-
},
|
|
104
|
-
"url": {
|
|
105
|
-
"type": "string",
|
|
106
|
-
"format": "uri"
|
|
107
|
-
},
|
|
108
|
-
"headers": {
|
|
109
|
-
"type": "object",
|
|
110
|
-
"propertyNames": {
|
|
111
|
-
"type": "string"
|
|
112
|
-
},
|
|
113
|
-
"additionalProperties": {
|
|
114
|
-
"type": "string"
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
},
|
|
118
|
-
"required": [
|
|
119
|
-
"transport",
|
|
120
|
-
"url"
|
|
121
|
-
],
|
|
122
|
-
"additionalProperties": false
|
|
123
|
-
}
|
|
124
|
-
]
|
|
125
|
-
},
|
|
126
|
-
"minProperties": 1,
|
|
127
|
-
"description": "Map of upstream MCPs to proxy, keyed by MCP name. Each name becomes the namespace prefix for that MCP's tools."
|
|
128
|
-
},
|
|
129
|
-
"$schema": {
|
|
130
|
-
"type": "string",
|
|
131
|
-
"description": "URL of the JSON Schema for editor validation."
|
|
132
|
-
}
|
|
133
|
-
},
|
|
134
|
-
"required": [
|
|
135
|
-
"mcp"
|
|
136
|
-
],
|
|
137
|
-
"additionalProperties": false
|
|
138
|
-
}
|