/teammcp:wechat-send-file [file path]from teammcp
Sends a local file, image, or document to WeChat via the TeamMCP bridge, with file validation and connection checking.
Ships in teammcp. Installing the plugin adds it to Claude Code.
Send a local file (image, document, video) to WeChat via the TeamMCP WeChat bridge.
$ARGUMENTS contains the file path to send. If not provided, ask the user which file to send.
Check the file exists and get its size:
Use the Bash tool to run: ls -la "$ARGUMENTS"
If the file doesn't exist, tell the user and ask for a correct path.
Call the TeamMCP API to verify WeChat is connected:
Use the Bash tool to run:
curl -s http://localhost:3100/api/wechat/status -H "Authorization: Bearer $TEAMMCP_KEY"
If connected is false, tell the user to connect WeChat first via the Dashboard.
Call the send-file API:
Use the Bash tool to run:
node -e "
fetch('http://localhost:3100/api/wechat/send-file', {
method: 'POST',
headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer $TEAMMCP_KEY' },
body: JSON.stringify({ file_path: '$ARGUMENTS' })
}).then(r=>r.json()).then(d => {
if (d.ok) console.log('File sent:', d.fileName, '(' + d.size + ' bytes)');
else console.error('Failed:', d.error);
});
"
Tell the user whether the file was sent successfully, including the filename and size.
| Type | Extensions | WeChat Display |
|---|---|---|
| Image | jpg, jpeg, png, gif, bmp, webp | Inline image |
| Video | mp4, avi, mov, wmv, mkv | Video player |
| File | All others (pdf, doc, md, txt, etc.) | File attachment |
getuploadurl + POSTsendmessage sends the media reference to the WeChat userWhat the command file sets; muted values are Claude Code's defaults
7-day visitors to each command page
9 commands in this plugin
/check-inboxCheck and process unread TeamMCP inbox messages. Reviews all unread items, acknowledges processed ones, and summarizes what needs attention./daily-standupGenerate and post a daily standup report. Checks project state, pending tasks, and unread messages, then posts a structured summary to the specified channel./deploy-routerDeploy claude-code-router for third-party API support (OpenRouter, Gemini, DeepSeek, etc). Use when setting up non-Anthropic API providers for TeamMCP agents./quickstartQuick start guide for TeamMCP first-time users. Walk through installation, configuration, and first deployment in minutes./search-contextSearch team knowledge across messages, project state, and task history. Compiles relevant context from multiple TeamMCP sources to answer questions./submit-for-reviewSubmit work for team review or approval. Creates/updates a review task, notifies the reviewer via channel or DM, and requests state approval if needed.Generated from the plugin's indexed repository (cookjohn/teammcp) — no native marketplace selected
npx claudepluginhub p/cookjohn-teammcpOther plugins' commands for the same job