Cascade Flow
通过 Windsurf 直接管理与发布社交媒体内容
Integrate Windsurf’s AI agent Cascade with AutoPoster AI. Seamlessly broadcast your codebase achievements, sprint completions, and feature rollouts to your social channels.
配置代码片段
粘贴到您的 Windsurf 配置文件中
配置文件位置:
~/.codeium/windsurf/mcp_config.json{
"mcpServers": {
"autoposter": {
"serverUrl": "https://agent.autoposter.ai/mcp",
"headers": {
"Authorization": "Bearer YOUR_AUTOPOSTER_API_KEY"
}
}
}
}如何配置 Windsurf
1
生成 AutoPoster 工作区 API 密钥
打开您的 工作区设置 并点击创建 API 密钥。复制生成的私密密钥 (以 ap_live_... 开头)。
2
编辑 Windsurf 配置文件
在编辑器中打开 ~/.codeium/windsurf/mcp_config.json 并粘贴上方显示的 MCP 服务器配置块。将 YOUR_AUTOPOSTER_API_KEY 替换为您的真实密钥。
3
重启助手并下达指令
重启 Windsurf。现在您将在上下文工具栏中看到 AutoPoster 工具 (autoposter_draft_post 等) 准备就绪。
适用于 Windsurf 的即用提示词
复制以下提示词直接发送到您的对话中:
"Summarize the new feature branch and draft an announcement for X."
"Schedule a LinkedIn post explaining the architectural refactor we just completed."
"List accounts and publish the release draft."
Windsurf 支持的核心能力
✓
Deep Cascade context awareness ✓
Direct code to social pipeline ✓
Full MCP tool support ✓
Automated release notes drafting