AgentsPodium Hosting について
AgentsPodium Hosting は、AI エージェントがホスト型インスタンスを作成・管理するためのゲートウェイです。MCP と A2A に対応し、呼び出し元の AgentsPodium 認証情報でアカウント API に転送します。
主な機能
- 01インスタンスの作成・監視・管理
- 02プラットフォームと稼働状態の確認
- 03インスタンスの一時停止・再開・再構築・削除
- 04LLM キー、ピア、Webhook の設定
- 05支払いオプションの確認
- 06ホスティング文書をリソースとして提供
活用シーン
- 01エージェント経由でホスト型インスタンスを作成
- 02インスタンスの稼働状態やターミナル情報を確認
- 03既存インスタンスを一時停止または再開
- 04インスタンスのピアや Webhook を設定
MCP 対応
ステートレスな Streamable HTTP MCP エンドポイントで、インスタンス、プラットフォーム、支払い管理のツールとホスティング文書リソースを公開します。呼び出しには AgentsPodium API キーまたはセッショントークンが必要です。
設定
リモートサーバーはインストール不要です。クライアントを選んで設定をコピーするか、ワンクリックで導入できます。
https://mcp.agentspodium.com/mcpclaude mcp add --transport http com-agentspodium-hosting https://mcp.agentspodium.com/mcp{"mcpServers":{"com-agentspodium-hosting":{"type":"http","url":"https://mcp.agentspodium.com/mcp"}}}Cursor で開く{"servers":{"com-agentspodium-hosting":{"type":"http","url":"https://mcp.agentspodium.com/mcp"}}}VS Code で開く{"mcpServers":{"com-agentspodium-hosting":{"type":"http","url":"https://mcp.agentspodium.com/mcp"}}}{"mcpServers":{"com-agentspodium-hosting":{"serverUrl":"https://mcp.agentspodium.com/mcp"}}}コマンドはターミナルで実行し、JSON は各クライアントの MCP 設定に貼り付けて再起動します。認可が必要なサーバーは初回接続時にログインを求めます。
https://mcp.agentspodium.com/mcp認証が必要ツール
13このツールにパラメーターはありません。
詳細
agent-gateway
ほかの AI エージェントが、2 つのマシンプロトコル(MCP(Streamable HTTP)と A2A(Agent2Agent JSON-RPC))を通じて AgentsPodium のホスティング(インスタンスの作成、監視、管理)を操作できるようにします。どちらも既存のアカウント API(https://agentspodium.com/api)を利用します。
ゲートウェイは状態も独自のシークレットも保持しません。すべての呼び出しには、呼び出し元自身の AgentsPodium API キー(Authorization: Bearer ak_live_...、またはセッショントークン)が含まれ、それがそのままアカウント API に転送されます。このヘッダーがない場合は常に、https://agentspodium.com/account(「API keys for agents」)と https://hosting.defispace.com/docs/auth を示す JSON 本文とともに 401 を返します。
1 つのプロセスが両方のホスト名に対応し、パスが共通する箇所(GET / のみ)は Host ヘッダーに応じて振り分けます。それ以外はすべて MCP の動作となり、mcp.agentspodium.com と a2a.agentspodium.com は同じ Deployment にルーティングされます。
ローカルで実行する
npm install
npm run build
ACCOUNT_API=https://agentspodium.com/api PORT=3200 npm start
# or, for iteration:
npm run dev
環境変数:
ACCOUNT_API— アカウント API のベース URL(デフォルトはhttps://agentspodium.com/api)。PORT— HTTP ポート(デフォルトは3200)。A2A_HOST—GET /で A2A の動作を選択するホスト名(デフォルトはa2a.agentspodium.com)。
呼び出し方法
MCP — mcp.agentspodium.com/mcp
Streamable HTTP、ステートレス(セッション ID なし)です。
Accept: application/json, text/event-stream が必要です。
# initialize
curl -s -X POST https://mcp.agentspodium.com/mcp \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0", "id": 1, "method": "initialize",
"params": {
"protocolVersion": "2025-06-18",
"capabilities": {},
"clientInfo": { "name": "example-client", "version": "0.1.0" }
}
}'
# call a tool
curl -s -X POST https://mcp.agentspodium.com/mcp \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-H "Accept: application/json, text/event-stream" \
-d '{
"jsonrpc": "2.0", "id": 2, "method": "tools/call",
"params": { "name": "list_platforms", "arguments": {} }
}'
ツール:list_platforms、list_instances、create_instance、
get_instance_health、get_instance_term、set_llm_key、pause_instance、
resume_instance、rebuild_instance、delete_instance、get_payment_options、
set_peers、set_webhook。さらに、1 つのリソース agentspodium://docs(ホスティングのドキュメント)があります。
A2A — a2a.agentspodium.com/
curl -s https://a2a.agentspodium.com/.well-known/agent-card.json
# structured (data part)
curl -s -X POST https://a2a.agentspodium.com/ \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 1, "method": "message/send",
"params": {
"message": {
"parts": [{ "kind": "data", "data": { "skill": "create-instance", "params": { "engine": "hermes", "tier": "small", "name": "My Agent" } } }]
}
}
}'
# plain text (small command grammar)
curl -s -X POST https://a2a.agentspodium.com/ \
-H "Authorization: Bearer ak_live_..." \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0", "id": 2, "method": "message/send",
"params": { "message": { "parts": [{ "kind": "text", "text": "platforms" }] } }
}'
テキストの文法:create <engine> <tier> [name ...]、health <id>、
term <id>、platforms、payment <id>。それ以外の場合は、スキル一覧と正確な JSON 形式を返します。
認証不要で公開:GET /catalog.json(アカウント API の
/a2a-catalog のプロキシ)。
デプロイ
docker build -t agentpodium-agent-gateway apps/agent-gateway
# push, then apply:
kubectl apply -f apps/agent-gateway/deploy/gateway.yaml
deploy/gateway.yaml は、名前空間 ap-agentgw、ポート 3200 の Deployment/Service、および共有の akash-gateway Gateway に対する 2 つの HTTPRoute(mcp.agentspodium.com、
a2a.agentspodium.com)を作成します。適用する前に、__IMAGE_TAG__ をビルド済みのイメージタグに置き換えてください。
コメント
AI アプリケーションが外部のツールやデータソースに統一的な方法で接続するためのオープンなプロトコルです。クライアントはモデルとの対話を担い、MCP サーバーはツール・リソース・プロンプトテンプレートを提供します。標準メッセージでやり取りするため、1 つのサーバーを複数のクライアントで再利用できます。