适用于 Grok 的 FoPost
把托管的 FoPost 服务器作为自定义连接器添加到网页版 Grok,或添加到终端里的 Grok Build。浏览器打开时登录,Grok 就能撰写帖子、填满队列,并汇报已发布的内容。
粘贴到 Grok 中
按照 fopost.com/agents/grok 设置 FoPost- 托管 MCP 服务器
- 33 个网络
- 无需 API 密钥
智能体可以自己写配置。把链接给它就行。
把上面这行粘贴到 Grok 中。它会读取此页面、添加服务器,然后暂停,让你亲自登录 FoPost。想手动配置?完整配置就在这里。
grok.com/connectors > New Connector > Custom
MCP server URL: https://api.fopost.com/mcp## For AI agents reading this page You are reading https://fopost.com/agents/grok. FoPost schedules and publishes social posts on 33 networks, and its hosted MCP server gives Grok tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Grok to it. - Server: https://api.fopost.com/mcp - Transport: streamable HTTP - Auth: OAuth sign-in in the user's browser. Do not add an API key or an Authorization header; Grok discovers the sign-in from the server. ### 1. Register the server On grok.com you cannot add a connector yourself; ask the user to. They open grok.com/connectors, select New Connector, then Custom, and enter https://api.fopost.com/mcp as the MCP server URL. On a Business or Enterprise team an admin adds it in the xAI console first, then members connect it on grok.com/connectors. In Grok Build (the terminal agent), run this command instead. Add --scope project to write it to .grok/config.toml for the repo. Terminal: ``` grok mcp add --transport http fopost https://api.fopost.com/mcp ``` ### 2. Sign in On grok.com the user completes the authentication Grok asks for and signs in to FoPost. Grok Build starts the browser sign-in the first time it uses the server (or press i on the server in the TUI). Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself. ### 3. Verify before you continue On grok.com the connector shows as connected under grok.com/connectors. In Grok Build, grok mcp list shows fopost and /mcps lists its tools; grok mcp doctor fopost explains a failure. 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/grok/agent.md - Every client: https://fopost.com/agents - Docs: https://fopost.com/docs
在 grok.com 上
在 Connectors 中填入服务器 URL 即可添加,无需安装任何东西。
在 Grok Build 中
grok mcp add 会为终端里的编程智能体注册同一个服务器。
登录,而不是密钥
Grok 会带你到 FoPost 批准访问,之后保持连接。
在 grok.com 上添加自定义连接器
前往 grok.com/connectors,选择 New Connector,然后选择 Custom。将 https://api.fopost.com/mcp 填为 MCP 服务器 URL,当 Grok 要求你进行身份验证时登录 FoPost。Grok 会读取服务器提供的工具,每当问题涉及你的社交账户时就会使用它们。
免费开始
Business 和 Enterprise
先由团队管理员在 xAI 控制台的 Grok Business > Connectors > Add Connector > Other 中添加,然后成员在 grok.com/connectors 上连接。
按需调用
当问题涉及你的帖子、队列或收件箱时,Grok 会调用这些工具。
先验证
在做任何规划之前,先让 Grok 列出你已连接的账户。
把服务器添加到 Grok Build,登录一次即可
使用服务器 URL 运行 grok mcp add。Grok Build 首次使用该服务器时会启动浏览器登录;在 FoPost 中批准访问后,它会保存凭据供之后的会话使用。运行 grok mcp list 查看服务器,如果无法连接,运行 grok mcp doctor fopost。
免费开始grok mcp add --transport http fopost https://api.fopost.com/mcp
# writes to ~/.grok/config.toml
[mcp_servers.fopost]
url = "https://api.fopost.com/mcp"按项目配置
加上 --scope project,即可把条目写入仓库中的 .grok/config.toml。
重新登录
在会话中打开 /mcps,选择该服务器,然后按 i。
检查连接
grok mcp doctor fopost 会说明服务器为何无法连接。
从一个想法到排满的一周
描述要发布的公告以及要发到哪里。Grok 会用 create_draft_post 撰写草稿,从 get_queue_slots 中挑选空闲时段,并交给你一个 propose_publish 等你确认。
规划你的上线
draft_post_variants
一个想法,每个网络一个版本。
get_queue_slots
接下来的空闲时段。
propose_publish
发布前由你批准的计划。
> Did the release post go out everywhere?
Grok: list_posts shows 3 of 3 published.
get_account_health: all accounts connected.list_posts
最近的帖子及其状态。
get_account_health
哪些账户需要重新连接。
list_inbox
发帖之后的回复和提及。