Codex
Hermes AI API の MCP サーバーを Codex CLI に追加し、ターミナルからサインインします。
Add the MCP server
Run this in a terminal.
terminal
codex mcp add hermes-ai-api --url https://api.hermes-ai.net/mcpサインイン
Sign in from the terminal. Your browser opens to sign in. Sign in with Google or GitHub and allow the request.
terminal
codex mcp login hermes-ai-api- アプリができること: モデルを実行して前払いクレジットを使い、タスク・結果・残高を読み取ります。
- アプリができないこと: API キー・請求・支払いの管理や、管理機能の利用。
- いつでも接続解除: アカウントセキュリティに接続済みアプリがすべて表示されます。接続を解除するとすぐにアクセスが停止します。
MCP ツール
Once signed in, ask in plain language. Your agent picks a model, shows the price and runs the task with these tools:
| ツール | できること |
|---|---|
search_models | 出力タイプやキーワードでモデルを探し、料金も表示します。 |
get_model | モデルの入力項目・指定可能な値・現在の料金を取得します。 |
create_task | モデルを実行します。タスクが成功した場合のみ課金されます。 |
wait_for_task | タスクの完了を待って結果を返します。 |
get_task | タスクを確認します。完成した画像はそのまま返されます。 |
list_tasks | 最近のタスクを一覧表示します。 |
get_balance | 利用可能・確保中・使用済みのクレジットを表示します。 |
Let your agent do the setup
Prefer one step? Copy the setup prompt from the Agents page into your agent; it runs these steps for you. エージェント