FoPost pour Grok Build

Grok Build, l'agent de code de xAI, se connecte à des serveurs MCP distants par URL. Ajoutez FoPost avec une seule commande, connectez-vous une fois, et Grok peut rédiger les posts de ce qu'il vient de livrer.

Collez ceci dans Grok Build

Configure FoPost à partir de fopost.com/agents/grok-build
  • Serveur MCP hébergé
  • 31 réseaux
  • Sans clé API
Tous les agents
Comment ça marche

Grok Build rédige. Vous approuvez. Puis c'est publié.

  • API REST
FoPost
VousApprouverApprouvé

Activée par défaut

  • 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

Choisissez un agent pour copier son prompt de configuration.

Configuration

L'agent peut écrire sa propre configuration. Donnez-lui le lien.

Collez la ligne ci-dessus dans Grok Build. Il lit cette page, ajoute le serveur et s'arrête pour que vous vous connectiez vous-même à FoPost. Vous préférez le faire à la main ? Voici toute la configuration.

Terminal
grok mcp add --transport http fopost https://api.fopost.com/mcp
Instructions pour les agents IAVersion markdown brute
## 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

Une seule commande

grok mcp add écrit l'entrée pour vous.

Une connexion, pas une clé

Grok ouvre FoPost dans le navigateur pour que vous autorisiez l'accès.

Validation d'abord

La publication passe par une proposition que vous acceptez. Les brouillons ne partent jamais seuls.

Configuration

Ajoutez le serveur, puis connectez-vous

La commande ajoute https://api.fopost.com/mcp à ~/.grok/config.toml. Une fenêtre du navigateur s'ouvre à la première utilisation du serveur : connectez-vous à FoPost. grok mcp doctor fopost confirme la connexion.

Commencer gratuitement
Terminal
grok mcp add --transport http fopost https://api.fopost.com/mcp
grok mcp doctor fopost

Aucun fichier à modifier

La commande écrit votre configuration.

Aucune clé dans la configuration

Vous vous connectez au lieu de coller une clé.

Vérifiez d'abord

Demandez à Grok de lister vos comptes connectés.

Livrer

Transformez une PR fusionnée en posts

Demandez à Grok de résumer ce qui a changé, d'adapter un post pour chaque réseau avec draft_post_variants et de les placer dans votre file avec get_queue_slots. Il termine par propose_publish, que vous acceptez.

Planifier votre semaine
Un post adapté à plusieurs réseaux dans l'éditeur

draft_post_variants

Une version pour chaque réseau.

get_queue_slots

Les prochains créneaux libres de votre file.

propose_publish

Vous validez avant que quoi que ce soit ne parte.

Vérifier

Vérifiez que c'est bien parti

Les outils de lecture indiquent ce qui a été publié, quels comptes doivent être reconnectés et ce qui attend dans la boîte de réception.

Commencer gratuitement
Session
> What went out today?

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

list_posts

Les posts récents et leur statut.

get_account_health

Les comptes à reconnecter.

list_inbox

Commentaires, mentions et messages.

Sans navigateur

Pas de navigateur sur la machine ?

Sur un serveur ou en CI, il n'y a pas de navigateur pour se connecter. Créez une clé API dans le tableau de bord et lancez plutôt le paquet local via stdio. Gardez la clé hors de votre dépôt.

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

Grok Build : vos questions, nos réponses

Ai-je besoin d'une clé API ?

Non. Grok Build vous connecte à FoPost via le navigateur.

Est-ce la même chose que l'app Grok ?

Non. Cette page concerne Grok Build, l'agent de terminal. L'app Grok a sa propre page.

Puis-je me connecter plus tard ?

Oui. Ouvrez /mcps, choisissez fopost et appuyez sur i pour vous connecter.

Va-t-il publier sans demander ?

Non. La publication passe par une proposition que vous validez avant tout envoi.

Utilise-t-il mes crédits IA ?

Seuls les outils FoPost qui rédigent avec l'IA en consomment. Lister et programmer n'en consomment pas.

Utilisez FoPost depuis Grok Build

Le démarrage est gratuit et le serveur MCP est inclus. Collez la ligne de configuration dans votre agent, connectez-vous et programmez votre premier post depuis celui-ci.

Commencer gratuitement