Thin wrapper around the dashscope-agent-tools MCP server. The plugin ships six
Skills (image generation, semantic search, rerank, text-to-speech, transcription,
video generation) and the MCP server config; all capability logic lives in the
Python package, which delegates to the official dashscope SDK.
This directory is dual-format:
- Claude Code reads
.claude-plugin/plugin.json+.mcp.json(DASHSCOPE_ENTRYPOINT=claude-code, key viauserConfig). - GitHub Copilot (VS Code / CLI / app) reads the root
plugin.json+mcp.json(Agent Plugins 1.0,DASHSCOPE_ENTRYPOINT=copilot, publisheduvxcommand). See../hosts/copilot/README.md.
Both share the same skills/. A root Agent Plugins manifest takes precedence for
Copilot; Claude Code keeps using its own format.
claude plugin marketplace add dashscope/dashscope-agent-tools-python
claude plugin install dashscope@dashscope-agent-toolsEnter your API key in the install dialog (/plugin configure dashscope to
change it later). The key is stored masked and injected as DASHSCOPE_API_KEY.
.mcp.json currently points at the repo venv binary so the Claude plugin runs
from a local checkout:
"command": "${CLAUDE_PLUGIN_ROOT}/../.venv/bin/dashscope-agent-tools"Load it for one session:
claude --plugin-dir ./pluginThen /mcp should show plugin:dashscope:dashscope connected, and
/dashscope:generate-image, /dashscope:semantic-search, /dashscope:rerank,
/dashscope:text-to-speech, /dashscope:transcribe-audio,
/dashscope:generate-video are available.
dashscope-agent-tools is on PyPI. To run the Claude plugin from the published
package instead of the local venv, replace the command/args in .mcp.json
with:
{
"mcpServers": {
"dashscope": {
"command": "uvx",
"args": ["dashscope-agent-tools"],
"env": {
"DASHSCOPE_API_KEY": "${user_config.api_key}",
"DASHSCOPE_ENTRYPOINT": "claude-code"
}
}
}
}claude plugin validate ./plugin
# offline equivalents (no host CLI needed):
.venv/bin/python tests/plugin_structure_check.py # Claude format
.venv/bin/python tests/copilot_structure_check.py # Agent Plugins 1.0 format