🎩 You're Invited:Meet the Socket team at Black Hat in Las Vegas, August 3-6.RSVP
Sign In

@three-ws/alibaba-cloud-mcp

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@three-ws/alibaba-cloud-mcp

MCP server for Alibaba Cloud DashScope by three.ws — Qwen chat, embeddings, and model discovery using your own Alibaba Cloud API key.

latest
Source
npmnpm
Version
0.1.1
Version published
Maintainers
1
Created
Source

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

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_KEYyesYour DashScope API key
DASHSCOPE_MODEL_IDnoqwen-plusDefault chat model
DASHSCOPE_EMBED_MODEL_IDnotext-embedding-v3Default embedding model
DASHSCOPE_BASE_URLnoInternational endpointCustom DashScope endpoint
DASHSCOPE_REGIONnoSet to cn for the China endpoint
DASHSCOPE_TIMEOUT_MSno60000Request timeout in ms

Inspect

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

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

Keywords

mcp

FAQs

Package last updated on 04 Jul 2026

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts