
How to add WeCom Group Robot (mcp-wecombot-server) to Cursor
Send text, markdown, image, news, and template-card messages to a WeCom (WeChat Work) group robot. Paste the config into ~/.cursor/mcp.json and restart Cursor.
Last updated June 14, 2026 · 38★ · stdio · apikey
Cursor config for WeCom Group Robot (mcp-wecombot-server)
npx -y @smithery/cli install @gotoolkits/mcp-wecombot-server --client claude-desktop{
"mcpServers": {
"wecom-group-robot-mcp-wecombot-server": {
"command": "mcp-wecombot-server",
"args": [],
"env": {
"WECOM_BOT_WEBHOOK_KEY": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx"
}
}
}
}Setup steps
- 1Open Cursor → Settings → MCP → Add new MCP server (or edit ~/.cursor/mcp.json directly).
- 2Paste the WeCom Group Robot (mcp-wecombot-server) config below into the "mcpServers" object.
- 3Fill in placeholder secrets, then save.
- 4Cursor reloads MCP servers automatically — check Settings → MCP for a green status dot.
- 5Ask Cursor to use one of WeCom Group Robot (mcp-wecombot-server)'s tools to confirm it's connected.
Before you start
- A WeCom (Enterprise WeChat / 企业微信) group with a configured group robot
- The group robot webhook key (WECOM_BOT_WEBHOOK_KEY), taken from the robot's webhook URL `key` parameter
- The mcp-wecombot-server binary installed (via Smithery, prebuilt release, or built from source with `make build`)
What WeCom Group Robot (mcp-wecombot-server) can do in Cursor
send_textSend a text message to a WeCom group.
send_markdownSend a markdown message to a WeCom group.
send_imageSend an image message to a WeCom group.
send_newsSend a news (graphic) message to a WeCom group; a news item includes title, description, url, and picurl.
send_template_cardSend a template card message to a WeCom group.
upload_fileUpload a file to WeCom.
Security
Authentication is via the WeCom group robot webhook key, passed as the WECOM_BOT_WEBHOOK_KEY environment variable. Anyone holding this key can post messages to the target WeCom group, so treat it as a secret and avoid committing it to source control. The key corresponds to the `key` parameter of the WeCom webhook URL (https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...).
WeCom Group Robot (mcp-wecombot-server) + Cursor FAQ
Where is the Cursor config file?
Cursor reads MCP servers from ~/.cursor/mcp.json. Paste the WeCom Group Robot (mcp-wecombot-server) config there under the "mcpServers" key and restart the client.
Is WeCom Group Robot (mcp-wecombot-server) safe to use with Cursor?
Authentication is via the WeCom group robot webhook key, passed as the WECOM_BOT_WEBHOOK_KEY environment variable. Anyone holding this key can post messages to the target WeCom group, so treat it as a secret and avoid committing it to source control. The key corresponds to the `key` parameter of the WeCom webhook URL (https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=...).
What is WECOM_BOT_WEBHOOK_KEY and where do I get it?
It is the WeCom group robot's webhook key. In the robot's webhook URL (https://qyapi.weixin.qq.com/cgi-bin/webhook/send?key=693axxx6-7aoc-4bc4-97a0-0ec2sifa5aaa), the value after `key=` is your WECOM_BOT_WEBHOOK_KEY. See the WeCom robot configuration guide at https://developer.work.weixin.qq.com/document/path/91770.
How do I install it?
You can install automatically for Claude Desktop via Smithery (`npx -y @smithery/cli install @gotoolkits/mcp-wecombot-server --client claude-desktop`), or manually by cloning the repo and running `make build`, then symlinking the produced binary into your PATH (or downloading a precompiled release binary).
What kinds of messages can it send?
Text, markdown, images, news (graphic) messages with title/description/url/picurl, and template cards. It can also upload files to WeCom.