FoPost cho DeepSeek Harness

DeepSeek Harness, agent mã nguồn mở của DeepSeek, kết nối với remote MCP server qua streamable HTTP. Thêm FoPost với header khóa API, và agent có thể lên kế hoạch bài đăng, lấp đầy hàng đợi và báo cáo tình trạng phân phối.

Dán nội dung này vào DeepSeek Harness

Thiết lập FoPost từ fopost.com/agents/deepseek
  • MCP server lưu trữ sẵn
  • 33 mạng
  • Khóa API trong header
Tất cả agent
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 DeepSeek Harness. Nó đọc trang này và thiết lập connector, rồi yêu cầu khóa API bạn tạo trong bảng điều khiển. Muốn làm thủ công? Đây là toàn bộ cấu hình.

Harness MCP client entry
- id: mcp-fopost
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: fopost
    transport: streamable-http
    url: https://api.fopost.com/mcp
    expandTemplates: true
    headers:
      X-API-Key: '${credential:FOPOST_API_KEY}'
Hướng dẫn cho AI agentPhiên bản markdown thuần
## For AI agents reading this page

You are reading https://fopost.com/agents/deepseek. FoPost schedules and publishes social posts on 33 networks, and its hosted MCP server gives DeepSeek Harness tools for posts, the calendar, the inbox and analytics. Follow these steps to connect DeepSeek Harness to it.

- Server: https://api.fopost.com/mcp
- Transport: streamable HTTP
- Auth: DeepSeek Harness cannot run the OAuth sign-in for a remote server, so it sends an API key in the X-API-Key header. The user creates the key; you never see it in chat.

### 1. Register the server

The official harness MCP client sends static headers only and has no OAuth sign-in, so this client uses an API key. Add this entry to the harness MCP client config (or Settings > MCP in npx @deepseek-ai/dsh web), with the key read from a credential named FOPOST_API_KEY.

Harness MCP client entry:

```
- id: mcp-fopost
  name: '@deepseek-ai/dsh-mcp-client'
  config:
    serverName: fopost
    transport: streamable-http
    url: https://api.fopost.com/mcp
    expandTemplates: true
    headers:
      X-API-Key: '${credential:FOPOST_API_KEY}'
```

### 2. Sign in

Ask the user to create an API key in the FoPost dashboard (https://fopost.com/dashboard/api-keys) and store it as the FOPOST_API_KEY credential themselves. Never ask them to paste the key into the chat. Ask the user before approving access or creating a FoPost account for them, and never enter their credentials yourself.

### 3. Verify before you continue

The harness lists the fopost tools, and list_accounts returns data. 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.

### References

- This block as markdown: https://fopost.com/agents/deepseek/agent.md
- Every client: https://fopost.com/agents
- Docs: https://fopost.com/docs

Server được lưu trữ

Không có gì phải chạy cục bộ. Harness kết nối thẳng với URL được lưu trữ.

Khóa nằm ngoài cấu hình

Nhờ mẫu thông tin xác thực, khóa nằm trong kho thông tin xác thực chứ không nằm trong tệ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.

Thiết lập

Thêm server trong Settings

Tạo khóa API trong bảng điều khiển FoPost. Khởi động harness bằng npx @deepseek-ai/dsh web, mở Settings và thêm một MCP server với transport streamable-http, URL https://api.fopost.com/mcp và header X-API-Key đọc khóa từ một thông tin xác thực. Mục tương tự cũng có thể đặt trong cordis.patch.yml của hồ sơ bạn.

Bắt đầu miễn phí
Terminal
npx @deepseek-ai/dsh web

Khóa giới hạn phạm vi

Bắt đầu với phạm vi đọc, và thêm quyền đăng khi bạn đã tin tưởng agent.

Mỗi khóa một không gian làm việc

Agent chỉ thấy một không gian làm việc, không bao giờ thấy tài khoản của khách hàng khác.

Kiểm tra trước

Nhờ agent liệt kê các tài khoản đã kết nối của bạn.

Lên kế hoạch

Từ một bản brief đến một tuần bài đăng

Yêu cầu bài đăng cho cả tuần về một đợt ra mắt. Agent soạn từng bài bằng create_draft_post, điều chỉnh bằng draft_post_variants, tìm khung giờ bằng get_queue_slots và 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
Một tháng bài đăng đã lên lịch trên lịch đăng bài

create_draft_post

Mọi bài đăng đều bắt đầu là bản nháp.

repurpose_url

Một bài viết thành một loạt bài đăng.

get_queue_slots

Các khung giờ trống tiếp theo của bạn.

Kiểm tra

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à những gì đã về hộp thư.

Bắt đầu miễn phí
Phiên làm việc
> Did yesterday's posts go out?

Agent: list_posts shows 4 of 4 published.
get_account_health: all accounts connected.

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 và lượt nhắc cần trả lời.

Giải đáp câu hỏi về DeepSeek Harness

Cách này có dùng được trong ứng dụng chat DeepSeek không?

Trang này nói về DeepSeek Harness, agent mã nguồn mở do DeepSeek phát hành. Nó đang ở giai đoạn developer preview, nên thiết lập có thể thay đổi giữa các bản phát hành.

Sao lại dùng khóa API thay vì đăng nhập?

Harness gửi các header cố định đến remote server và không chạy luồng đăng nhập, nên nó xác thực bằng một khóa API giới hạn phạm vi.

Khóa được đặt ở đâu?

Trong kho thông tin xác thực của harness. Header X-API-Key đọc khóa qua một mẫu thông tin xác thực, nên cấu hình không bao giờ chứa chính khóa đó.

Nó có đăng bài mà không hỏi không?

Không. Việc đăng bài đi qua một đề xuất mà bạn phê duyệt trước khi bất cứ thứ gì được gửi đi.

Nó có dùng tín dụng AI của tôi không?

Chỉ các công cụ FoPost viết bằng AI mới dùng. Liệt kê và lên lịch thì không.

Chạy FoPost từ DeepSeek Harness

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í