FoPost per OpenCode
OpenCode, l'agente di coding open source, si collega ai server MCP remoti tramite URL. Aggiungi FoPost con un comando, accedi dal browser e OpenCode può pianificare e programmare i post per te.
Incolla questo in OpenCode
Configura FoPost da fopost.com/agents/opencode- Server MCP in hosting
- 31 reti
- Nessuna chiave API
OpenCode scrive le bozze. Tu approvi. Poi si pubblica.
Attiva di default
- 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
Scegli un agente per copiare il suo prompt di configurazione.
L'agente può scrivere da solo la sua configurazione. Dagli il link.
Incolla la riga qui sopra in OpenCode. Legge questa pagina, aggiunge il server e si ferma per farti accedere a FoPost di persona. Preferisci farlo a mano? Questa è tutta la configurazione.
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"fopost": {
"type": "remote",
"url": "https://api.fopost.com/mcp"
}
}
}## For AI agents reading this page
You are reading https://fopost.com/agents/opencode. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives OpenCode tools for posts, the calendar, the inbox and analytics. Follow these steps to connect OpenCode 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; OpenCode discovers the sign-in from the server.
### 1. Register the server
Run this command, or add the entry to ~/.config/opencode/opencode.json (every project) or opencode.json in the project, merged into any existing mcp object. No headers and no API key.
Terminal:
```
opencode mcp add fopost --global --url https://api.fopost.com/mcp
```
### 2. Sign in
Run opencode mcp auth fopost, or /mcps inside OpenCode. A browser window opens for the user to sign in. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
opencode mcp list shows fopost 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:
~/.config/opencode/opencode.json:
```
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}
```
### References
- This block as markdown: https://fopost.com/agents/opencode/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsUn solo comando
opencode mcp add scrive la voce per te.
Accesso dal browser
OpenCode apre FoPost nel browser per approvare l'accesso.
Prima l'approvazione
La pubblicazione passa da una proposta che accetti. Le bozze non escono mai da sole.
Aggiungi il server, poi accedi
Il comando aggiunge https://api.fopost.com/mcp alla configurazione globale di OpenCode. Ometti --global per aggiungerlo a un solo progetto. Poi esegui opencode mcp auth fopost e approva l'accesso in FoPost.
Inizia gratisopencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopostGlobale o di progetto
Usalo ovunque o in un solo repository.
Nessuna chiave nella configurazione
Accedi invece di incollare una chiave.
Prima una verifica
opencode mcp list lo mostra come connesso.
Una settimana di post da un solo prompt
Chiedi a OpenCode di trasformare gli articoli della settimana in post con repurpose_url, adattare ciascuno con draft_post_variants e inserirli negli slot con get_queue_slots. Chiude con propose_publish, che accetti tu.
Pianifica la tua settimana
repurpose_url
Un articolo diventa una serie di post.
draft_post_variants
Una versione per ogni rete.
get_calendar
Cosa è già in programma.
Chiedi se è arrivato
Gli strumenti di lettura riferiscono cosa è stato pubblicato, quali account vanno ricollegati e cosa ti aspetta nella posta in arrivo.
Inizia gratis> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
I post recenti e il loro stato.
get_account_health
Quali account vanno ricollegati.
list_inbox
Commenti, menzioni e messaggi.
Nessun browser sulla macchina?
Su un server o in CI non c'è un browser con cui accedere. Crea una chiave API nella dashboard ed esegui invece il pacchetto locale tramite stdio. Tieni la chiave fuori dal tuo repository.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}OpenCode: le risposte alle tue domande
Mi serve una chiave API?
Dice che serve l'autenticazione. E ora?
Pubblica senza chiedere?
Perché gli strumenti iniziano con fopost_?
Usa i miei crediti IA?
Altri agenti
- 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
- LM Studio
- Gemini
- Perplexity
- Perplexity Computer
- Manus
- Mistral Vibe
- GitHub Copilot
- Cline
- Junie
- Continue
- Zed
- OpenAI dots
- Claude Duet
- Grok Build
- NanoClaw
- Paperclip
- Raycast
Usa FoPost da OpenCode
Iniziare è gratis e il server MCP è incluso. Incolla la riga di configurazione nel tuo agente, accedi e programma da lì il tuo primo post.
Inizia gratis