Skip to content

Added MCP support to Qwen Code.#216

Merged
rhennigan merged 3 commits into
WolframResearch:mainfrom
lumeng:qwen-code-mcp-support
Jul 13, 2026
Merged

Added MCP support to Qwen Code.#216
rhennigan merged 3 commits into
WolframResearch:mainfrom
lumeng:qwen-code-mcp-support

Conversation

@lumeng

@lumeng lumeng commented Jul 10, 2026

Copy link
Copy Markdown
Contributor

I tried AgentTools/Wolfram MCP with Qwen Code. It works pretty well. I added relevant lines for installing Wolfram MCP to Qwen Code:

Quit

With[
 {dir = FileNameJoin[{"/absolute/path/to/", "AgentTools"}]},
 PacletDirectoryUnload[dir];
 PacletDataRebuild[];
 PacletDirectoryLoad[dir]
 ]

Needs["Wolfram`AgentTools`"]

InstallMCPServer["QwenCode"]

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Adds first-class InstallMCPServer support for the Qwen Code terminal agent by registering it as a supported MCP client and documenting global/project install flows across the repo docs and skill reference materials.

Changes:

  • Register "QwenCode" in $SupportedMCPClients, including project-level config support via .qwen/settings.json.
  • Extend client auto-detection (guessClientName) to recognize .qwen/settings.json.
  • Document Qwen Code setup and include it in client lists/reference docs.

Reviewed changes

Copilot reviewed 10 out of 10 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
README.md Adds Qwen Code to the high-level supported clients table.
Kernel/SupportedClients.wl Adds the "QwenCode" client metadata (config format/key, paths, alias, URL).
Kernel/InstallMCPServer.wl Adds .qwen/settings.json path heuristic for client-name auto-detection.
docs/quickstart-coding.md Documents global vs project installation commands and verification for Qwen Code.
docs/mcp-clients.md Adds Qwen Code to the client matrix and documents its config locations/format.
AgentSkills/Skills/wolfram-paclets/references/SetUpWolframMCPServer.md Adds "QwenCode" to the supported client list for this skill reference.
AgentSkills/Skills/wolfram-notebooks/references/SetUpWolframMCPServer.md Adds "QwenCode" to the supported client list for this skill reference.
AgentSkills/Skills/wolfram-language/references/SetUpWolframMCPServer.md Adds "QwenCode" to the supported client list for this skill reference.
AgentSkills/Skills/wolfram-alpha/references/SetUpWolframMCPServer.md Adds "QwenCode" to the supported client list for this skill reference.
AgentSkills/References/SetUpWolframMCPServer.md Adds "QwenCode" to the shared (source) client list reference.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread Kernel/SupportedClients.wl Outdated
@rhennigan rhennigan self-requested a review July 10, 2026 17:51

@rhennigan rhennigan left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Tests need to be updated. These ones are failing:

SupportedMCPClients-Has20Clients@@Tests/InstallMCPServer.wlt:3839,1-3844,2
SupportedMCPClients-KeysSorted@@Tests/InstallMCPServer.wlt:3846,1-3851,2

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

Copilot reviewed 11 out of 11 changed files in this pull request and generated 3 comments.

Comment thread Tests/InstallMCPServer.wlt Outdated
Comment thread docs/quickstart-coding.md
Comment on lines +215 to +220
"QwenCode" -> <|
"DisplayName" -> "Qwen Code",
"DefaultToolset" -> "WolframLanguage",
"Aliases" -> { "Qwen" },
"ConfigFormat" -> "JSON",
"ConfigKey" -> { "mcpServers" },
Co-authored-by: Copilot Autofix powered by AI <175728472+Copilot@users.noreply.github.com>
@rhennigan rhennigan merged commit f14cff1 into WolframResearch:main Jul 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants