@wuyax/mcps 0.1.0-beta.2 → 0.1.0-beta.3
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 +235 -19
- package/dist/{chunk-7V5XL4RI.js → chunk-BUKA3NPJ.js} +981 -280
- package/dist/cli.cjs +975 -352
- package/dist/cli.js +6 -7
- package/dist/index.cjs +1007 -308
- package/dist/index.d.cts +186 -23
- package/dist/index.d.ts +186 -23
- package/dist/index.js +34 -3
- package/package.json +3 -1
package/dist/index.js
CHANGED
|
@@ -3,16 +3,22 @@ import {
|
|
|
3
3
|
DEFAULT_REMOTE_TRANSPORT,
|
|
4
4
|
NPX_COMMAND,
|
|
5
5
|
NPX_DASH_Y,
|
|
6
|
+
SECRET_HEADER_PATTERN,
|
|
7
|
+
SECRET_KEY_PATTERN,
|
|
6
8
|
agentConfigStore,
|
|
9
|
+
buildLinkedAgentChoices,
|
|
7
10
|
buildMcpServerConfig,
|
|
8
11
|
createAgentTransform,
|
|
9
12
|
detectGloballyInstalledMcpAgents,
|
|
10
13
|
detectProjectInstalledMcpAgents,
|
|
14
|
+
detectUpdateTransition,
|
|
11
15
|
displayServerDetails,
|
|
12
16
|
extractPackageName,
|
|
13
17
|
formatArgsString,
|
|
14
18
|
formatEnvText,
|
|
15
19
|
formatHeadersText,
|
|
20
|
+
getCandidateAgentsForScope,
|
|
21
|
+
getCoHostedAgents,
|
|
16
22
|
getMcpAgentConfig,
|
|
17
23
|
getMcpAgentTypes,
|
|
18
24
|
getMcpAgentsSupportingProjectScope,
|
|
@@ -20,11 +26,13 @@ import {
|
|
|
20
26
|
installMcpServer,
|
|
21
27
|
installMcpServerForAgent,
|
|
22
28
|
installMcpServerForAgents,
|
|
29
|
+
installToCompatibleAgents,
|
|
23
30
|
isMcpAgentType,
|
|
24
31
|
isMcpTransportSupported,
|
|
25
32
|
isRemoteMcpSource,
|
|
26
33
|
isRemoteServerConfig,
|
|
27
34
|
isStdioServerConfig,
|
|
35
|
+
linkedCheckbox,
|
|
28
36
|
listInstalledMcpServers,
|
|
29
37
|
listServersInConfigFile,
|
|
30
38
|
mainMenu,
|
|
@@ -48,36 +56,50 @@ import {
|
|
|
48
56
|
promptHeadersConfig,
|
|
49
57
|
promptScope,
|
|
50
58
|
promptScopeAndAgents,
|
|
59
|
+
promptSwitchServerType,
|
|
51
60
|
readConfigFile,
|
|
52
61
|
removeMcpServer,
|
|
53
62
|
removeMcpServerFromAgent,
|
|
54
63
|
removeServerFromConfigFile,
|
|
64
|
+
resolveConfigClusters,
|
|
55
65
|
resolveMcpAgentAlias,
|
|
56
66
|
resolveMcpConfigTarget,
|
|
57
67
|
resolveTargetAgents,
|
|
68
|
+
resolveTransport,
|
|
69
|
+
sanitizeUpdatedServerConfig,
|
|
70
|
+
sortAgentsWithClusters,
|
|
71
|
+
toRemoteServerConfig,
|
|
72
|
+
toStdioServerConfig,
|
|
58
73
|
transformServerConfig,
|
|
59
74
|
transformServerConfigForAgent,
|
|
75
|
+
updateMcpServer,
|
|
60
76
|
wizardAdd,
|
|
61
77
|
wizardManage,
|
|
62
78
|
wizardRemove,
|
|
63
79
|
writeServerToConfigFile
|
|
64
|
-
} from "./chunk-
|
|
80
|
+
} from "./chunk-BUKA3NPJ.js";
|
|
65
81
|
export {
|
|
66
82
|
AgentConfigStore,
|
|
67
83
|
DEFAULT_REMOTE_TRANSPORT,
|
|
68
84
|
NPX_COMMAND,
|
|
69
85
|
NPX_DASH_Y,
|
|
86
|
+
SECRET_HEADER_PATTERN,
|
|
87
|
+
SECRET_KEY_PATTERN,
|
|
70
88
|
installMcpServer as add,
|
|
71
89
|
agentConfigStore,
|
|
90
|
+
buildLinkedAgentChoices,
|
|
72
91
|
buildMcpServerConfig,
|
|
73
92
|
createAgentTransform,
|
|
74
93
|
detectGloballyInstalledMcpAgents,
|
|
75
94
|
detectProjectInstalledMcpAgents,
|
|
95
|
+
detectUpdateTransition,
|
|
76
96
|
displayServerDetails,
|
|
77
97
|
extractPackageName,
|
|
78
98
|
formatArgsString,
|
|
79
99
|
formatEnvText,
|
|
80
100
|
formatHeadersText,
|
|
101
|
+
getCandidateAgentsForScope,
|
|
102
|
+
getCoHostedAgents,
|
|
81
103
|
getMcpAgentConfig,
|
|
82
104
|
getMcpAgentTypes,
|
|
83
105
|
getMcpAgentsSupportingProjectScope,
|
|
@@ -86,11 +108,13 @@ export {
|
|
|
86
108
|
installMcpServer,
|
|
87
109
|
installMcpServerForAgent,
|
|
88
110
|
installMcpServerForAgents,
|
|
111
|
+
installToCompatibleAgents,
|
|
89
112
|
isMcpAgentType,
|
|
90
113
|
isMcpTransportSupported,
|
|
91
114
|
isRemoteMcpSource,
|
|
92
115
|
isRemoteServerConfig,
|
|
93
116
|
isStdioServerConfig,
|
|
117
|
+
linkedCheckbox,
|
|
94
118
|
listInstalledMcpServers as list,
|
|
95
119
|
listInstalledMcpServers,
|
|
96
120
|
listServersInConfigFile,
|
|
@@ -116,18 +140,25 @@ export {
|
|
|
116
140
|
promptHeadersConfig,
|
|
117
141
|
promptScope,
|
|
118
142
|
promptScopeAndAgents,
|
|
143
|
+
promptSwitchServerType,
|
|
119
144
|
readConfigFile,
|
|
120
145
|
removeMcpServer as remove,
|
|
121
146
|
removeMcpServer,
|
|
122
147
|
removeMcpServerFromAgent,
|
|
123
148
|
removeServerFromConfigFile,
|
|
149
|
+
resolveConfigClusters,
|
|
124
150
|
resolveMcpAgentAlias,
|
|
125
151
|
resolveMcpConfigTarget,
|
|
126
152
|
resolveTargetAgents,
|
|
153
|
+
resolveTransport,
|
|
154
|
+
sanitizeUpdatedServerConfig,
|
|
155
|
+
sortAgentsWithClusters,
|
|
156
|
+
toRemoteServerConfig,
|
|
157
|
+
toStdioServerConfig,
|
|
127
158
|
transformServerConfig,
|
|
128
159
|
transformServerConfigForAgent,
|
|
129
|
-
|
|
130
|
-
|
|
160
|
+
updateMcpServer as update,
|
|
161
|
+
updateMcpServer,
|
|
131
162
|
wizardAdd,
|
|
132
163
|
wizardManage,
|
|
133
164
|
wizardRemove,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@wuyax/mcps",
|
|
3
|
-
"version": "0.1.0-beta.
|
|
3
|
+
"version": "0.1.0-beta.3",
|
|
4
4
|
"description": "Cross-platform MCP (Model Context Protocol) server installer and manager for AI coding agents",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dist/index.js",
|
|
@@ -29,7 +29,9 @@
|
|
|
29
29
|
},
|
|
30
30
|
"dependencies": {
|
|
31
31
|
"@iarna/toml": "^2.2.5",
|
|
32
|
+
"@inquirer/core": "^12.0.3",
|
|
32
33
|
"@inquirer/prompts": "^8.7.1",
|
|
34
|
+
"@inquirer/type": "^4.1.1",
|
|
33
35
|
"commander": "^14.0.0",
|
|
34
36
|
"jsonc-parser": "^3.3.1",
|
|
35
37
|
"picocolors": "^1.1.1",
|