适用于 DeepSeek Harness 的 FoPost
DeepSeek Harness 是 DeepSeek 推出的开源智能体,通过 streamable HTTP 连接远程 MCP 服务器。用 API 密钥请求头添加 FoPost,智能体就能规划帖子、填满队列并汇报投递情况。
粘贴到 DeepSeek Harness 中
按照 fopost.com/agents/deepseek 设置 FoPost- 托管 MCP 服务器
- 33 个网络
- 在请求头中传 API 密钥
设置
智能体可以自己写配置。把链接给它就行。
把上面这行粘贴到 DeepSeek Harness 中。它会读取此页面并设置连接器,然后向你索要在控制台中创建的 API 密钥。想手动配置?完整配置就在这里。
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}'给 AI 智能体的说明纯 Markdown 版本
## 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托管服务器
无需在本地运行任何东西。Harness 直接与托管 URL 通信。
密钥不进配置文件
借助凭据模板,密钥保存在凭据存储中,而不是文件里。
先审批
发布要经过你接受的提案。草稿绝不会自行发出。
设置
在 Settings 中添加服务器
在 FoPost 控制台中创建 API 密钥。用 npx @deepseek-ai/dsh web 启动 Harness,打开 Settings,添加一个 MCP 服务器:传输方式为 streamable-http,URL 为 https://api.fopost.com/mcp,并添加一个从凭据读取密钥的 X-API-Key 请求头。同样的条目也可以写进你配置档案中的 cordis.patch.yml。
免费开始终端
npx @deepseek-ai/dsh web限定权限的密钥
先从读取权限开始,等你信任智能体后再加上发布权限。
每个密钥一个工作区
智能体只能看到一个工作区,绝不会看到其他客户的账户。
先验证
让智能体列出你已连接的账户。
规划
从一份简报到一周的帖子
请它围绕一次发布准备一周的帖子。智能体会用 create_draft_post 撰写每条草稿,用 draft_post_variants 调整,用 get_queue_slots 找到时段,最后用 propose_publish 交给你确认。
规划你的一周
create_draft_post
每条帖子都从草稿开始。
repurpose_url
一篇文章变成一组帖子。
get_queue_slots
接下来的空闲时段。
会话
> Did yesterday's posts go out?
Agent: list_posts shows 4 of 4 published.
get_account_health: all accounts connected.list_posts
最近的帖子及其状态。
get_account_health
哪些账户需要重新连接。
list_inbox
需要回复的评论和提及。
关于 DeepSeek Harness 的常见问题解答
在 DeepSeek 聊天应用中能用吗?
本页介绍的是 DeepSeek Harness,即 DeepSeek 发布的开源智能体。它目前处于开发者预览阶段,设置可能会随版本变化。
为什么用 API 密钥而不是登录?
Harness 向远程服务器发送固定的请求头,不会运行登录流程,因此使用限定权限的 API 密钥进行认证。
密钥放在哪里?
放在 Harness 的凭据存储中。X-API-Key 请求头通过凭据模板读取它,因此配置中从不包含密钥本身。
它会不经询问就发布吗?
不会。在发送任何内容之前,发布都要经过你批准的提案。
会消耗我的 AI 额度吗?
只有用 AI 写作的 FoPost 工具才会消耗。列出内容和排期都不会。