원클릭으로
wechat-send-file
// Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat.
// Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat.
| name | wechat-send-file |
| description | Send a file or image to WeChat via TeamMCP. Use when the user wants to send a file, image, or document to WeChat. |
| argument-hint | [file path] |
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 userSend an image or screenshot to WeChat. Use when the user wants to send a picture, screenshot, or photo to WeChat.
Deploy claude-code-router for third-party API support (OpenRouter, Gemini, DeepSeek, etc). Use when setting up non-Anthropic API providers for TeamMCP agents.
Quick start guide for TeamMCP first-time users. Walk through installation, configuration, and first deployment in minutes.
Check and process unread TeamMCP inbox messages. Reviews all unread items, acknowledges processed ones, and summarizes what needs attention.
Generate and post a daily standup report. Checks project state, pending tasks, and unread messages, then posts a structured summary to the specified channel.
Search team knowledge across messages, project state, and task history. Compiles relevant context from multiple TeamMCP sources to answer questions.