qwen-mcp-server
Server Configuration
Describes the environment variables required to run the server.
| Name | Required | Description | Default |
|---|---|---|---|
| QWEN_MCP_BIN | No | The Qwen Code executable. | qwen |
| QWEN_MCP_BASE_URL | No | Passed to Qwen Code as OPENAI_BASE_URL. | |
| QWEN_MCP_AUTH_TYPE | No | Value for --auth-type. When it is not passed, Qwen Code's own settings decide. Defaults to openai when a key file is set. | |
| QWEN_MCP_API_KEY_ENV | No | Further environment variable names that also receive the key, comma-separated (for example MY_PROVIDER_API_KEY). | |
| QWEN_MCP_API_KEY_FILE | No | File holding an API key. Its content is passed to Qwen Code as OPENAI_API_KEY. | |
| QWEN_MCP_APPROVAL_MODE | No | Approval mode used when a call names none. plan is read-only. | plan |
| QWEN_MCP_DEFAULT_MODEL | No | Model used when a call names none. Without it Qwen Code's own default applies. | |
| QWEN_MCP_MAX_WALL_TIME | No | Time budget per call when a call names none: seconds (90) or 30s, 5m, 1.5h. | 15m |
Instructions
Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.
This server publishes no instructions, or was last inspected before Glama recorded them.
Capabilities
Features and capabilities supported by this server
Protocol revision2025-11-25
| Capability | Details |
|---|---|
| tools | {} |
Tools
Functions exposed to the LLM to take actions
| Name | Description |
|---|---|
| qwenA | Run the Qwen Code CLI non-interactively for AI assistance. Read-only (approval mode "plan") unless configured or asked otherwise. |
| listSessionsA | List the active conversation sessions with their Qwen session IDs and working directories |
| pingA | Test MCP server connection |
| helpA | Get the Qwen Code CLI help text or installed version |
Prompts
Interactive templates invoked by user choice
| Name | Description |
|---|---|
No prompts | |
Resources
Contextual data attached and managed by the client
| Name | Description |
|---|---|
No resources | |
TDQS
Scored across 4 tools
Each tool has a clearly distinct role: qwen executes the CLI, listSessions lists active sessions, ping tests connectivity, and help returns CLI help/version. There is no meaningful overlap between them.
listSessions uses camelCase while qwen, ping, and help are lowercase single-word names, so conventions are mixed. The names remain readable and understandable, but there is no consistent verb_noun pattern.
Four tools is well-scoped for a thin wrapper around the Qwen Code CLI. Each tool serves a clear purpose and none feels redundant or missing from the core surface.
The set covers execution, session listing, connectivity testing, and help/version retrieval. A minor gap exists around explicit session management (e.g., terminate, resume, or inspect a specific session), but the core workflow is workable through qwen execution.