Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
QWEN_MCP_BINNoThe Qwen Code executable.qwen
QWEN_MCP_BASE_URLNoPassed to Qwen Code as OPENAI_BASE_URL.
QWEN_MCP_AUTH_TYPENoValue 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_ENVNoFurther environment variable names that also receive the key, comma-separated (for example MY_PROVIDER_API_KEY).
QWEN_MCP_API_KEY_FILENoFile holding an API key. Its content is passed to Qwen Code as OPENAI_API_KEY.
QWEN_MCP_APPROVAL_MODENoApproval mode used when a call names none. plan is read-only.plan
QWEN_MCP_DEFAULT_MODELNoModel used when a call names none. Without it Qwen Code's own default applies.
QWEN_MCP_MAX_WALL_TIMENoTime 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

CapabilityDetails
tools
{}

Tools

Functions exposed to the LLM to take actions

NameDescription
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

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

A3.8/5.0

Scored across 4 tools

Disambiguation5/5

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.

Naming Consistency3/5

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.

Tool Count5/5

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.

Completeness4/5

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.

Maintenance

ActivityMaintained
ResponsivenessNo recent community issues