# 通义万相 MCP 服务器 这是一个基于 TypeScript 的 Model Context Protocol (MCP) 服务器,专门提供阿里云通义万相的文生图(Text-to-Image)和文生视频(Text-to-Video)能力。该服务器通过 MCP
通义万相 MCP 服务器 这是一个基于 TypeScript 的 Model Context Protocol (MCP) 服务器,专门提供阿里云通义万相的文生图(Text-to-Image)和文生视频(Text-to-Video)能力。该服务器通过 MCP 协议,允许大语言模型(LLM)直接调用通义万相的图像和视频生成
You will need one environment variable: DASHSCOPE_API_KEY. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.
Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client. The configuration blocks on this page cover the common clients.
Plenty of AI and media services servers cover similar ground. The differences that matter in practice are scope of access and how much setup stands between you and a working tool call. 通义万相 MCP 服务器's toolset — model, size, seed and 2 more — is a fair guide to whether it matches your workflow. It is maintained by Suixinlei; worth a glance at recent repository activity before you build anything load-bearing on it.
model — 模型名称,默认为 wanx2.1-t2i-turbosize — 图像尺寸,默认为 1024*1024seed — 随机种子,用于复现结果prompt_extend — 是否启用提示词扩展,默认为 truewatermark — 是否添加水印,默认为 falseCompare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.
Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.
| Tool | What it does |
|---|---|
| model | 模型名称,默认为 wanx2.1-t2i-turbo |
| size | 图像尺寸,默认为 1024*1024 |
| seed | 随机种子,用于复现结果 |
| prompt_extend | 是否启用提示词扩展,默认为 true |
| watermark | 是否添加水印,默认为 false |
{
"mcpServers": {
"tongyi-wanxiang": {
"command": "npx",
"args": [
"-y",
"tongyi-wanx-mcp-server@latest"
],
"env": {
"DASHSCOPE_API_KEY": "<你的通义万相 API 密钥>"
}
}
}
}Configuration as documented by the project. Restart the client after saving.
| Variable | Description | Required |
|---|---|---|
| DASHSCOPE_API_KEY | Credential the server authenticates with. | Yes |
Kill hallucinated APIs — version-accurate, up-to-date library documentation injected straight into context.
Microsoft's official browser automation server — drive a real browser through the accessibility tree, no screenshots needed.
GitHub's official server — repos, issues, pull requests, Actions and code security, straight from your assistant.
Issue tracking at the speed of conversation — Linear's official hosted server with OAuth and zero install.
Local repository surgery — status, diffs, commits, branches and history for any repo on disk.
Your assistant inside the workspace — read channels, search history, post messages and tame the noise.