Alibaba Cloud DashScope — Qwen

io.github.nirholas由 GitHub 帳號 nirholas 發布v0.1.4更新於 Oct 24, 2026

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

發布方自己的服務:Scope (AEC) - Preview

已驗證STDIO僅桌面知識與記憶AI 與機器學習

概覽

AI 產生的概覽

本機 MCP 伺服器,讓助理透過你自己的阿里雲 DashScope 帳號進行 Qwen 對話、文字向量化與模型清單查詢。

可以做什麼
  • 使用 qwen-max、qwen-plus、qwen-turbo、qwen-long 等 Qwen 模型進行對話補全,並可逐次指定模型。
  • 以 text-embedding-v3 產生文字向量,用於語意搜尋或 RAG。
  • 列出該 DashScope 帳號可用的模型。
  • 可透過匯出的 buildServer() 進入點嵌入自建的宿主程式。
適用情境
適合想讓 Claude Desktop、Claude Code、Cursor 等桌面 MCP 用戶端直接呼叫 Qwen 模型或 DashScope 向量化,並計入自己阿里雲帳號用量而非經由其他服務商的情境。
執行需求
透過 npx 以 stdio 方式在本機執行 npm 套件,需要 Node.js 20 或更新版本。需要阿里雲帳號與 DashScope API 金鑰,透過 DASHSCOPE_API_KEY 提供。選用變數可設定預設對話模型、預設向量模型、自訂基礎位址、中國區以及請求逾時。需要能連線至 DashScope 端點的網路。
安裝前請注意
伺服器需要 DASHSCOPE_API_KEY 中的 DashScope API 金鑰,送出用於向量化的提示與文字會傳到阿里雲 DashScope 端點。用量計入你自己的阿里雲帳號,模型選擇會影響費用。此伺服器由社群建置,與阿里雲無隸屬關係。若將 DASHSCOPE_BASE_URL 指向自訂位址,金鑰與資料會傳送到該位址。

安裝

在 SourceWeft 中

  1. 開啟 儀表板中的 Alibaba Cloud DashScope — Qwen,將其新增到工作區。
  2. 為需要使用其工具的對話啟用該服務。

Desktop only,透過 STDIO。 STDIO 服務會啟動本機處理程序,因此需要 SourceWeft 桌面主機。

其他 MCP 客戶端

參照 儲存庫 中的啟動說明。

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

來源:packages/alibaba-cloud-mcp/README.md,提交 c8f2cde

工具

0
SourceWeft 尚未在沙箱中啟動過該軟體包,因此其工具未知。

版本歷史

2
  1. v0.1.4最新Oct 10, 2026
  2. v0.1.3Sep 16, 2026

評分

已滿足適用檢查項的 50%

該評分衡量此收錄條目的完整程度,依據註冊中心條目、端點與公開來源計算得出。它不是對伺服器本身的評價,也不表示伺服器安全或目前可用:可連通性是帶日期的檢查結果,評分也不包含安裝量或使用者評價。

  • 近 30 天內可連通25 分

    請保持端點能夠回應 MCP 握手;SourceWeft 每 30 天探測一次。

  • 已宣告認證方式10 分

    請在註冊中心條目中宣告憑證請求標頭,或保持端點能夠回應探測,以便判定其認證方式。

  • 已列出工具15 分

    請讓伺服器在無憑證時回應 tools/list,或發布可在沙箱中無憑證啟動的軟體包。

  • 描述必需15 分
  • 圖示10 分
  • 文件15 分
  • 授權條款10 分

其他 Scope 整合