Get the FREE Ultimate OpenClaw Setup Guide →

MCP -Qwen_Max

MCP server for Qwen Max model

Installation
Run this command in your terminal to add the MCP server to Claude Code.
Run in terminal:
Command
claude mcp add --transport stdio 66julienmartin-mcp-server-qwen_max node /path/to/Qwen_Max/build/index.js \
  --env DASHSCOPE_API_KEY="your-api-key-here"

How to use

This MCP server implements the Qwen Max model integration for Claude Desktop via MCP. It exposes a server that runs the Qwen family models (Max, Plus, Turbo) under a Node.js/TypeScript stack and is designed to work with Claude Desktop through the MCP protocol. The example configuration shows how to wire the server into Claude Desktop by specifying the node command, the built server entry point, and the required environment variable for authentication with Dashscope. You can interact with the server using the MCP-compatible tool calls, such as sending a request with a model name and parameters like prompt, max_tokens, and temperature. The README also provides an API usage example demonstrating a tool call targeting the qwen_max model with typical generation parameters.

How to install

Prerequisites:

  • Node.js v18 or higher
  • npm
  • Claude Desktop
  • Dashscope API key

Installation steps:

  1. Quick install via Smithery (automatic deployment for Claude Desktop):
npx -y @smithery/cli install @66julienmartin/mcp-server-qwen_max --client claude
  1. Manual installation:
git clone https://github.com/66julienmartin/mcp-server-qwen-max.git
cd Qwen_Max
npm install
  1. Prepare configuration:
  • Create a .env file in the project root with:
DASHSCOPE_API_KEY=your-api-key-here
  1. Run the development or production server as described in package.json scripts:
npm run dev     # Watch mode
npm run build   # Build
npm run start   # Start server

Additional notes

Tips and considerations:

  • The server relies on DASHSCOPE_API_KEY for access to Dashscope and should be kept secret.
  • Update the model by editing src/index.ts (default model: qwen-max) and rebuilding if you modify the code.
  • In Claude Desktop configuration, point the mcpServers entry to the built index.js and ensure the environment variable is provided.
  • Supported models include qwen-max, qwen-plus, and qwen-turbo with corresponding versions; adjust the model name in the code or configuration as needed.
  • Common issues to watch for: missing API keys, network errors, or model availability. Ensure Node.js version compatibility and correct paths to the built server entry point.
  • You can adjust max_tokens, temperature, and other generation parameters via the MCP API usage example in the README and within your client requests.

Related MCP Servers

Sponsor this space

Reach thousands of developers