Alibaba Cloud DashScope — Qwen

io.github.nirholasPublished by GitHub account nirholasv0.1.4Updated Oct 24, 2026

Alibaba Cloud DashScope MCP: Qwen chat, embeddings, and model discovery on your own account.

The publisher's own server: Scope (AEC) - Preview

VerifiedSTDIODesktop onlyKnowledge & MemoryAI & ML

Overview

AI-generated overview

Local MCP server that lets an assistant run Qwen chat completions, text embeddings and model listing through your own Alibaba Cloud DashScope account.

What you can do
  • Chat with Qwen models such as qwen-max, qwen-plus, qwen-turbo and qwen-long, choosing the model per request.
  • Generate text embeddings with text-embedding-v3 for semantic search or RAG.
  • List the models available on your DashScope account.
  • Optionally be embedded in your own host via the exported buildServer() entry point.
When to use it
Useful when you want an assistant to call Qwen models or DashScope embeddings directly from a desktop MCP client such as Claude Desktop, Claude Code or Cursor, billed to your own Alibaba Cloud account rather than through a separate provider.
Requirements
Runs locally over stdio via npx from the npm package, so Node.js 20 or newer is needed. Requires an Alibaba Cloud account and a DashScope API key supplied in DASHSCOPE_API_KEY. Optional variables set the default chat and embedding models, a custom base URL, the China region, and a request timeout. Network access to the DashScope endpoint is required.
Before you install
The server needs your DashScope API key in DASHSCOPE_API_KEY, and prompts and text sent for embedding go to Alibaba Cloud's DashScope API. Usage is billed to your own Alibaba Cloud account, so model choice affects cost. It is community-built and not affiliated with Alibaba Cloud. Pointing DASHSCOPE_BASE_URL at a custom endpoint sends your key and data there.

Installation

In SourceWeft

  1. Open Alibaba Cloud DashScope — Qwen in the dashboard and add it to a workspace.
  2. Enable the server for the chats that should use its tools.

Desktop only via STDIO. STDIO servers start a local process, so they need the SourceWeft desktop host.

Other MCP clients

Follow the launch instructions in the repository.

README

[three.ws]

@three-ws/alibaba-cloud-mcp

MCP server for Alibaba Cloud DashScope, Qwen chat, embeddings, and model discovery on your own account.

[npm] [license] [node] [three.ws]

Install · Quick start · Tools · Models · three.ws


A Model Context Protocol server that exposes Alibaba Cloud's Qwen models, and anything else in your DashScope account, to MCP clients such as Claude Desktop, Claude Code, and Cursor. It talks directly to the DashScope OpenAI-compatible REST API with your own Alibaba Cloud API key: no intermediary backend, no telemetry, no mock data.

Community-built and not affiliated with Alibaba Cloud. Registry name: io.github.nirholas/alibaba-cloud.

Install

bash
npm install @three-ws/alibaba-cloud-mcp

Run it directly with npx (no install needed):

bash
DASHSCOPE_API_KEY=sk-... npx @three-ws/alibaba-cloud-mcp

Quick start

With Claude Code, one command:

bash
claude mcp add alibaba-cloud -e DASHSCOPE_API_KEY=sk-... -- npx -y @three-ws/alibaba-cloud-mcp

Or add the server to your MCP client config:

json
{  "mcpServers": {    "alibaba-cloud": {      "command": "npx",      "args": ["-y", "@three-ws/alibaba-cloud-mcp"],      "env": {        "DASHSCOPE_API_KEY": "sk-..."      }    }  }}

Requirements

  1. An Alibaba Cloud account
  2. A DashScope API key, navigate to API Keys and create one
  3. Node.js ≥ 20

Tools

ToolDescription
qwen_chatChat completion with any Qwen model (qwen-max, qwen-plus, qwen-turbo, qwen-long)
qwen_embedText embeddings via text-embedding-v3 (1024-dim default, up to 2048)
qwen_list_modelsList all models available on this DashScope account

Models

Model IDUse
qwen-maxHighest quality: complex reasoning, long documents
qwen-plusBalanced performance (default)
qwen-turboFastest and cheapest: simple tasks
qwen-longLong context (up to 1M tokens)
text-embedding-v3Embeddings, semantic search, RAG (default)

Environment variables

VariableRequiredDefaultDescription
DASHSCOPE_API_KEYyes-Your DashScope API key
DASHSCOPE_MODEL_IDnoqwen-plusDefault chat model
DASHSCOPE_EMBED_MODEL_IDnotext-embedding-v3Default embedding model
DASHSCOPE_BASE_URLnoInternational endpointCustom DashScope endpoint
DASHSCOPE_REGIONno-Set to cn for the China endpoint
DASHSCOPE_TIMEOUT_MSno60000Request timeout in ms

Inspect

bash
npx -y @modelcontextprotocol/inspector npx @three-ws/alibaba-cloud-mcp

Programmatic use

The package entry point (@three-ws/alibaba-cloud-mcp) exports buildServer(): a fully-registered McpServer with no transport attached, so you can mount the three tools inside a host of your own instead of spawning the binary. It reads DASHSCOPE_API_KEY when called, and registration is otherwise side-effect free. The DashScope client itself is importable from @three-ws/alibaba-cloud-mcp/src/dashscope.js (loadConfig, DashScopeClient, DashScopeError) when you want the REST wrapper without MCP.

js
// example.mjs: run with: DASHSCOPE_API_KEY=sk-... node example.mjsimport { StdioServerTransport } from '@modelcontextprotocol/sdk/server/stdio.js';import { buildServer } from '@three-ws/alibaba-cloud-mcp';
const server = buildServer();
// What this server exposes, before connecting anything.for (const [name, tool] of Object.entries(server._registeredTools)) {  console.log(`${name}: ${tool.title}`);}
// Serve it over stdio (what the bin does), or attach any other MCP transport.await server.connect(new StdioServerTransport());
qwen_chat: Qwen Chatqwen_embed: Qwen Text Embeddingsqwen_list_models: List DashScope Models

Built by three.ws · three.ws/blog/three-ws-alibaba-cloud-partnership

Source: packages/alibaba-cloud-mcp/README.md at commit c8f2cde

Tools

0
SourceWeft has not started this package in its sandbox yet, so its tools are not known.

Version history

2
  1. v0.1.4LatestOct 10, 2026
  2. v0.1.3Sep 16, 2026

Score

50% of the applicable checks met

How complete this listing is, computed from the registry entry, the endpoint and public sources. Not a rating of the server and not a statement that it is safe or working today: reachability is a dated check, and no installs or reviews go into the score.

  • Reached in the last 30 days25 pts

    Keep the endpoint answering the MCP handshake; SourceWeft probes it every 30 days.

  • Auth declared10 pts

    Declare the credential headers in the registry entry, or keep the endpoint answering the probe so its auth can be classified.

  • Tools listed15 pts

    Answer tools/list without a credential, or ship a package that starts in a sandbox without one.

  • DescriptionRequired15 pts
  • Logo10 pts
  • Documentation15 pts
  • License10 pts

Other Scope integrations