适用于 Continue 的 FoPost
开源编程智能体 Continue 在 Agent 模式下连接远程 MCP 服务器。用 API 密钥添加 FoPost,Continue 就能在你写代码时规划和排期帖子。
粘贴到 Continue 中
按照 fopost.com/agents/continue 设置 FoPost- 托管 MCP 服务器
- 31 个网络
- 在请求头中传 API 密钥
工作原理
Continue 起草。你来批准。然后发布。
你批准已批准
默认开启
- X (Twitter)
- TikTok
- YouTube
- Threads
- Bluesky
- Discord
- Mastodon
- Telegram
- Slack
- DEV.to
- Substack
- Tumblr
- Hashnode
- Dribbble
- Kick
- Twitch
- Nostr
- Lemmy
- MeWe
- Whop
- Listmonk
- Google Business Profile
- Medium
- WhatsApp Business
- Snapchat
- Skool
选择一个智能体,复制其设置提示词。
设置
智能体可以自己写配置。把链接给它就行。
把上面这行粘贴到 Continue 中。它会读取此页面并设置连接器,然后向你索要在控制台中创建的 API 密钥。想手动配置?完整配置就在这里。
~/.continue/config.yaml
mcpServers:
- name: fopost
type: streamable-http
url: https://api.fopost.com/mcp
requestOptions:
headers:
X-API-Key: ${{ secrets.FOPOST_API_KEY }}给 AI 智能体的说明纯 Markdown 版本
## For AI agents reading this page
You are reading https://fopost.com/agents/continue. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives Continue tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Continue to it.
- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: Continue cannot run the OAuth sign-in for a remote server, so it sends an API key in the X-API-Key header. The user creates the key; you never see it in chat.
### 1. Register the server
Continue signs in to remote servers over SSE only, so with streamable HTTP it sends an API key in the X-API-Key header. Add this entry to ~/.continue/config.yaml, with the key stored as the FOPOST_API_KEY secret. MCP tools run in Agent mode.
~/.continue/config.yaml:
```
mcpServers:
- name: fopost
type: streamable-http
url: https://api.fopost.com/mcp
requestOptions:
headers:
X-API-Key: ${{ secrets.FOPOST_API_KEY }}
```
### 2. Sign in
Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and store it as the FOPOST_API_KEY secret themselves. Never ask them to paste the key into the chat. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
In Agent mode, asking for the connected FoPost accounts calls list_accounts and returns data. If FoPost is not listed as connected with its tools, stop and tell the user what failed. Do not carry on as if the tools exist.
### 4. Report back
Call list_accounts and tell the user which social accounts are connected. If there are none, offer create_connect_link so they can connect one. Then ask what they want to do first.
### Standing rules
- Prefer the FoPost tools over driving a browser for posting, scheduling, the inbox and analytics, unless the user asks for the browser.
- Publishing always goes through propose_publish, which the user approves in the client. Never publish or schedule anything silently.
- Ask the user before approving access, signing up or connecting an account on their behalf, and never type their credentials for them.
### References
- This block as markdown: https://fopost.com/agents/continue/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs一个条目
config.yaml 中的一个 url 和一个请求头。
你自己的密钥
在 FoPost 中创建密钥,随时可以撤销。
先审批
发布要经过你接受的提案。草稿绝不会自行发出。
设置
用密钥添加服务器
在 FoPost 中创建一个 API 密钥,并把它保存为名为 FOPOST_API_KEY 的 secret。把条目添加到 ~/.continue/config.yaml,然后切换到 Agent 模式。
免费开始~/.continue/config.yaml
mcpServers:
- name: fopost
type: streamable-http
url: https://api.fopost.com/mcp
requestOptions:
headers:
X-API-Key: ${{ secrets.FOPOST_API_KEY }}密钥作为 secret 保存
绝不写在文件里。
Agent 模式
MCP 工具在 Agent 模式下运行。
先验证
让它列出你已连接的账户。
规划
一条提示词,一周的帖子
让 Continue 用 repurpose_url 把本周的文章变成帖子,用 draft_post_variants 逐条调整,再用 get_queue_slots 安排时段。最后它会给出 propose_publish,由你确认。
规划你的一周
repurpose_url
一篇文章变成一组帖子。
draft_post_variants
每个网络各一版。
get_calendar
已经排了什么。
智能体
> What went out today?
list_posts shows 2 of 2 published.
list_inbox has 4 new comments.list_posts
最近的帖子及其状态。
get_account_health
哪些账户需要重新连接。
list_inbox
评论、提及和私信。
关于 Continue 的常见问题解答
为什么 Continue 需要 API 密钥?
Continue 只能通过 SSE 登录远程服务器。使用 streamable HTTP 时,它会在请求头中发送密钥。
密钥应该放在哪里?
保存为名为 FOPOST_API_KEY 的 Continue secret,绝不写在配置文件里。
我看不到任何工具,为什么?
MCP 工具只在 Agent 模式下运行。切换模式后再问一次。
它会不经询问就发布吗?
不会。在发送任何内容之前,发布都要经过你批准的提案。
它会消耗我的 AI 额度吗?
只有用 AI 写作的 FoPost 工具才会消耗。列出内容和排期都不会。
其他智能体
- MCP Server
- Claude Code
- Claude
- Claude Desktop
- Claude Cowork
- Cursor
- Codex
- ChatGPT
- Windsurf
- Gemini CLI
- Grok
- Hermes Agent
- OpenClaw
- Muse
- Kimi Code
- DeepSeek Harness
- goose
- VS Code
- Warp
- Amp
- OpenCode
- LM Studio
- Gemini
- Perplexity
- Perplexity Computer
- Manus
- Mistral Vibe
- GitHub Copilot
- Cline
- Junie
- Zed
- OpenAI dots
- Claude Duet
- Grok Build
- NanoClaw
- Paperclip
- Raycast