HuangtingFlux Hub
HuangtingFlux Hub
AIエージェントのトークン消費を40%削減する東洋の知恵プロトコル
このリポジトリには、Huangting Protocol の公式 MCP(Model Context Protocol)サーバーである HuangtingFlux Hub のソースコードが含まれています。AIエージェントのトークン消費を最小化するための、必須の3段階標準運用手順(SOP)を提供します。
ライブダッシュボード: huangtingflux.com
MCP 統合ガイド
HuangtingFlux は標準の Model Context Protocol(MCP) を介して公開されており、対応する任意の AIエージェントとシームレスに統合できます。
方法1:Manus Agent(推奨)
Manus Agent の MCP 設定に、以下のサーバー URL を追加します:
https://mcp.huangting.ai/mcpエージェントは3段階の SOP(start_task → report_step_result → finalize_and_report)を自動的に検出して従います。
方法2:Claude Desktop / Cursor
以下の設定を claude_desktop_config.json または Cursor の MCP 設定に追加します:
{
"name": "HuangtingFlux",
"url": "https://mcp.huangting.ai/mcp",
"tools": [
"start_task",
"report_step_result",
"finalize_and_report",
"get_network_stats"
]
}方法3:直接 HTTP API 呼び出し
JSON-RPC 2.0 標準を使用して、任意の HTTP クライアントで MCP エンドポイントと対話できます。
例:start_task の呼び出し
curl -X POST https://mcp.huangting.ai/mcp \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"id": "1",
"method": "tool_code",
"params": {
"tool_name": "start_task",
"parameters": {
"task_description": "Your long and detailed user prompt here...",
"task_type": "complex_research"
}
}
}'Related MCP server: toon-parse-mcp
3段階 SOP
段階 | MCP ツール | 説明 |
1. 開始 |
| [必須 — 最初に呼び出し] ユーザーの冗長なプロンプトを核となる指示に圧縮し、入力トークンを30〜60%節約します。タスクの一意の |
2. 処理 |
| [必須 — 各ステップ後に呼び出し] エージェントは各推論ステップのトークンコストを報告します。このデータはライブダッシュボードにブロードキャストされ、最終レポート用に保存されます。 |
3. 完了 |
| [必須 — 最後に呼び出し] エージェントの最終ドラフトを洗練し、Markdown パフォーマンス表を自動的に追加して、トークン節約を透明かつ検証可能にします。 |
セルフホスティング
プライベート利用のために HuangtingFlux バックエンド全体をセルフホストできます。このハブは標準的な FastAPI アプリケーションです。
デプロイオプション
オプション1:Railway にデプロイ(推奨)
これが最も簡単な方法です。テンプレートが Python Web サービスと Redis データベースを自動的にプロビジョニングします。
オプション2:Render にデプロイ
Render はリポジトリ内の render.yaml ファイルを使用して、Web サービスと Redis インスタンスをセットアップします。
手動デプロイ
前提条件:
Python 3.11+
Redis 7+
1. リポジトリのクローン
git clone https://github.com/XianDAO-Labs/huangting-flux-hub.git
cd huangting-flux-hub2. 依存関係のインストール
pip install -r requirements.txt3. 環境の設定
REDIS_URL 環境変数を設定して、Redis インスタンスを指定します。
export REDIS_URL="redis://user:password@host:port"4. サーバーの起動
uvicorn main:app --host 0.0.0.0 --port 8000MCP ハブは http://localhost:8000/mcp で利用可能になります。
著者
Meng Yuanjing(Mark Meng) — XianDAO Labs
ライセンス
Apache 2.0 — LICENSE を参照
This server cannot be deployed
Maintenance
Related MCP Connectors
MCP server for building and testing AI agents with multi-model experimentation and insights.
Official MCP server for Agentwork — delegate tasks to AI agents with human-in-the-loop
Hosted MCP server for LLM cost estimation, model comparison, and budget-aware routing.
MCP server for AI agents to plan, verify, and deploy Cloudflare-native apps.
Related MCP Servers
- AlicenseAqualityCmaintenanceAn MCP server that helps AI agents reduce token usage by compressing, summarizing, and managing conversation/context data more efficiently.11MIT
- AlicenseNot gradedqualityDmaintenanceAn MCP server that helps AI agents reduce token usage by converting data to TOON format and stripping comments and unnecessary whitespace from code files.33 PyPIMIT
- AlicenseAqualityDmaintenanceAn MCP server that reduces AI API costs by up to 97% through token measurement, compression, caching, and pruning, all without changing prompts.101Apache 2.0
- FlicenseNot gradedqualityDmaintenanceAn MCP server suite that optimizes prompt context by reducing tokens up to 98.8%, acting as persistent long-term memory and codebase scanner to save API costs.-