面向 AI 智能体
VIBEPOST 的设计让 AI 助手无需阅读本页就能发现并使用它。把任意智能体指向以下任一地址:
/llms.txt面向 LLM 的单页摘要:VIBEPOST 的功能、端点、工具与规则text/llms-full.txt完整文档,合并为一个 Markdown 文件text/api/v1/openapi.json覆盖所有 REST 端点的 OpenAPI 3.1 规范json/mcp远程 MCP 服务器(Streamable HTTP,OAuth 登录)mcpnpx vibepost支持 --json 输出和稳定退出码的 CLIcli在本站任意页面的 URL 后加上 .md,即可获取该页的 Markdown 版本。VIBEPOST 已收录于官方 MCP Registry,并作为 Claude 连接器上架。
CLI
# install (or use npx) npm i -g vibepost # or: brew install vibepost vibepost login # opens the browser, stores the key in your keychain # one post, AI writes each version and picks the time vibepost post "We just launched exam-based teacher search" \ --to x,linkedin,threads --lang en,ja --at auto # a video; TikTok always waits for you to confirm in the app vibepost post --file lesson.mp4 --to tiktok --caption auto # a week of posts from an article vibepost plan --from https://blog.anytutor.ai/learn-anything --week next vibepost ls --status scheduled --json | jq '.[].id' vibepost retry post_8f2c vibepost mcp # local stdio MCP server for clients without remote MCP
| 退出码 | 含义 |
|---|---|
| 0 | 完成 |
| 1 | 一般错误 |
| 2 | 需要确认(使用 --yes 重新运行,TikTok 则需在应用中确认) |
| 3 | 被工作区规则阻止 |
| 4 | 被平台拒绝 |
在 CI 中请设置 VIBEPOST_API_KEY。如果不加 --yes,CLI 会先打印预览,并在发布任何内容前询问确认。
MCP 服务器
将 VIBEPOST 添加到任意兼容 MCP 的客户端。在设置 → API 密钥中创建密钥,然后添加:
{
"mcpServers": {
"vibepost": {
"url": "https://vibepost.cc/mcp",
"headers": { "Authorization": "Bearer ap_live_…" }
}
}
}然后直接问你的助手:“明天 9 点把这条公告发到 X 和 LinkedIn。”
工具
list_channels已连接的频道及其限制读取generate_variants按平台和语言各写一个版本读取create_draft将帖子保存为草稿写入schedule_post排期或发布,遵循你的自主权规则遵循规则update_post修改已排期帖子的文字或时间写入get_calendar指定日期范围内的帖子读取get_analytics按帖子、频道或时间段查看效果读取通过 MCP 创建的帖子,会和其他帖子一样进入同一个日历和审批队列。TikTok 帖子始终需要等待账号所有者确认。
REST API
# Let VIBEPOST write the versions and pick the time curl https://vibepost.cc/api/v1/posts \ -H "Authorization: Bearer ap_live_…" \ -H "Content-Type: application/json" \ -d '{ "channels": ["x_anytutor", "linkedin_anytutor"], "text": "We just launched exam-based teacher search.", "variants": "auto", "languages": ["en", "ja"], "schedule_at": "auto" }'
响应中每个频道和语言各对应一条帖子,每条都带有状态:scheduled、needs_approval 或 failed。
身份验证
在 Authorization 请求头中使用密钥。密钥仅限一个工作区使用,可设为只读,且完整内容只显示一次。可随时轮换。
限制与安全
- 你的工作区规则(每日上限、静默时段、禁用词)适用于每一次 API 和 MCP 调用。
- 通过 API 删除帖子默认处于关闭状态。
- 自动遵守各平台自身的速率限制;请求会排队处理,而不会被丢弃。
Webhook
当帖子发布成功、失败或需要审批时收到通知:post.published、post.failed、post.needs_approval。