-
See Also
- DeleteObject
-
- Functions
- InstallMCPServer
- MCPServerObject
-
-
See Also
- DeleteObject
-
- Functions
- InstallMCPServer
- MCPServerObject
-
See Also
UninstallMCPServer["application"]
uninstalls all the MCP servers that have been installed for the specified application.
UninstallMCPServer[MCPServerObject[…]]
uninstalls the specified MCP server from any applications it has previously been installed for.
UninstallMCPServer["application",server]
uninstalls the specified MCP server from the specified application.
UninstallMCPServer[File[…],server]
uninstalls the specified MCP server from the given JSON configuration file.
UninstallMCPServer[{"application",directory},server]
uninstalls the MCP server for a project contained in directory.
uninstalls all previously installed MCP servers.
UninstallMCPServer
UninstallMCPServer["application"]
uninstalls all the MCP servers that have been installed for the specified application.
UninstallMCPServer[MCPServerObject[…]]
uninstalls the specified MCP server from any applications it has previously been installed for.
UninstallMCPServer["application",server]
uninstalls the specified MCP server from the specified application.
UninstallMCPServer[File[…],server]
uninstalls the specified MCP server from the given JSON configuration file.
UninstallMCPServer[{"application",directory},server]
uninstalls the MCP server for a project contained in directory.
uninstalls all previously installed MCP servers.
Details
- The value for server can be one of the following:
-
"name" the name of an existing MCPServerObject <|…|> an association corresponding to an LLMConfiguration LLMConfiguration[…] an LLMConfiguration MCPServerObject[…] an MCPServerObject - Some predefined MCP servers that can be specified by name are:
-
"WolframAlpha" an MCP server that is optimized for retrieving information from Wolfram|Alpha "WolframLanguage" an MCP server that is optimized for writing and evaluating Wolfram Language code "Wolfram" a blend of Wolfram|Alpha and Wolfram Language functionality - Additionally, any other MCP servers you have created with CreateMCPServer can be referenced by name.
- Some possible values for "application" are:
-
"ClaudeCode" Claude Code "ClaudeDesktop" Claude Desktop "Codex" Codex "CopilotCLI" GitHub Copilot CLI "Cursor" Cursor "GeminiCLI" Gemini CLI "OpenCode" OpenCode "VisualStudioCode" Visual Studio Code - UninstallMCPServer[{"application",directory},server] is used for applications that support directory-based projects, such as "ClaudeCode", and "OpenCode".
- UninstallMCPServer accepts the following options:
-
ApplicationName Automatic specify the application name when uninstalling from a file
Examples
open all close allNeeds["Wolfram`AgentTools`"]Basic Examples (2)
Install the default MCP server for Claude Desktop:
InstallMCPServer["ClaudeDesktop"]UninstallMCPServer["ClaudeDesktop"]Uninstall all previously installed MCP servers:
UninstallMCPServer[All]Options (1)
ApplicationName (1)
When using UninstallMCPServer[File[…],…], you'll need to specify the ApplicationName option if it's a non-standard configuration format:
file = File[FileNameJoin[{$TemporaryDirectory, CreateUUID[]}]]InstallMCPServer[file, "Wolfram", "ApplicationName" -> "OpenCode"]UninstallMCPServer[file, "Wolfram"]UninstallMCPServer[file, "Wolfram", "ApplicationName" -> "OpenCode"]DeleteFile[file]