FoPost para OpenCode
OpenCode, el agente de código de código abierto, se conecta a servidores MCP remotos por URL. Añade FoPost con un solo comando, inicia sesión en tu navegador y OpenCode podrá planificar y programar publicaciones por ti.
Pega esto en OpenCode
Configura FoPost desde fopost.com/agents/opencode- Servidor MCP alojado
- 31 redes
- Sin clave de API
OpenCode redacta. Tú apruebas. Y se publica.
Activada por defecto
- 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
Elige un agente para copiar su prompt de configuración.
El agente puede escribir su propia configuración. Dale el enlace.
Pega la línea de arriba en OpenCode. Lee esta página, añade el servidor y se detiene para que inicies sesión en FoPost tú mismo. ¿Prefieres hacerlo a mano? Esta es toda la configuración.
{
"$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 comando
opencode mcp add escribe la entrada por ti.
Inicio de sesión en el navegador
OpenCode abre FoPost en el navegador para que apruebes el acceso.
Primero, tu aprobación
La publicación pasa por una propuesta que aceptas. Los borradores nunca salen solos.
Añade el servidor y luego inicia sesión
El comando añade https://api.fopost.com/mcp a tu configuración global de OpenCode. Omite --global para añadirlo a un solo proyecto. Después ejecuta opencode mcp auth fopost y aprueba el acceso en FoPost.
Empieza gratisopencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopostGlobal o por proyecto
Úsalo en todas partes o en un solo repositorio.
Ninguna clave en la configuración
Inicias sesión en lugar de pegar una clave.
Compruébalo primero
opencode mcp list lo muestra como conectado.
Una semana de publicaciones con un solo prompt
Pide a OpenCode que convierta los artículos de esta semana en publicaciones con repurpose_url, adapte cada una con draft_post_variants y las coloque en tu cola con get_queue_slots. Termina con propose_publish, que tú aceptas.
Planifica tu semana
repurpose_url
Un artículo se convierte en una serie de publicaciones.
draft_post_variants
Una versión para cada red.
get_calendar
Lo que ya está reservado.
Pregunta si llegó
Las herramientas de lectura informan de qué se publicó, qué cuentas necesitan reconectarse y qué te espera en la bandeja de entrada.
Empieza gratis> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
Publicaciones recientes y su estado.
get_account_health
Qué cuentas necesitan reconectarse.
list_inbox
Comentarios, menciones y mensajes.
¿No hay navegador en la máquina?
En un servidor o en CI no hay navegador para iniciar sesión. Crea una clave de API en el panel y ejecuta el paquete local por stdio. Mantén la clave fuera de tu repositorio.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}Preguntas sobre OpenCode, respondidas
¿Necesito una API key?
Dice que necesita autenticación. ¿Y ahora qué?
¿Publicará sin preguntar?
¿Por qué las herramientas empiezan por fopost_?
¿Usa mis créditos de IA?
Otros agentes
- 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 desde OpenCode
Empezar es gratis y el servidor MCP está incluido. Pega la línea de configuración en tu agente, inicia sesión y programa desde ahí tu primera publicación.
Empieza gratis