FoPost لـ OpenCode
يتصل OpenCode، وكيل البرمجة مفتوح المصدر، بخوادم MCP البعيدة عبر الرابط. أضف FoPost بأمر واحد، وسجّل الدخول في متصفحك، ليتمكن OpenCode من التخطيط لمنشوراتك وجدولتها.
الصق هذا في OpenCode
أعدّ FoPost باتباع fopost.com/agents/opencode- خادم MCP مستضاف
- 31 شبكة
- بلا مفتاح API
OpenCode يكتب المسودة. أنت توافق. ثم يُنشر.
مفعّلة افتراضيًا
- 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
اختر وكيلًا لنسخ طلب الإعداد الخاص به.
يستطيع الوكيل كتابة إعداداته بنفسه. أعطه الرابط.
الصق السطر أعلاه في OpenCode. سيقرأ هذه الصفحة ويضيف الخادم، ثم يتوقف لتسجّل الدخول إلى FoPost بنفسك. تفضّل الإعداد يدويًا؟ هذه هي الإعدادات كاملة.
{
"$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/docsأمر واحد
يكتب opencode mcp add الإدخال نيابة عنك.
تسجيل الدخول عبر المتصفح
يفتح OpenCode FoPost في المتصفح للموافقة على الوصول.
الموافقة أولًا
يمر النشر عبر مقترح تقبله. لا تُنشر المسودات من تلقاء نفسها أبدًا.
أضف الخادم، ثم سجّل الدخول
يضيف الأمر https://api.fopost.com/mcp إلى إعدادات OpenCode العامة. احذف --global لإضافته إلى مشروع واحد. ثم شغّل opencode mcp auth fopost ووافق على الوصول في FoPost.
ابدأ مجانًاopencode mcp add fopost --global --url https://api.fopost.com/mcp
opencode mcp auth fopostعام أو لمشروع
استخدمه في كل مكان أو في مستودع واحد.
لا مفتاح في الإعدادات
تسجّل الدخول بدلًا من لصق مفتاح.
تحقّق أولًا
يُظهره opencode mcp list على أنه متصل.
أسبوع من المنشورات من طلب واحد
اطلب من OpenCode تحويل مقالات هذا الأسبوع إلى منشورات باستخدام repurpose_url، وصياغة كل منها باستخدام draft_post_variants، وتوزيعها على الأوقات باستخدام get_queue_slots. ويختم بـ propose_publish لتقبله.
خطّط لأسبوعك
repurpose_url
مقال يتحول إلى سلسلة منشورات.
draft_post_variants
نسخة لكل شبكة.
get_calendar
ما هو محجوز بالفعل.
اسأل هل وصل المنشور
تُبلغ أدوات القراءة عما نُشر، وأي الحسابات تحتاج إلى إعادة ربط، وما ينتظر في صندوق الوارد.
ابدأ مجانًا> What went out today?
fopost_list_posts shows 2 of 2 published.
fopost_list_inbox has 3 new comments.list_posts
أحدث المنشورات وحالتها.
get_account_health
الحسابات التي تحتاج إلى إعادة ربط.
list_inbox
التعليقات والإشارات والرسائل.
لا يوجد متصفح على الجهاز؟
على الخادم أو في CI لا يوجد متصفح لتسجيل الدخول. أنشئ مفتاح API في لوحة التحكم وشغّل الحزمة المحلية عبر stdio بدلًا من ذلك. أبقِ المفتاح خارج مستودعك.
{
"mcp": {
"fopost": {
"type": "local",
"command": ["npx", "-y", "@fopost/mcp"],
"environment": { "FOPOST_API_KEY": "your-api-key" }
}
}
}أسئلة حول OpenCode، مع إجاباتها
هل أحتاج إلى مفتاح API؟
يقول إنه يحتاج إلى مصادقة. ماذا أفعل الآن؟
هل سينشر دون أن يسأل؟
لماذا تبدأ الأدوات بـ fopost_؟
هل يستهلك أرصدة الذكاء الاصطناعي الخاصة بي؟
وكلاء آخرون
- 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 من OpenCode
البدء مجاني وخادم MCP مضمّن. الصق سطر الإعداد في وكيلك، وسجّل الدخول، ثم جدول أول منشور لك منه.
ابدأ مجانًا