Feedback

通义万相 MCP 服务器

@suixinlei Claim

Basic information

Runtime
node
Category
License
MIT
Transports
stdio
Author
suixinlei
Submitted by
Community
Quality
25
Stars
6

About 通义万相 MCP 服务器 Server

# 通义万相 MCP 服务器

通义万相 MCP 服务器 is a MCP server in the Other category listed in the AddMCP.net directory, published by Suixinlei. Supported transport: stdio. Runtime: node. License: MIT. The repository has 6 GitHub stars. Source code is hosted on github.com.

Setup

{
    "mcpServers": {
        "tongyi-wanxiang": {
            "command": "npx",
            "args": [
                "-y",
                "tongyi-wanx-mcp-server@latest"
            ],
            "env": {
                "DASHSCOPE_API_KEY": "<你的通义万相 API 密钥>"
            }
        }
    }
}

通义万相 MCP 服务器 config

Add this server to your MCP-compatible client using the configuration below.

{
    "mcpServers": {
        "tongyi-wanxiang": {
            "command": "npx",
            "args": [
                "-y",
                "tongyi-wanx-mcp-server@latest"
            ],
            "env": {
                "DASHSCOPE_API_KEY": "<你的通义万相 API 密钥>"
            }
        }
    }
}

通义万相 MCP 服务器 tools

Tool list not available yet

This listing does not currently have a tool list to display. This does not mean the server has no tools; check its documentation for supported capabilities.

We auto-extract tools from the README. The maintainer can list them under a ## Tools heading to populate this section.

Overview

What is 通义万相 MCP 服务器?

通义万相 MCP 服务器是一个基于 TypeScript 的 MCP(Model Context Protocol)服务器,专门集成阿里云通义万相的文生图与文生视频 API。它允许大语言模型通过 MCP 协议直接调用通义万相的图像和视频生成能力,适用于需要在对话或应用中嵌入 AI 内容生产的开发者和 LLM 使用者。

How to use 通义万相 MCP 服务器?

在支持 MCP 的客户端(如百炼平台)配置中,将 command 设为 npx,args 包含 "-y", "tongyi-wanx-mcp-server@latest",并在 env 中设置 DASHSCOPE_API_KEY 环境变量为有效的通义万相 API 密钥。启动后,MCP 客户端将通过工具调用文生图和文生视频任务,并获取异步结果。

Key features of 通义万相 MCP 服务器

  • 集成阿里云通义万相文生图 API
  • 集成阿里云通义万相文生视频 API
  • 支持异步任务处理与轮询获取结果
  • 遵循 Model Context Protocol 规范

Use cases of 通义万相 MCP 服务器

  • 在 AI 对话中直接根据提示词生成图像
  • 在 LLM 工作流中生成短视频内容
  • 通过大模型自动生成配图或动画素材
  • 将图像/视频生成能力嵌入现有 MCP 客户端

Frequently asked questions

1 通义万相 MCP 服务器需要什么运行环境?

Node.js >= 16.x,npm >= 8.x 或 pnpm。

2 如何获取 API 密钥?

需要拥有阿里云通义万相 API 访问权限和密钥,并在环境变量 DASHSCOPE_API_KEY 中设置。

3 图像和视频生成是同步还是异步?

均为异步过程。服务器启动生成任务返回任务 ID,然后通过专用工具轮询任务状态直至获取最终结果。

4 视频生成大概需要多长时间?

视频生成耗时较长,可能需要数分钟到十几分钟不等,系统会自动重试,建议适当增加轮询间隔和最大重试次数。

5 支持哪些 MCP 工具?

共 4 个工具:文生图生成(wanx-t2i-image-generation)、获取图像结果、文生视频生成(wanx-t2v-video-generation)、获取视频结果。

Comments

No comments yet

Be the first to share feedback about this listing. Sign in to leave a comment.

Sign In

Feedback 💬