FoPost pour Cline

Cline, l'agent de code open source, se connecte à des serveurs MCP distants. Ajoutez FoPost par URL, cliquez sur Authenticate, et Cline peut planifier et programmer des posts pendant qu'il travaille.

Collez ceci dans Cline

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

Cline 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 Cline. 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.

cline_mcp_settings.json
{
  "mcpServers": {
    "fopost": {
      "type": "streamableHttp",
      "url": "https://api.fopost.com/mcp",
      "disabled": false
    }
  }
}
Instructions pour les agents IAVersion markdown brute
## For AI agents reading this page

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

### 1. Register the server

In the Cline panel, open MCP Servers, then the Remote Servers tab. Enter the name fopost and the URL https://api.fopost.com/mcp, choose Streamable HTTP, and click Add Server. Or add this entry under Configure MCP Servers; the type is required, or Cline falls back to SSE. No headers and no API key.

cline_mcp_settings.json:

```
{
  "mcpServers": {
    "fopost": {
      "type": "streamableHttp",
      "url": "https://api.fopost.com/mcp",
      "disabled": false
    }
  }
}
```

### 2. Sign in

Click Authenticate on the fopost server. A browser window opens for the user to sign in. In the Cline CLI, run cline mcp and choose Authorize OAuth. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

The MCP Servers list shows fopost with its tools. 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:

cline_mcp_settings.json:

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

### References

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

Un serveur distant

Ajoutez-le dans le panneau. Rien à installer.

Une connexion, pas une clé

Cline 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 authentifiez-vous

Dans le panneau Cline, ouvrez MCP Servers, puis Remote Servers. Saisissez fopost et https://api.fopost.com/mcp, choisissez Streamable HTTP et cliquez sur Add Server. Cliquez ensuite sur Authenticate et connectez-vous à FoPost.

Commencer gratuitement
cline_mcp_settings.json
{
  "mcpServers": {
    "fopost": {
      "type": "streamableHttp",
      "url": "https://api.fopost.com/mcp"
    }
  }
}

Éditeur ou CLI

Fonctionne dans l'extension et dans la CLI cline.

Aucune clé dans la configuration

Vous vous connectez au lieu de coller une clé.

Vérifiez d'abord

Les outils apparaissent sous MCP Servers.

Planifier

Une semaine de posts en un seul prompt

Demandez à Cline de transformer les articles de la semaine en posts avec repurpose_url, d'adapter chacun 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 mois de posts programmés dans le calendrier de publication

repurpose_url

Un article devient une série de posts.

draft_post_variants

Une version pour chaque réseau.

get_calendar

Ce qui est déjà prévu.

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
Tâche
> What went out today?

list_posts shows 3 of 3 published.
list_inbox has 2 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.

cline_mcp_settings.json
{
  "mcpServers": {
    "fopost": {
      "command": "npx",
      "args": ["-y", "@fopost/mcp"],
      "env": { "FOPOST_API_KEY": "your-api-key" }
    }
  }
}

Cline : vos questions, nos réponses

Ai-je besoin d'une clé API ?

Non. Cline vous connecte à FoPost via le navigateur.

Pourquoi le type est-il important ?

Sans "type": "streamableHttp", Cline se rabat sur l'ancien transport SSE.

Fonctionne-t-il dans la CLI Cline ?

Oui. Exécutez cline mcp add avec l'URL, puis cline mcp, et choisissez Authorize OAuth.

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 Cline

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