deploy/macos/readme.md
通过此方法你可以:通过系统进程管理小红书 MCP
至此就完成了配置安装
启动小红书 MCP 服务
launchctl start xhsmcp
关闭小红书 MCP 服务
launchctl stop xhsmcp
查看服务状态,输出有进程 ID 则为运行中,也可以通过 curl 检查服务运行状态
launchctl list | grep xhsmcp
如果你使用 fish shell,可以安装该目录下的 xhsmcp.fish,实现类似这样的效果:
~/home
> launchctl list | grep
- 0 xhsmcp
~/home
> xhsmcp_status
✗ xhsmcp 未运行
是否启动服务? (yes/其他): yes
✓ 服务启动成功 (PID: 76061)
~/home
> launchctl list | grep
76061 0 xhsmcp