Skip to content

Latest commit

 

History

History

plugin

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

README.md

DashScope plugin for Claude Code

Thin Claude Code 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.

Install (after publish)

claude plugin marketplace add <owner>/dashscope-agent-tools-python
claude plugin install dashscope@dashscope-agent-tools

Enter 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.

Local development (current state, unpublished)

.mcp.json currently points at the repo venv binary so the plugin runs from a local checkout:

"command": "${CLAUDE_PLUGIN_ROOT}/../.venv/bin/dashscope-agent-tools"

Load it for one session:

claude --plugin-dir ./plugin

Then /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.

Switch to the published form before release

Once dashscope-agent-tools is on PyPI, 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"
      }
    }
  }
}

Validate

claude plugin validate ./plugin