ClaudeCodeMod

All shelves / MCP servers

Alibaba Cloud DashScope — Qwen

io.github.nirholas/alibaba-cloud · 231 stars · JavaScript · Apache-2.0

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

Install

The repo has no one-line install. Follow its README.

Published as

  • npm@three-ws/alibaba-cloud-mcpstdio

From the server's entry in the official MCP Registry.

Open the repo

Configuration

NameSet asWhat it is
DASHSCOPE_API_KEYRequired · SecretEnv varDashScope API key. Create one at https://bailian.console.alibabacloud.com/ → API Keys.
DASHSCOPE_MODEL_IDOptionalEnv varDefault chat model id. Options: qwen-max, qwen-plus (default), qwen-turbo, qwen-long.
DASHSCOPE_EMBED_MODEL_IDOptionalEnv varDefault embedding model id. Defaults to text-embedding-v3.
DASHSCOPE_BASE_URLOptionalEnv varCustom DashScope endpoint. Defaults to international (dashscope-intl.aliyuncs.com).
DASHSCOPE_REGIONOptionalEnv varSet to 'cn' to use the China endpoint (dashscope.aliyuncs.com). Ignored if DASHSCOPE_BASE_URL is set.

Files

packages/alibaba-cloud-mcp/README.md

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

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

Run it directly with npx (no install needed):

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

Quick start

With Claude Code, one command:

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:

{
  "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

Tool Description
qwen_chat Chat completion with any Qwen model (qwen-max, qwen-plus, qwen-turbo, qwen-long)
qwen_embed Text embeddings via text-embedding-v3 (1024-dim default, up to 2048)
qwen_list_models List all models available on this DashScope account

Models

Model ID Use
qwen-max Highest quality: complex reasoning, long documents
qwen-plus Balanced performance (default)
qwen-turbo Fastest and cheapest: simple tasks
qwen-long Long context (up to 1M tokens)
text-embedding-v3 Embeddings, semantic search, RAG (default)

Environment variables

Variable Required Default Description
DASHSCOPE_API_KEY yes - Your DashScope API key
DASHSCOPE_MODEL_ID no qwen-plus Default chat model
DASHSCOPE_EMBED_MODEL_ID no text-embedding-v3 Default embedding model
DASHSCOPE_BASE_URL no International endpoint Custom DashScope endpoint
DASHSCOPE_REGION no - Set to cn for the China endpoint
DASHSCOPE_TIMEOUT_MS no 60000 Request timeout in ms

Inspect

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.

// example.mjs: run with: DASHSCOPE_API_KEY=sk-... node example.mjs
import { 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 Chat
qwen_embed: Qwen Text Embeddings
qwen_list_models: List DashScope Models

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

Facts

Kind
MCP server
Repo
nirholas/three.ws
Group
Uncategorized
Stars
231
License
Apache-2.0
Language
JavaScript
Last push
2026-10-12
Forks
63
MCP Registry
io.github.nirholas/alibaba-cloud
Homepage
three.ws
Topics
animation, avatar, gltf, llm, mcp, webgl, 3d-generation, ai-agents, digital-human, generative-ai, glb, image-to-3d, mcp-server, model-context-protocol, solana, text-to-3d, threejs, web-components, webxr, x402

More on this shelf

  1. 1REAio.github.morluto/reaReverse engineer anything from your terminal or agent with one CLI and MCP server.125.3k
  2. 2com.browser-use/browser-usecom.browser-use/browser-useControl a real Chrome browser to complete any task: fill forms, extract data, book flights.117.7k
  3. 3World Monitorapp.worldmonitor/mcpLive markets, conflicts, country risk, chokepoints, energy, and China decision signals. 93 tools.88.3k
  4. 4Scrapling MCP Serverd4vinci/scrapling🕷️ An adaptive Web Scraping framework that handles everything from a single request to a full-scale crawl! Don't be shy, join here: https://discord.gg/EMgGbDceNQ and follow here for daily tips and tricks: https://x.com/Scraplingdev86.9k
  5. 5Everythingmodelcontextprotocol/serversThis MCP server attempts to exercise all the features of the MCP protocol. It is not intended to be a useful server, but rather a test server for builders of MCP clients. It implements prompts, tools, resources, sampling, and more to showcase MCP capabilities.85.8k
  6. 6Fetchmodelcontextprotocol/serversA Model Context Protocol server that provides web content fetching capabilities. This server enables LLMs to retrieve and process content from web pages, converting HTML to markdown for easier consumption.85.8k