AutoPoster AI
IDE Integration

通过 Cursor 直接管理与发布社交媒体内容

Turn your code commits and releases into social content. Ask Cursor Composer to announce releases, publish changelogs, and schedule developer updates across all channels.

配置代码片段

粘贴到您的 Cursor 配置文件中

配置文件位置:~/.cursor/mcp.json (or project root .cursor/mcp.json)
{
  "mcpServers": {
    "autoposter": {
      "url": "https://agent.autoposter.ai/mcp",
      "headers": {
        "Authorization": "Bearer YOUR_AUTOPOSTER_API_KEY"
      }
    }
  }
}

如何配置 Cursor

1

生成 AutoPoster 工作区 API 密钥

打开您的 工作区设置 并点击创建 API 密钥。复制生成的私密密钥 (以 ap_live_... 开头)。

2

编辑 Cursor 配置文件

在编辑器中打开 ~/.cursor/mcp.json (or project root .cursor/mcp.json) 并粘贴上方显示的 MCP 服务器配置块。将 YOUR_AUTOPOSTER_API_KEY 替换为您的真实密钥。

3

重启助手并下达指令

重启 Cursor。现在您将在上下文工具栏中看到 AutoPoster 工具 (autoposter_draft_post 等) 准备就绪。

适用于 Cursor 的即用提示词

复制以下提示词直接发送到您的对话中:

"Read git diff from the latest release tag and draft a changelog post for X and LinkedIn."

"Schedule a sneak peek post with preview image for next Tuesday at 9 AM."

"List connected accounts in our dev workspace."

"Publish the approved draft #post_124 now."

Cursor 支持的核心能力

✓
Native Cursor Composer & Chat support
✓
Git commit & changelog to social workflow
✓
Project-scoped or global MCP configuration
✓
Strict workspace isolation

探索其他支持的助手