FoPost voor OpenCode
OpenCode, de opensource coding-agent, koppelt via een URL aan externe MCP-servers. Voeg FoPost toe met één opdracht, log in via je browser, en OpenCode kan posts voor je plannen en inplannen.
Plak dit in OpenCode
Stel FoPost in via fopost.com/agents/opencode- Gehoste MCP-server
- 31 netwerken
- Geen API-sleutel
OpenCode schrijft. Jij keurt goed. Dan gaat het live.
Standaard aan
- 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
Kies een agent om de setup-prompt te kopiëren.
De agent kan zijn eigen configuratie schrijven. Geef hem de link.
Plak de regel hierboven in OpenCode. Hij leest deze pagina, voegt de server toe en stopt, zodat je je zelf kunt aanmelden bij FoPost. Doe je het liever met de hand? Dit is de hele configuratie.
{
"$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/docsEén opdracht
opencode mcp add schrijft het item voor je.
Inloggen in de browser
OpenCode opent FoPost in de browser om toegang te geven.
Eerst goedkeuren
Publiceren loopt via een voorstel dat jij accepteert. Concepten gaan nooit vanzelf de deur uit.
Voeg de server toe en log in
De opdracht voegt https://api.fopost.com/mcp toe aan je globale OpenCode-configuratie. Laat --global weg om hem aan één project toe te voegen. Voer daarna opencode mcp auth fopost uit en geef toegang in FoPost.
Gratis startenopencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopostGlobaal of per project
Gebruik het overal of in één repository.
Geen sleutel in de configuratie
Je logt in in plaats van een sleutel te plakken.
Eerst controleren
opencode mcp list toont hem als verbonden.
Een week aan posts uit één prompt
Vraag OpenCode de artikelen van deze week om te zetten in posts met repurpose_url, elke post af te stemmen met draft_post_variants en ze in te plannen met get_queue_slots. Het sluit af met propose_publish, dat jij accepteert.
Plan je week
repurpose_url
Een artikel wordt een reeks posts.
draft_post_variants
Een versie voor elk netwerk.
get_calendar
Wat al gepland staat.
Vraag of hij is aangekomen
De leestools rapporteren wat er is gepubliceerd, welke accounts opnieuw gekoppeld moeten worden en wat er in de inbox op je wacht.
Gratis starten> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
Recente posts en hun status.
get_account_health
Welke accounts opnieuw gekoppeld moeten worden.
list_inbox
Reacties, vermeldingen en berichten.
Geen browser op de machine?
Op een server of in CI is er geen browser om mee aan te melden. Maak een API-sleutel aan in het dashboard en draai in plaats daarvan het lokale pakket over stdio. Houd de sleutel buiten je repository.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Vragen over OpenCode, beantwoord
Heb ik een API-sleutel nodig?
Er staat dat authenticatie nodig is. Wat nu?
Post het zonder te vragen?
Waarom beginnen de tools met fopost_?
Gebruikt het mijn AI-credits?
Andere agents
- 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
Gebruik FoPost vanuit OpenCode
Beginnen is gratis en de MCP-server zit erbij. Plak de setupregel in je agent, meld je aan en plan je eerste post vanuit je agent in.
Gratis starten