Hermes Agent向けFoPost

Hermes Agentにホスト型のFoPostサーバーを指定し、ログインコマンドを1つ実行すれば、エージェントがソーシャルカレンダーを扱えるようになります。下書き、空き枠、配信状況、受信箱まで。公開はあなたの承認を待ちます。

Hermes Agentに貼り付けてください

fopost.com/agents/hermes-agentを参照してFoPostをセットアップしてください
  • ホスト型MCPサーバー
  • 33のネットワーク
  • APIキー不要
すべてのエージェント
セットアップ

設定はエージェント自身が書けます。リンクを渡すだけです。

上の1行をHermes Agentに貼り付けてください。このページを読んでサーバーを追加し、FoPostへのサインインはあなた自身が行えるよう、そこで停止します。手動で設定したい場合は、これが設定のすべてです。

~/.hermes/config.yaml
mcp_servers:
  fopost:
    url: "https://api.fopost.com/mcp"
    auth: oauth
AIエージェント向けの手順プレーンなMarkdown版
## 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/docs

シンプルな設定

mcp_servers配下にエントリを1つ。ファイルにAPIキーは書きません。

サインインは一度だけ

hermes mcp loginがブラウザでFoPostを開き、結果をエージェント用に保存します。

書き込み時に確認

trustをuntrustedのままにしておけば、何かを変更するツールの前にHermesが確認します。

セットアップ

エントリを追加して、ログイン

上のブロックを~/.hermes/config.yamlに追加し、新しいターミナルからhermes mcp login fopostを実行して、FoPostでアクセスを承認します。Hermesは登録とサインインを自動で行います。実行中のセッションでは、/reload-mcpで変更が反映されます。

無料で始める
ターミナル
hermes mcp login fopost

急がなくて大丈夫

ログインは、サインインが終わるまで最大5分待ちます。

ツールを選ぶ

tools.includeやtools.excludeで、エージェントが呼び出せるツールを絞り込めます。

まず確認

接続済みアカウントの一覧をエージェントに出してもらいましょう。

計画

キューを満たすのはエージェントに

Hermesに定常タスクを任せましょう。新しい記事をrepurpose_urlで投稿に変え、draft_post_variantsで1つずつ整え、get_queue_slotsで枠に入れます。計画ができたらpropose_publishを呼び出し、あなたを待ちます。

1週間を計画する
公開カレンダーに並んだ1か月分の予約投稿

repurpose_url

記事が一連の投稿に。

draft_post_variants

ネットワークごとのバージョン。

get_calendar

今週すでに入っている予定。

確認

レポートも同じチャットで

何が公開され、何が失敗し、何に返信が必要かを、1週間を計画したのと同じセッションでエージェントに聞けます。

無料で始める
セッション
> 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

キュー内、公開済み、失敗した投稿。

list_inbox

コメント、メンション、メッセージ。

get_account_health

再接続が必要なアカウント。

ヘッドレス

マシンにブラウザがない場合

サーバーやCIには、サインインに使うブラウザがありません。代わりにダッシュボードでAPIキーを作成し、ローカルパッケージをstdioで実行してください。キーはリポジトリに含めないでください。

~/.hermes/config.yaml
mcp_servers:
  fopost:
    command: npx
    args: ["-y", "@fopost/mcp"]
    env:
      FOPOST_API_KEY: your-api-key

Hermes Agentに関するよくある質問

APIキーは必要ですか?

いいえ。auth: oauthを設定し、hermes mcp login fopostを実行します。HermesがFoPostに登録し、サインインまで行います。

認証情報はどこに保存されますか?

Hermesがお使いのマシンの~/.hermes/mcp-tokens/に保存します。

確認なしで投稿されることはありますか?

いいえ。公開はあなたが承認する提案を経て行われます。trustをuntrustedのままにすれば、Hermesはすべての書き込みの前にも確認します。

ツールが表示されません。どうすればいいですか?

新しいターミナルからhermes mcp login fopostをもう一度実行し、セッションで/reload-mcpを実行してください。

AIクレジットは消費されますか?

消費するのは、AIで文章を書くFoPostのツールだけです。一覧表示と予約では消費されません。

Hermes AgentからFoPostを操作

無料で始められ、MCPサーバーも含まれています。セットアップの1行をエージェントに貼り付けてサインインし、そこから最初の投稿を予約しましょう。

無料で始める