Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions AgentSkills/References/SetUpWolframMCPServer.md
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Replace `<ClientName>` with one of the supported clients:
| Junie | `"Junie"` |
| LM Studio | `"LMStudio"` |
| OpenCode | `"OpenCode"` |
| Qwen Code | `"QwenCode"` |
| VS Code | `"VisualStudioCode"` |
| Windsurf | `"Windsurf"` |
| Zed | `"Zed"` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Replace `<ClientName>` with one of the supported clients:
| Junie | `"Junie"` |
| LM Studio | `"LMStudio"` |
| OpenCode | `"OpenCode"` |
| Qwen Code | `"QwenCode"` |
| VS Code | `"VisualStudioCode"` |
| Windsurf | `"Windsurf"` |
| Zed | `"Zed"` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Replace `<ClientName>` with one of the supported clients:
| Junie | `"Junie"` |
| LM Studio | `"LMStudio"` |
| OpenCode | `"OpenCode"` |
| Qwen Code | `"QwenCode"` |
| VS Code | `"VisualStudioCode"` |
| Windsurf | `"Windsurf"` |
| Zed | `"Zed"` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Replace `<ClientName>` with one of the supported clients:
| Junie | `"Junie"` |
| LM Studio | `"LMStudio"` |
| OpenCode | `"OpenCode"` |
| Qwen Code | `"QwenCode"` |
| VS Code | `"VisualStudioCode"` |
| Windsurf | `"Windsurf"` |
| Zed | `"Zed"` |
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ Replace `<ClientName>` with one of the supported clients:
| Junie | `"Junie"` |
| LM Studio | `"LMStudio"` |
| OpenCode | `"OpenCode"` |
| Qwen Code | `"QwenCode"` |
| VS Code | `"VisualStudioCode"` |
| Windsurf | `"Windsurf"` |
| Zed | `"Zed"` |
Expand Down
1 change: 1 addition & 0 deletions Kernel/InstallMCPServer.wl
Original file line number Diff line number Diff line change
Expand Up @@ -633,6 +633,7 @@ guessClientName[ file_? fileQ ] := Enclose[
{ __, ".amazonq", "mcp.json" }, Throw[ "AmazonQ" ],
{ __, ".aws", "amazonq", "mcp.json" }, Throw[ "AmazonQ" ],
{ __, ".junie", "mcp", "mcp.json" }, Throw[ "Junie" ],
{ __, ".qwen", "settings.json" }, Throw[ "QwenCode" ],
{ __, ".continue", "config.yaml" }, Throw[ "Continue" ],
{ __, ".continue", "mcpservers", _ }, Throw[ "Continue" ],
{ __, ".lmstudio", "mcp.json" }, Throw[ "LMStudio" ],
Expand Down
10 changes: 10 additions & 0 deletions Kernel/SupportedClients.wl
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,16 @@ $supportedMCPClients = <|
"ProjectPath" -> { "opencode.json" },
"InstallLocation" :> { $HomeDirectory, ".config", "opencode", "opencode.json" }
|>,
"QwenCode" -> <|
"DisplayName" -> "Qwen Code",
"DefaultToolset" -> "WolframLanguage",
"Aliases" -> { "Qwen" },
"ConfigFormat" -> "JSON",
"ConfigKey" -> { "mcpServers" },
Comment on lines +215 to +220
"URL" -> "https://github.com/QwenLM/qwen-code",
"ProjectPath" -> { ".qwen", "settings.json" },
"InstallLocation" :> { $HomeDirectory, ".qwen", "settings.json" }
|>,
"VisualStudioCode" -> <|
"DisplayName" -> "Visual Studio Code",
"DefaultToolset" -> "WolframLanguage",
Expand Down
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,7 @@ AgentTools can be installed into the following MCP client applications:
| [LM Studio](https://lmstudio.ai) | `"LMStudio"` | No |
| [OpenAI Codex](https://openai.com/codex) | `"Codex"` | Yes |
| [OpenCode](https://opencode.ai) | `"OpenCode"` | Yes |
| [Qwen Code](https://github.com/QwenLM/qwen-code) | `"QwenCode"` | Yes |
| [Visual Studio Code](https://code.visualstudio.com) | `"VisualStudioCode"` | Yes |
| [Windsurf](https://codeium.com/windsurf) | `"Windsurf"` | No |
| [Zed](https://zed.dev) | `"Zed"` | Yes |
Expand Down
6 changes: 3 additions & 3 deletions Tests/InstallMCPServer.wlt
Original file line number Diff line number Diff line change
Expand Up @@ -3838,14 +3838,14 @@ VerificationTest[

VerificationTest[
Length @ $SupportedMCPClients,
20,
21,
SameTest -> Equal,
TestID -> "SupportedMCPClients-Has20Clients@@Tests/InstallMCPServer.wlt:3839,1-3844,2"
TestID -> "SupportedMCPClients-Has21Clients@@Tests/InstallMCPServer.wlt:3839,1-3844,2"
]

VerificationTest[
Keys @ $SupportedMCPClients,
{ "AmazonQ", "Antigravity", "AugmentCode", "AugmentCodeIDE", "ClaudeCode", "ClaudeDesktop", "Cline", "Codex", "Continue", "CopilotCLI", "Cursor", "GeminiCLI", "Goose", "Junie", "Kiro", "LMStudio", "OpenCode", "VisualStudioCode", "Windsurf", "Zed" },
{ "AmazonQ", "Antigravity", "AugmentCode", "AugmentCodeIDE", "ClaudeCode", "ClaudeDesktop", "Cline", "Codex", "Continue", "CopilotCLI", "Cursor", "GeminiCLI", "Goose", "Junie", "Kiro", "LMStudio", "OpenCode", "QwenCode", "VisualStudioCode", "Windsurf", "Zed" },
SameTest -> Equal,
TestID -> "SupportedMCPClients-KeysSorted@@Tests/InstallMCPServer.wlt:3846,1-3851,2"
]
Expand Down
14 changes: 14 additions & 0 deletions docs/mcp-clients.md
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ The following clients have built-in support for automatic configuration via `Ins
| LM Studio | `"LMStudio"` | — | JSON | No | `"Wolfram"` |
| Codex CLI | `"Codex"` | `"OpenAICodex"` | TOML | Yes | `"WolframLanguage"` |
| OpenCode | `"OpenCode"` | — | JSON | Yes | `"WolframLanguage"` |
| Qwen Code | `"QwenCode"` | `"Qwen"` | JSON | Yes | `"WolframLanguage"` |
| Visual Studio Code | `"VisualStudioCode"` | `"VSCode"` | JSON | Yes | `"WolframLanguage"` |
| Windsurf | `"Windsurf"` | `"Codeium"` | JSON | No | `"WolframLanguage"` |
| Zed | `"Zed"` | — | JSON | Yes | `"WolframLanguage"` |
Expand Down Expand Up @@ -262,6 +263,19 @@ Note: Copilot CLI requires the `tools` field to specify which tools to enable. `

**Format:** Same as Claude Desktop (`mcpServers` key).

### Qwen Code

Qwen Code is Alibaba's terminal coding agent, forked from Gemini CLI. It reads MCP servers from the `mcpServers` key of its `settings.json`, at both user and project scope.

| Scope | Config Location |
|-------|----------------|
| Global | `~/.qwen/settings.json` |
| Project | `.qwen/settings.json` (in project root) |

**Format:** Same as Claude Desktop (`mcpServers` key).

Note: Qwen Code shares Gemini CLI's config structure but, unlike Gemini CLI, also supports a project-scope `.qwen/settings.json`, so `InstallMCPServer[{"QwenCode", "/path/to/project"}]` installs a server for just that project. Qwen Code auto-migrates older `settings.json` layouts, but `mcpServers` remains a root-level key.

### Antigravity (IDE, desktop app, and CLI)

A **single** `"Antigravity"` client entry covers the Antigravity IDE, the Antigravity 2.0 desktop app, and the Antigravity CLI (the terminal agent that replaces Gemini CLI for free / consumer tiers on **June 18, 2026**). `"AntigravityCLI"`, `"GoogleAntigravity"`, and `"GoogleAntigravityCLI"` are **aliases** of this entry — not separate clients. They share one global config file, so a single entry is required: two entries pointing at the same file would let `DeployAgentTools` create two deployments for one file and let `DeleteObject[AgentToolsDeployment[...]]` corrupt shared state.
Expand Down
24 changes: 24 additions & 0 deletions docs/quickstart-coding.md
Original file line number Diff line number Diff line change
Expand Up @@ -198,6 +198,30 @@ opencode mcp list

The output should indicate that the "WolframLanguage" server is connected.

### Qwen Code

Choose whether to install the server globally or project-level. Global installation is available in all projects, while project-level installation writes `.qwen/settings.json` in the project root.

Global installation:

```wl
InstallMCPServer["QwenCode", "WolframLanguage"]
```

Project-level installation:

```wl
InstallMCPServer[{"QwenCode", "/path/to/project"}, "WolframLanguage"]
```

To verify the installation from the command line:

```shell
qwen mcp list
```

The output should indicate that the "WolframLanguage" server is configured.

### Visual Studio Code

Choose whether to install the server globally or project-level. Global installation is available in all projects, while project-level installation is available only in a specific project directory.
Expand Down