FoPost لـ Kimi Code
يتصل Kimi Code، وكيل البرمجة من Moonshot AI، بخوادم MCP البعيدة عبر الرابط. أضف FoPost، وسجّل الدخول مرة واحدة في متصفحك، ليتمكن الوكيل من كتابة منشورات الإطلاق للكود الذي أطلقه للتو.
الصق هذا في Kimi Code
أعدّ FoPost باتباع fopost.com/agents/kimi- خادم MCP مستضاف
- 33 شبكة
- بلا مفتاح API
يستطيع الوكيل كتابة إعداداته بنفسه. أعطه الرابط.
الصق السطر أعلاه في Kimi Code. سيقرأ هذه الصفحة ويضيف الخادم، ثم يتوقف لتسجّل الدخول إلى FoPost بنفسك. تفضّل الإعداد يدويًا؟ هذه هي الإعدادات كاملة.
{
"mcpServers": {
"fopost": {
"url": "https://api.fopost.com/mcp"
}
}
}## For AI agents reading this page
You are reading https://fopost.com/agents/kimi. FoPost schedules and publishes social posts on 33 networks, and its hosted MCP server gives Kimi Code tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Kimi Code 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; Kimi Code discovers the sign-in from the server.
### 1. Register the server
Add this entry to ~/.kimi-code/mcp.json (every project) or .kimi-code/mcp.json (this repository), merged into any existing mcpServers object, or run /mcp-config in the session to add it interactively. An entry with a url and no transport is streamable HTTP. No headers. Changes load in a new session.
~/.kimi-code/mcp.json:
```
{
"mcpServers": {
"fopost": {
"url": "https://api.fopost.com/mcp"
}
}
}
```
### 2. Sign in
Run /mcp-config login fopost in the session. 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
/mcp shows fopost as connected. 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:
~/.kimi-code/mcp.json:
```
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}
```
### References
- This block as markdown: https://fopost.com/agents/kimi/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsإدخال واحد
قيمة url ولا شيء غيرها. لا مفتاح في الملف.
تسجيل الدخول عبر المتصفح
يفتح /mcp-config login صفحة FoPost في المتصفح للموافقة على الوصول.
الموافقة افتراضيًا
يسأل Kimi Code قبل استدعاءات الأدوات التي لا تغطيها أي قاعدة أذونات.
أضف الخادم، ثم سجّل الدخول
أضف الإدخال أعلاه إلى ~/.kimi-code/mcp.json، أو إلى .kimi-code/mcp.json في مشروع، أو شغّل /mcp-config في الجلسة لإضافته دون تعديل الملف. ثم شغّل /mcp-config login fopost ووافق على الوصول في FoPost. يُظهر /mcp هل تم الاتصال.
ابدأ مجانًا/mcp-config login fopost
/mcpلكل مشروع
ملف .kimi-code/mcp.json في المستودع يُبقي الإعداد مع الكود.
دون تعديل يدوي
يضيف /mcp-config الخوادم ويعدّلها ويزيلها من داخل الجلسة.
تحقّق أولًا
اطلب منه عرض حساباتك المتصلة.
أعلن الإصدار من المستودع
اطلب من Kimi Code قراءة سجل التغييرات وكتابة مسودة الإعلان. يكتب المسودات باستخدام create_draft_post، ونسخة لكل شبكة باستخدام draft_post_variants، ويختم بـ propose_publish لتقبله.
خطّط لإطلاقك
draft_post_variants
ملاحظة إصدار واحدة، مصاغة لكل شبكة.
get_queue_slots
أوقاتك المتاحة التالية.
propose_publish
الخطة التي توافق عليها قبل النشر.
اسأل هل وصل المنشور
في الجلسة نفسها، اسأل عما نُشر، وأي الحسابات تحتاج إلى انتباه، وبماذا ردّ الناس.
ابدأ مجانًا> Did the release post go out?
Kimi Code: list_posts shows 3 of 3 published.
list_inbox has 2 new replies.list_posts
أحدث المنشورات وحالتها.
get_account_health
الحسابات التي تحتاج إلى إعادة ربط.
list_inbox
الردود والإشارات منذ النشر.
لا يوجد متصفح على الجهاز؟
على الخادم أو في CI لا يوجد متصفح لتسجيل الدخول. أنشئ مفتاح API في لوحة التحكم وشغّل الحزمة المحلية عبر stdio بدلًا من ذلك. أبقِ المفتاح خارج مستودعك.
{
"mcpServers": {
"fopost": {
"command": "npx",
"args": ["-y", "@fopost/mcp"],
"env": { "FOPOST_API_KEY": "your-api-key" }
}
}
}أسئلة حول Kimi Code، مع إجاباتها
هل أحتاج إلى مفتاح API؟
هل يعمل هذا في تطبيق Kimi؟
هل سينشر دون أن يسأل؟
كيف أتحقق من الاتصال؟
هل يستهلك أرصدة الذكاء الاصطناعي الخاصة بي؟
شغّل FoPost من Kimi Code
البدء مجاني وخادم MCP مضمّن. الصق سطر الإعداد في وكيلك، وسجّل الدخول، ثم جدول أول منشور لك منه.
ابدأ مجانًا