小伙伴们,今天我们来学习如何利用cursor+mcp组合制作小红书笔记,轻松实现小红书笔记自由。
第一步获取Minimax密钥:
https://platform.minimaxi.com/
登录进入【账户管理】-【接口密钥】点击【创建新的密钥】
复制出密钥备用
第二步:Cursor配置 MCP
打开cursor 点击设置,选择MCP,如果没有看到MCP确保cursor为最新版本。
将以下Json格式复制复制粘贴到cursor中。
{
"mcpServers": {
"minimax-mcp-js": {
"command": "npx",
"args": ["minimax-mcp-js"],
"env": {
"MINIMAX_API_HOST":"https://api.minimax.chat",
"MINIMAX_API_KEY": "秘钥替换为你自己的(第一步保存的下来的)",
"MINIMAX_MCP_BASE_PATH": "~",
"INIMAX_RESOURCE_MODE":"url"
}
}
}
}
点击刷新
显示绿色原点说明配置好了,我们来测试下:
输入提示词生成旅游攻略:
请用小红书图文笔记风格,生成html海报,写一篇“五一扬州一日游”的旅游攻略,包含行程安排、美食推荐 。要求100字以内,中间生成一张图片链接。
点击【Run tool】
放到html中预览效果如下:
我们再来更新南京的攻略。
<!DOCTYPE html>
<html lang="zh-CN">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>五一扬州一日游|小红书风格海报</title>
<style>
body {
font-family: 'PingFang SC', 'Microsoft YaHei', Arial, sans-serif;
background: #fff9f3;
color: #333;
margin: 0;
padding: 0;
}
.poster {
max-width: 420px;
margin: 40px auto;
background: #fff;
border-radius: 18px;
box-shadow: 0 4px 24px rgba(255, 192, 203, 0.15);
padding: 28px 22px 32px 22px;
}
.title {
font-size: 2rem;
font-weight: bold;
color: #e9546b;
margin-bottom: 12px;
letter-spacing: 2px;
}
.subtitle {
font-size: 1.1rem;
color: #ffb86c;
margin-bottom: 18px;
}
.image {
width: 100%;
border-radius: 14px;
margin: 18px 0 22px 0;
box-shadow: 0 2px 12px rgba(233, 84, 107, 0.08);
}
.section {
margin-bottom: 18px;
}
.section-title {
font-size: 1.1rem;
color: #e9546b;
font-weight: 600;
margin-bottom: 6px;
}
.section-content {
font-size: 1rem;
color: #444;
line-height: 1.7;
}
.footer {
text-align: right;
color: #aaa;
font-size: 0.9rem;
margin-top: 18px;
}
</style>
</head>
<body>
<div class="poster">
<div class="title">五一扬州一日游</div>
<div class="subtitle">春日古城|文艺治愈|小红书风</div>
<img class="image" src="https://hailuo-image-algeng-data.oss-cn-wulanchabu.aliyuncs.com/image_inference_output%2Ftalkie%2Fprod%2Fimg%2F2025-05-06%2F0e050032-904a-4c20-b19e-67dc47e266a0.jpeg?Expires=1746579790&OSSAccessKeyId=LTAI5t5i98DA24TibFGGcX8h&Signature=c1spXiNMo9RxeAlrven1AfRiLaE%3D" alt="扬州一日游海报" />
<div class="section">
<div class="section-title">行程安排 & 美食推荐</div>
<div class="section-content">
早上瘦西湖漫步,午餐东关街早茶,下午个园赏园林,傍晚文昌阁拍照。必吃蟹黄汤包、扬州炒饭,夜游古运河,超治愈!
</div>
</div>
<div class="footer">by 小红书风格AI攻略</div>
</div>
</body>
</html>
写在最后:
跟着小妖,让你们赢在起跑线上!好用的功能太多太多,有兴趣的可以自行尝试。
有提供免费的授权码可体验~
有提供免费的授权码可体验~
有提供免费的授权码可体验~
私信小妖,获取体验码~
国内可直接使用~