Update README with new examples and enhance binary assets for publishing features (#3)

This commit is contained in:
zy
2025-08-10 17:16:05 +08:00
committed by GitHub
parent 6ff3ca70b3
commit 2170c58086
4 changed files with 33 additions and 0 deletions

View File

@@ -47,3 +47,36 @@ npx @modelcontextprotocol/inspector
示例中是从 https://unsplash.com/ 中随机找了个图片做测试。
![发布图文](./assets/inspect_mcp_publish.gif)
## MCP 集成
各种 MCP 集成工具,都可以使用这个 MCP 服务。
### Claude Cli
```bash
# localhost 是本机,如果是远程的话,更换成对应的 IP 地址。
claude mcp add --transport http xiaohongshu-mcp http://localhost:18060/mcp
```
这里使用 Claude Code With K2 做演示,接入方式参考:[在 software agents 中使用 kimi k2 模型](https://platform.moonshot.cn/docs/guide/agent-support)。
示例:
以 [Product Hunt 日报](https://product-daily.haha.ai/) 上面的一篇图片为例,使用 Claude Code 进行发布。
打开 Claude Code 后,输入:
```
帮我写一篇帖子发布到小红书上,
配图为https://cn.bing.com/th?id=OHR.MaoriRock_EN-US6499689741_UHD.jpg&w=3840
图片是“纽西兰陶波湖的Ngātoroirangi矿湾毛利岩雕© Joppi/Getty Images
使用 xiaohongshu-mcp 进行发布。
```
![claude-cli 进行发布](./assets/claude_push.gif)
高清版本可以参考:[claude-cli 进行发布](./assets/claude_push.mp4)
![xiaohongshu-mcp 发布结果](./assets/publish_result.jpeg)