Update README with new examples and enhance binary assets for publishing features (#3)
This commit is contained in:
33
README.md
33
README.md
@@ -47,3 +47,36 @@ npx @modelcontextprotocol/inspector
|
|||||||
示例中是从 https://unsplash.com/ 中随机找了个图片做测试。
|
示例中是从 https://unsplash.com/ 中随机找了个图片做测试。
|
||||||
|
|
||||||

|

|
||||||
|
|
||||||
|
## 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.mp4)
|
||||||
|
|
||||||
|

|
||||||
|
|||||||
BIN
assets/claude_push.gif
Normal file
BIN
assets/claude_push.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 20 MiB |
BIN
assets/claude_push.mp4
Normal file
BIN
assets/claude_push.mp4
Normal file
Binary file not shown.
BIN
assets/publish_result.jpeg
Normal file
BIN
assets/publish_result.jpeg
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 851 KiB |
Reference in New Issue
Block a user