FoPost cho Hermes Agent
Trỏ Hermes Agent đến server FoPost được lưu trữ, chạy một lệnh đăng nhập, và agent của bạn có ngay lịch mạng xã hội: bản nháp, khung giờ trống, trạng thái phân phối và hộp thư, còn việc đăng bài thì chờ bạn phê duyệt.
Dán nội dung này vào Hermes Agent
Thiết lập FoPost từ fopost.com/agents/hermes-agent- MCP server lưu trữ sẵn
- 33 mạng
- Không cần khóa API
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 Hermes Agent. 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.
mcp_servers:
fopost:
url: "https://api.fopost.com/mcp"
auth: oauth## For AI agents reading this page
You are reading https://fopost.com/agents/hermes-agent. FoPost schedules and publishes social posts on 33 networks, and its hosted MCP server gives Hermes Agent tools for posts, the calendar, the inbox and analytics. Follow these steps to connect Hermes Agent 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; Hermes Agent discovers the sign-in from the server.
### 1. Register the server
Add this block to ~/.hermes/config.yaml, merged into any existing mcp_servers map.
~/.hermes/config.yaml:
```
mcp_servers:
fopost:
url: "https://api.fopost.com/mcp"
auth: oauth
```
### 2. Sign in
Run hermes mcp login fopost from a separate terminal (add --flow device on a machine without a browser). The user signs in in the browser. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.
### 3. Verify before you continue
hermes mcp test fopost succeeds; then /reload-mcp (or a new session) loads the tools. 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:
~/.hermes/config.yaml:
```
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/hermes-agent/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docsCấu hình đơn giản
Một mục dưới mcp_servers. Không có khóa API trong tệp.
Đăng nhập một lần
hermes mcp login mở FoPost trong trình duyệt và lưu kết quả cho agent.
Hỏi trước khi ghi
Khi trust để ở untrusted, Hermes hỏi trước mọi công cụ làm thay đổi dữ liệu.
Thêm mục cấu hình, rồi đăng nhập
Thêm khối ở trên vào ~/.hermes/config.yaml, rồi chạy hermes mcp login fopost từ một terminal mới và cấp quyền truy cập trong FoPost. Hermes tự đăng ký và tự động đăng nhập. Trong phiên đang chạy, /reload-mcp sẽ nạp thay đổi.
Bắt đầu miễn phíhermes mcp login fopostKhông cần vội
Lệnh đăng nhập chờ tối đa năm phút để bạn hoàn tất.
Chọn công cụ
tools.include hoặc tools.exclude giới hạn những gì agent có thể gọi.
Kiểm tra trước
Nhờ agent liệt kê các tài khoản đã kết nối của bạn.
Để agent giữ hàng đợi luôn đầy
Giao cho Hermes một việc thường trực: biến bài viết mới thành bài đăng bằng repurpose_url, điều chỉnh từng bài bằng draft_post_variants và xếp lịch bằng get_queue_slots. Khi kế hoạch sẵn sàng, nó gọi propose_publish và chờ bạn.
Lên kế hoạch cho tuần của bạn
repurpose_url
Một bài viết thành một loạt bài đăng.
draft_post_variants
Một phiên bản cho từng mạng.
get_calendar
Những gì đã xếp lịch trong tuần này.
Báo cáo ngay trong cuộc trò chuyện
Hỏi agent bài nào đã đăng, bài nào thất bại và điều gì cần trả lời, ngay trong phiên đã lên kế hoạch cho tuần.
Bắt đầu miễn phí> Anything I should look at today?
Hermes: list_posts shows 2 published, 0 failed.
list_inbox has 3 comments waiting for a reply.list_posts
Bài nào đang chờ, đã đăng hoặc thất bại.
list_inbox
Bình luận, lượt nhắc và tin nhắn.
get_account_health
Các tài khoản cần kết nối lại.
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-keyGiải đáp câu hỏi về Hermes Agent
Tôi có cần khóa API không?
Thông tin xác thực được lưu ở đâu?
Nó có đăng bài mà không hỏi không?
Các công cụ không xuất hiện. Giờ làm gì?
Nó có dùng tín dụng AI của tôi không?
Chạy FoPost từ Hermes Agent
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í