# 在 DeepSeek Harness 里用 OneFeedAPI

让 DeepSeek Harness 读到 21 个平台的公开数据。填一次 5 项配置：5 个工具，253 个接口，一次 $0.0003 起，失败的调用不收费。能不能让 DeepSeek Harness 查小红书、抖音？可以：接上以后它直接读公开数据，三步接好。

更新于 2026-11-21

DeepSeek Harness 要连的地址：`https://onefeedapi.com/mcp`. 一个地址，一个请求头：把你的 API Key 作为 Bearer Token。

## 接入步骤

在 DeepSeek Harness 里三步。步骤照这个客户端自己的文档写的。

1. 打开添加 MCP 服务的地方：DeepSeek Harness：在 $DSH_HOME/profiles/<配置名>/cordis.patch.yml 里加一条 @deepseek-ai/dsh-mcp-client，再重启或重新加载配置

2. 把这几项填上：照这里写的填。Key 是填进客户端、由它保管的。

| 字段 | 填什么 |
| --- | --- |
| serverName | onefeedapi |
| transport | streamable-http |
| url | https://onefeedapi.com/mcp |
| headers | Authorization：Bearer 加空格加你的 API Key |
| toolCallTimeoutMs | 300000 |

3. 保存，然后让它列出工具：应该是下面这五个。

## 确认接好了

让它把工具列出来。应该得到下面这样的回答，这一步不花钱。

> 列出 OneFeedAPI 的工具。

OneFeedAPI 已连接，有 5 个工具：`find` 按需求找接口，`describe` 看参数和价格，`call` 调用（只有它扣费），`read_more` 在 24 小时内重读结果，`account` 看余额。目录里有 21 个平台的 253 个接口。

## 第一次对话

一个问题、它调了哪几次、每次多少钱。

> 这个公众号最近发了哪些文章？

|  |  |  |
| --- | --- | --- |
| `find({ query: "公众号 最近 文章" })` | 找到 wechat_mp.accounts.articles.list · 微信公众号文章列表 · 一次 $0.0200 | 免费 |
| `call({ capability: "wechat_mp.accounts.articles.list", id: "gh_13c97ab93ce8", max_price: "0.02" })` | 一页约 10 篇文章 · 精简档 | $0.0200 |

2 次工具调用 · 1 次扣费 · $0.0200

## 在 DeepSeek Harness 里的几个提示

- **给它单独一把 Key.** 在控制台建一把叫“DeepSeek Harness”的 Key，设好每天的预算。预算用完，调用就停，账户里别的不受影响。
- **让不花钱的工具免确认.** 如果 DeepSeek Harness 运行工具前会先问你，放行 `find`、`describe`、`read_more` 和 `account`。想逐笔确认扣费，就让 `call` 保持“询问”。
- **返回放得进上下文.** OneFeedAPI 的返回在约 20 KB 处按条目截断，并写明怎么往下读；剩下的用 `read_more` 取，不扣费。
- **给每次调用设最高价.** 让它每次调用都带 `max_price`。可能超过这个价的调用，在扣费前就被拒绝。

## 在 DeepSeek Harness 里要知道的

- DeepSeek Harness 还在开发者预览阶段，配置可能会变。它自带的客户端支持固定请求头，正好放 Key。
- 它默认的工具超时约 60 秒，建议调长。

### 第一次调用

问它：“用 OneFeedAPI 列出这个公众号最近的文章。”报 401 就检查 Key 和前面的 Bearer。

照 DeepSeek Harness 自己的文档写，读取于 2026-11-04。菜单位置会变，和对方页面不一致时以对方为准。

- https://github.com/deepseek-ai/deepseek-harness/discussions/8202

## 遇到问题时

| 你看到的 | 原因 | 怎么办 |
| --- | --- | --- |
| DeepSeek Harness 里看不到 OneFeedAPI 的工具 | 加配置之前 DeepSeek Harness 就已经开着了，或者地址和上面的不一样。 | 核对一下配置，然后把 DeepSeek Harness 退出再打开。 |
| `find` 能用，`call` 报 `unauthorized` | Key 没有从 DeepSeek Harness 送到服务端。两个不要 Key 的工具照常能用。 | 看看 Key 是不是放在配置读取的那个地方、是不是以 `dx_` 开头，然后重启。 |
| `call` 报 `insufficient_balance` 或 `key_budget_exceeded` | 余额或这把 Key 的预算不够这一次的价格。没有扣费。 | 让它跑一次 `account`，然后充值或者调高这把 Key 的预算。 |

## 全部客户端

- [在 Claude Code 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/claude-code/)
- [在 Cursor 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/cursor/)
- [在 Codex 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/codex/)
- [在 n8n 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/n8n/)
- [在 Cherry Studio 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/cherry-studio/)
- [在 Trae 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/trae/)
- [在扣子 Coze 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/coze/)
- [在 Dify 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/dify/)
- [在 ChatGPT 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/chatgpt/)
- [在 Claude 里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/claude/)
- [在飞书里用 OneFeedAPI](https://onefeedapi.com/zh/integrations/feishu/)
- [MCP 服务](https://onefeedapi.com/zh/mcp/)
- [agent 自己接入时读的那一页](https://onefeedapi.com/zh/agents/)

---

按目录修订号 dc959672dd18e2d0、价目版本 21生成。 [网页版](https://onefeedapi.com/zh/integrations/deepseek-harness/)
