OpenCode için FoPost
Açık kaynaklı kodlama ajanı OpenCode, uzak MCP sunucularına URL ile bağlanır. FoPost hizmetini tek komutla ekleyin, tarayıcınızda oturum açın; OpenCode sizin için gönderileri planlayıp zamanlayabilir.
Bunu OpenCode içine yapıştırın
FoPost kurulumunu fopost.com/agents/opencode adresinden yap- Barındırılan MCP sunucusu
- 31 ağ
- API anahtarı yok
OpenCode taslağı hazırlar. Siz onaylarsınız. Sonra yayına çıkar.
Varsayılan: açık
- 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
Kurulum promptunu kopyalamak için bir ajan seçin.
Ajan kendi yapılandırmasını yazabilir. Bağlantıyı ona verin.
Yukarıdaki satırı OpenCode içine yapıştırın. Bu sayfayı okur, sunucuyu ekler ve FoPost oturumunu kendiniz açabilmeniz için durur. Elle yapmayı mı tercih edersiniz? Yapılandırmanın tamamı bu.
{
"$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/docsTek komut
opencode mcp add girdiyi sizin için yazar.
Tarayıcıda oturum açma
OpenCode, erişimi onaylamanız için FoPost sayfasını tarayıcıda açar.
Önce onay
Yayınlama, kabul ettiğiniz bir öneriden geçer. Taslaklar asla kendiliğinden yayınlanmaz.
Sunucuyu ekleyin, ardından oturum açın
Komut, https://api.fopost.com/mcp adresini genel OpenCode yapılandırmanıza ekler. Tek bir projeye eklemek için --global seçeneğini kullanmayın. Ardından opencode mcp auth fopost komutunu çalıştırın ve FoPost üzerinde erişimi onaylayın.
Ücretsiz Başlaopencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopostGenel ya da proje bazında
Her yerde ya da tek bir depoda kullanın.
Yapılandırmada anahtar yok
Anahtar yapıştırmak yerine oturum açarsınız.
Önce kontrol edin
opencode mcp list onu bağlı olarak gösterir.
Tek bir istemden bir haftalık gönderi
OpenCode'dan bu haftanın makalelerini repurpose_url ile gönderilere dönüştürmesini, her birini draft_post_variants ile şekillendirmesini ve get_queue_slots ile zaman dilimlerine yerleştirmesini isteyin. Sonunda kabul ettiğiniz bir propose_publish gelir.
Haftanı Planla
repurpose_url
Bir makale bir dizi gönderiye dönüşür.
draft_post_variants
Her ağ için bir sürüm.
get_calendar
Zaten planlanmış olanlar.
Yayına çıktı mı, sorun
Okuma araçları neyin yayınlandığını, hangi hesapların yeniden bağlanması gerektiğini ve gelen kutusunda neyin beklediğini raporlar.
Ücretsiz Başla> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
Son gönderiler ve durumları.
get_account_health
Hangi hesapların yeniden bağlanması gerektiği.
list_inbox
Yorumlar, bahsetmeler ve mesajlar.
Makinede tarayıcı yok mu?
Bir sunucuda ya da CI'da oturum açmak için tarayıcı yoktur. Panelde bir API anahtarı oluşturun ve bunun yerine yerel paketi stdio üzerinden çalıştırın. Anahtarı deponuzun dışında tutun.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}OpenCode hakkında sorular ve yanıtlar
API anahtarına ihtiyacım var mı?
Kimlik doğrulama gerektiğini söylüyor. Şimdi ne yapmalıyım?
Sormadan paylaşım yapar mı?
Araçlar neden fopost_ ile başlıyor?
Yapay zeka kredilerimi kullanır mı?
Diğer ajanlar
- 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
FoPost'u OpenCode üzerinden çalıştırın
Başlamak ücretsiz ve MCP sunucusu dahil. Kurulum satırını ajanınıza yapıştırın, oturum açın ve ilk gönderinizi oradan planlayın.
Ücretsiz Başla