FoPost cho Grok Build
Grok Build, agent lập trình của xAI, kết nối với remote MCP server qua URL. Thêm FoPost bằng một lệnh, đăng nhập một lần, và Grok có thể viết bài đăng cho những gì nó vừa phát hành.
Dán nội dung này vào Grok Build
Thiết lập FoPost từ fopost.com/agents/grok-build- MCP server lưu trữ sẵn
- 31 mạng
- Không cần khóa API
Grok Build soạn nháp. Bạn phê duyệt. Rồi bài được đăng.
Bật sẵn
- 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
Chọn một tác nhân để sao chép prompt thiết lập.
Agent có thể tự viết cấu hình. Chỉ cần đưa nó đường link.
Dán dòng trên vào Grok Build. Nó đọc trang này, thêm server rồi dừng lại để bạn tự đăng nhập FoPost. Muốn làm thủ công? Đây là toàn bộ cấu hình.
grok mcp add --transport http fopost https://api.fopost.com/mcp## For AI agents reading this page
You are reading https://fopost.com/agents/grok-build. FoPost schedules and publishes social posts on 31 networks, and its hosted MCP server gives Grok Build tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Grok Build 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; Grok Build discovers the sign-in from the server.
### 1. Register the server
Run this command. It adds the server to ~/.grok/config.toml. No headers and no API key.
Terminal:
```
grok mcp add --transport http fopost https://api.fopost.com/mcp
```
### 2. Sign in
A browser window opens for the user to sign in the first time the server is used, or press i on the server in /mcps. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
grok mcp doctor fopost reports it 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:
~/.grok/config.toml:
```
[mcp_servers.fopost]
command = "npx"
args = ["-y", "@fopost/mcp"]
env = { FOPOST_API_KEY = "your-api-key" }
```
### References
- This block as markdown: https://fopost.com/agents/grok-build/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsMột lệnh
grok mcp add viết sẵn mục cấu hình cho bạn.
Đăng nhập, không cần khóa
Grok mở FoPost trong trình duyệt để bạn cấp quyền truy cập.
Phê duyệt trước
Việc đăng bài đi qua một đề xuất mà bạn chấp nhận. Bản nháp không bao giờ tự đăng.
Thêm server, rồi đăng nhập
Lệnh này thêm https://api.fopost.com/mcp vào ~/.grok/config.toml. Một cửa sổ trình duyệt mở ra ở lần đầu dùng server; hãy đăng nhập FoPost. grok mcp doctor fopost xác nhận đã kết nối.
Bắt đầu miễn phígrok mcp add --transport http fopost https://api.fopost.com/mcp
grok mcp doctor fopostKhông cần sửa tệp
Lệnh tự ghi vào cấu hình của bạn.
Không có key trong cấu hình
Bạn đăng nhập thay vì dán key.
Kiểm tra trước
Nhờ Grok liệt kê các tài khoản đã kết nối.
Biến một PR đã merge thành bài đăng
Nhờ Grok tóm tắt những gì đã thay đổi, điều chỉnh bài đăng cho từng mạng bằng draft_post_variants và xếp lịch bằng get_queue_slots. Nó kết thúc bằng propose_publish để bạn chấp nhận.
Lên kế hoạch cho tuần của bạn
draft_post_variants
Một phiên bản cho từng mạng.
get_queue_slots
Các khung giờ trống tiếp theo trong hàng đợi của bạn.
propose_publish
Bạn phê duyệt trước khi bất cứ thứ gì được đăng.
Hỏi xem bài đã lên chưa
Các công cụ đọc báo cáo bài nào đã đăng, tài khoản nào cần kết nối lại và điều gì đang chờ trong hộp thư.
Bắt đầu miễn phí> What went out today?
fopost__list_posts shows 2 of 2 published.
fopost__list_inbox has 3 new comments.list_posts
Bài đăng gần đây và trạng thái của chúng.
get_account_health
Tài khoản nào cần kết nối lại.
list_inbox
Bình luận, lượt nhắc và tin nhắn.
Máy không có trình duyệt?
Trên server hoặc trong CI không có trình duyệt để đăng nhập. Hãy tạo khóa API trong bảng điều khiển và chạy gói cục bộ qua stdio. Đừng để khóa trong kho mã của bạn.
[mcp_servers.fopost]
command = "npx"
args = ["-y", "@fopost/mcp"]
env = { FOPOST_API_KEY = "your-api-key" }Giải đáp câu hỏi về Grok Build
Tôi có cần khóa API không?
Đây có phải là ứng dụng Grok không?
Tôi có thể đăng nhập sau không?
Nó có đăng bài mà không hỏi không?
Nó có dùng tín dụng AI của tôi không?
Agent khác
- 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
- OpenCode
- LM Studio
- Gemini
- Perplexity
- Perplexity Computer
- Manus
- Mistral Vibe
- GitHub Copilot
- Cline
- Junie
- Continue
- Zed
- OpenAI dots
- Claude Duet
- NanoClaw
- Paperclip
- Raycast
Chạy FoPost từ Grok Build
Bắt đầu miễn phí và đã bao gồm MCP server. Dán dòng thiết lập vào agent của bạn, đăng nhập và lên lịch bài đăng đầu tiên từ đó.
Bắt đầu miễn phí