DeepSeek Harness向けFoPost
DeepSeekのオープンソースエージェントDeepSeek Harnessは、streamable HTTPでリモートMCPサーバーに接続します。APIキーヘッダーを付けてFoPostを追加すれば、エージェントが投稿の計画、キューの補充、配信状況の報告を行います。
DeepSeek Harnessに貼り付けてください
fopost.com/agents/deepseekを参照してFoPostをセットアップしてください- ホスト型MCPサーバー
- 33のネットワーク
- ヘッダーでAPIキーを送信
設定はエージェント自身が書けます。リンクを渡すだけです。
上の1行をDeepSeek Harnessに貼り付けてください。このページを読んでコネクタを設定し、ダッシュボードで作成したAPIキーを求めます。手動で設定したい場合は、これが設定のすべてです。
- 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}'## 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」を開き、トランスポートにstreamable-http、URLにhttps://api.fopost.com/mcp、認証情報からキーを読み込むX-API-Keyヘッダーを指定してMCPサーバーを追加します。同じエントリをプロフィールのcordis.patch.ymlに書くこともできます。
無料で始めるnpx @deepseek-ai/dsh webスコープ付きキー
最初は読み取りスコープで始め、エージェントを信頼できたら公開の権限を追加しましょう。
キーごとに1つのワークスペース
エージェントが見られるのは1つのワークスペースだけ。他のクライアントのアカウントは見えません。
まず確認
接続済みアカウントの一覧をエージェントに出してもらいましょう。
指示書から1週間分の投稿へ
ローンチについて1週間分の投稿を依頼します。エージェントはcreate_draft_postで各投稿を下書きし、draft_post_variantsで整え、get_queue_slotsで時間を見つけ、最後にpropose_publishであなたの承認を求めます。
1週間を計画する
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のチャットアプリでも使えますか?
なぜサインインではなくAPIキーなのですか?
キーはどこに置きますか?
確認なしで投稿されることはありますか?
AIクレジットは消費されますか?
DeepSeek HarnessからFoPostを操作
無料で始められ、MCPサーバーも含まれています。セットアップの1行をエージェントに貼り付けてサインインし、そこから最初の投稿を予約しましょう。
無料で始める