About Ant Card
Ant Card is an MCP server published by Rpeng666 in the Developer Tools category: a beautifull card generator, you can use it in xiaohongshu. Conduid read 11 tools from its source: change_card_template, create_card, delete_card, duplicate_card, export_card, export_card_server and 5 more. No package is published for it, so it installs from a source checkout.
The repository has 79 stars and 10 forks, and its last commit was on 16 Dec 2025. Conduid has no tagged release on record for it. It passes 4 of the 6 static checks Conduid ran on the repository; it does not pass Tests present and Scoped permissions. Its topics include card, xiaohongshu, beautiful and devtools.
Install
git clone https://github.com/Rpeng666/Ant-CardTools (11)
change_card_template更改卡片的模板| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 卡片ID |
| template * | string | 新的模板类型 |
create_card创建一个新的卡片| Parameter | Type | Description |
|---|---|---|
| author | string | 作者名称 |
| content | string | 卡片内容 |
| template | string | 卡片模板类型 |
| title * | string | 卡片标题 |
delete_card删除指定的卡片| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 要删除的卡片ID |
duplicate_card复制一个现有的卡片| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 要复制的卡片ID |
| newTitle | string | 新卡片的标题 |
export_card导出卡片为指定格式,支持PNG、JPEG、PDF等格式| Parameter | Type | Description |
|---|---|---|
| backgroundColor | string | 背景颜色(十六进制),JPEG格式默认为白色,PNG格式默认为透明 |
| cardId * | string | 卡片ID |
| format * | string | 导出格式 |
| quality | number | 图片质量(0-1),仅对JPEG有效 |
| scale | number | 缩放比例,数值越高图片越清晰 |
export_card_server服务器端导出卡片(使用Puppeteer生成高质量图片)| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 卡片ID |
| format * | string | 导出格式 |
| fullPage | boolean | 是否导出完整页面 |
| height | number | 导出高度(像素) |
| quality | number | 图片质量(0-1) |
| width | number | 导出宽度(像素) |
get_card_info获取卡片的详细信息| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 卡片ID |
list_cards获取所有卡片的列表| Parameter | Type | Description |
|---|---|---|
| limit | number | 返回数量限制 |
| offset | number | 偏移量 |
update_card_content更新卡片的内容信息| Parameter | Type | Description |
|---|---|---|
| author | string | 作者名称 |
| cardId * | string | 卡片ID |
| content | string | 卡片内容 |
| date | string | 日期 |
| qrCode | string | 二维码内容/链接 |
| qrCodeText | string | 二维码描述文本 |
| qrCodeTitle | string | 二维码标题 |
| title | string | 卡片标题 |
update_card_style更新卡片的样式设置| Parameter | Type | Description |
|---|---|---|
| align | string | 文本对齐方式 |
| aspectRatio | string | 宽高比 |
| backgroundColor | string | 背景颜色(十六进制) |
| borderRadius | string | 圆角半径(CSS格式) |
| cardId * | string | 卡片ID |
| color | string | 文字颜色(十六进制) |
| font | string | 字体名称 |
| fontScale | number | 字体缩放比例 |
| height | number | 卡片高度(像素) |
| padding | string | 内边距(CSS格式) |
| width | number | 卡片宽度(像素) |
update_card_switches更新卡片的显示开关设置| Parameter | Type | Description |
|---|---|---|
| cardId * | string | 卡片ID |
| showAuthor | boolean | 是否显示作者 |
| showDate | boolean | 是否显示日期 |
| showPageNum | boolean | 是否显示页码 |
| showQRCode | boolean | 是否显示二维码 |
| showTitle | boolean | 是否显示标题 |
| showWatermark | boolean | 是否显示水印 |
Security checks
Static checks derived from the repository a month ago. Heuristics on the source, not an audit.
- ✓README presentThe repository's README runs to about 542 words.
- ✓License declaredUsable under a stated license.
- !Tests presentNo tests found. Behaviour changes may go unnoticed between versions.
- ✓Dependencies pinnedA lockfile pins dependency versions.
- ✓No dynamic code executionScanned 256 source files and found no eval, dynamic Function or shell execution.
- !Scoped permissionsDoesn't declare a permission scope. Assume it can do anything its process can.
README
The repository's README runs to about 542 words, fetched a month ago. The original in the repository is authoritative.
Read full README