You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: Specs/DeployAgentTools.md
+7-4Lines changed: 7 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -184,6 +184,7 @@ AgentToolsDeployment[ <|
184
184
"Timestamp" -> DateObject[ ... ],
185
185
"PacletVersion" -> "1.8.0",
186
186
"CreatedBy" -> "DeployAgentTools",
187
+
"Toolset" -> "WolframLanguage",
187
188
"MCP" -> <|
188
189
"ClientName" -> "ClaudeDesktop",
189
190
"Target" -> "ClaudeDesktop",
@@ -204,10 +205,11 @@ AgentToolsDeployment[ <|
204
205
|`"Timestamp"`|`DateObject` recording when the deployment was created. |
205
206
|`"PacletVersion"`| Paclet version string at the time of deployment. |
206
207
|`"CreatedBy"`| Always `"DeployAgentTools"`. |
208
+
|`"Toolset"`| Toolset name string (e.g. `"WolframLanguage"`). The canonical top-level name for the deployed MCP server. |
207
209
|`"MCP"`| MCP server component data. |
208
210
|`"MCP"/"ClientName"`| The canonical or inferred client name used for grouping and filtering (e.g. `"ClaudeDesktop"`). Falls back to `"Unknown"` when no client can be inferred. |
209
211
|`"MCP"/"Target"`| The normalized user-facing target: a canonical client name string (e.g. `"ClaudeDesktop"`), a `{name, dir}` pair for project-level deployments (e.g. `{"ClaudeCode", "/path/to/project"}`), or `File[...]` for direct file targets. |
210
-
|`"MCP"/"Server"`|Server name string (e.g. `"WolframLanguage"`). |
212
+
|`"MCP"/"Server"`|Legacy toolset name key. Retained for backward compatibility with deployments written before the `"Toolset"` rename; new deployments keep writing this alongside the top-level `"Toolset"`. |
211
213
|`"MCP"/"ConfigFile"`|`File[...]` pointing to the client's configuration file that was modified. This is the canonical identity used when checking for existing deployments. |
212
214
|`"MCP"/"Options"`| The `InstallMCPServer` options that were used, stored for use by `DeleteObject`. |
213
215
|`"Skills"`| Reserved for phase 2. Empty association in phase 1. |
@@ -230,7 +232,8 @@ dep["MCP", "Options"]
230
232
|`"UUID"`| UUID string |`data["UUID"]`|
231
233
|`"ClientName"`| Canonical or inferred client name string |`data["MCP", "ClientName"]`|
232
234
|`"Target"`| Client name string or `File`|`data["MCP", "Target"]`|
233
-
|`"Server"`| Server name string |`data["MCP", "Server"]`|
235
+
|`"Toolset"`| Toolset name string |`data["Toolset"]`, falling back to legacy `data["MCP", "Server"]`|
236
+
|`"Server"`| Legacy toolset name (alias for `"Toolset"`, retained for backward compatibility) |`data["MCP", "Server"]`|
1. Calls `UninstallMCPServer[dep["ConfigFile"], dep["Server"], <filtered options>]` using `FilterRules[dep["MCP", "Options"], Options[UninstallMCPServer]]` to pass only `UninstallMCPServer`-valid options (e.g. `"ApplicationName"`, `"MCPServerName"`). This is wrapped in `catchAlways` to tolerate cases where the config has already been manually modified or removed.
267
+
1. Calls `UninstallMCPServer[dep["ConfigFile"], dep["Toolset"], <filtered options>]` using `FilterRules[dep["MCP", "Options"], Options[UninstallMCPServer]]` to pass only `UninstallMCPServer`-valid options (e.g. `"ApplicationName"`, `"MCPServerName"`). This is wrapped in `catchAlways` to tolerate cases where the config has already been manually modified or removed.
265
268
2. Deletes the deployment directory: `DeleteDirectory[deploymentDirectory[dep["UUID"]], DeleteContents -> True]`.
266
269
3. Returns `Null`.
267
270
268
271
### Formatting
269
272
270
273
`MakeBoxes` is defined via an UpValue using ``BoxForm`ArrangeSummaryBox``:
0 commit comments