Grok Build向けFoPost

xAIのコーディングエージェントGrok Buildは、URLでリモートMCPサーバーに接続します。コマンド1つでFoPostを追加して一度サインインすれば、出荷したばかりの内容の投稿をGrokが書けます。

Grok Buildに貼り付けてください

fopost.com/agents/grok-buildを参照してFoPostをセットアップしてください
  • ホスト型MCPサーバー
  • 31のネットワーク
  • APIキー不要
すべてのエージェント
仕組み

Grok Buildが下書き。あなたが承認。そして公開。

  • REST API
FoPost
あなた承認承認済み

デフォルトでオン

  • X (Twitter)
  • Facebook
  • Instagram
  • LinkedIn
  • TikTok
  • YouTube
  • Threads
  • Bluesky
  • Pinterest
  • Reddit
  • 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

エージェントを選ぶと設定プロンプトをコピーできます。

セットアップ

設定はエージェント自身が書けます。リンクを渡すだけです。

上の1行をGrok Buildに貼り付けてください。このページを読んでサーバーを追加し、FoPostへのサインインはあなた自身が行えるよう、そこで停止します。手動で設定したい場合は、これが設定のすべてです。

Terminal
grok mcp add --transport http fopost https://api.fopost.com/mcp
AIエージェント向けの手順プレーンなMarkdown版
## For AI agents reading this page

You are reading https://fopost.com/agents/grok-build. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives Grok Build tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Grok Build 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 Build discovers the sign-in from the server.

### 1. Register the server

Run this command. It adds the server to ~/.grok/config.toml. No headers and no API key.

Terminal:

```
grok mcp add --transport http fopost https://api.fopost.com/mcp
```

### 2. Sign in

A browser window opens for the user to sign in the first time the server is used, or press i on the server in /mcps. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

grok mcp doctor fopost reports it as connected, and its tools appear as fopost__<tool>. 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.

### No browser (headless machines only)

Use this only when the machine has no browser to sign in with. Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and to put it in the config themselves, then run the local package over stdio:

~/.grok/config.toml:

```
[mcp_servers.fopost]
command = "npx"
args = ["-y", "@fopost/mcp"]
env = { FOPOST_API_KEY = "your-api-key" }
```

### References

- This block as markdown: https://fopost.com/agents/grok-build/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs

コマンド1つ

grok mcp addがエントリを書き込みます。

キーではなくサインイン

GrokがブラウザでFoPostを開き、アクセスの承認を求めます。

承認が先

公開は、あなたが受け入れる提案を経て行われます。下書きが勝手に公開されることはありません。

セットアップ

サーバーを追加して、サインイン

このコマンドで~/.grok/config.tomlにhttps://api.fopost.com/mcpが追加されます。サーバーを初めて使うときにブラウザが開くので、FoPostにサインインします。grok mcp doctor fopostで接続を確認できます。

無料で始める
ターミナル
grok mcp add --transport http fopost https://api.fopost.com/mcp
grok mcp doctor fopost

編集するファイルなし

設定はコマンドが書き込みます。

設定にキーは不要

キーを貼り付ける代わりにサインインします。

まず確認

接続済みアカウントの一覧をGrokに出してもらいましょう。

リリース

マージしたPRを投稿に

変更内容の要約をGrokに頼み、draft_post_variantsでネットワークごとに投稿を整え、get_queue_slotsで予約枠に入れてもらいます。最後はpropose_publishで、あなたが承認します。

1週間を計画する
コンポーザーで複数のネットワーク向けに整えた1つの投稿

draft_post_variants

ネットワークごとのバージョン。

get_queue_slots

キューの次の空き時間。

propose_publish

何かが公開される前に、あなたが承認します。

確認

届いたかどうかを確認

読み取りツールが、何が公開されたか、再接続が必要なアカウントはどれか、受信箱に何が届いているかを報告します。

無料で始める
セッション
> What went out today?

fopost__list_posts shows 2 of 2 published.
fopost__list_inbox has 3 new comments.

list_posts

最近の投稿とそのステータス。

get_account_health

再接続が必要なアカウント。

list_inbox

コメント、メンション、メッセージ。

ヘッドレス

マシンにブラウザがない場合

サーバーやCIには、サインインに使うブラウザがありません。代わりにダッシュボードでAPIキーを作成し、ローカルパッケージをstdioで実行してください。キーはリポジトリに含めないでください。

~/.grok/config.toml
[mcp_servers.fopost]
command = "npx"
args = ["-y", "@fopost/mcp"]
env = { FOPOST_API_KEY = "your-api-key" }

Grok Buildに関するよくある質問

APIキーは必要ですか?

いいえ。Grok Buildがブラウザ経由でFoPostにサインインさせます。

Grokアプリと同じものですか?

いいえ。このページはターミナルエージェントのGrok Build向けです。Grokアプリには専用のページがあります。

サインインは後からでもできますか?

はい。/mcpsを開いてfopostを選び、iを押すとサインインできます。

確認なしで投稿されることはありますか?

いいえ。公開は、何かが送信される前にあなたが承認する提案を経て行われます。

AIクレジットを使いますか?

消費するのは、AIで文章を書くFoPostのツールだけです。一覧表示と予約では消費されません。

Grok BuildからFoPostを操作

無料で始められ、MCPサーバーも含まれています。セットアップの1行をエージェントに貼り付けてサインインし、そこから最初の投稿を予約しましょう。

無料で始める