Skip to main content
Glama
XianDAO-Labs

HuangtingFlux Hub

by XianDAO-Labs

HuangtingFlux Hub

Protocol MCP FastAPI Python

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_taskreport_step_resultfinalize_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. 開始

start_task

[必須 — 最初に呼び出し] ユーザーの冗長なプロンプトを核となる指示に圧縮し、入力トークンを30〜60%節約します。タスクの一意の context_id を作成します。

2. 処理

report_step_result

[必須 — 各ステップ後に呼び出し] エージェントは各推論ステップのトークンコストを報告します。このデータはライブダッシュボードにブロードキャストされ、最終レポート用に保存されます。

3. 完了

finalize_and_report

[必須 — 最後に呼び出し] エージェントの最終ドラフトを洗練し、Markdown パフォーマンス表を自動的に追加して、トークン節約を透明かつ検証可能にします。

セルフホスティング

プライベート利用のために HuangtingFlux バックエンド全体をセルフホストできます。このハブは標準的な FastAPI アプリケーションです。

デプロイオプション

オプション1:Railway にデプロイ(推奨)

Deploy to Railway

これが最も簡単な方法です。テンプレートが Python Web サービスと Redis データベースを自動的にプロビジョニングします。

オプション2:Render にデプロイ

Deploy to 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-hub

2. 依存関係のインストール

pip install -r requirements.txt

3. 環境の設定 REDIS_URL 環境変数を設定して、Redis インスタンスを指定します。

export REDIS_URL="redis://user:password@host:port"

4. サーバーの起動

uvicorn main:app --host 0.0.0.0 --port 8000

MCP ハブは http://localhost:8000/mcp で利用可能になります。

著者

Meng Yuanjing(Mark Meng)XianDAO Labs

ライセンス

Apache 2.0 — LICENSE を参照

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

View all related MCP servers

Related MCP Connectors

  • 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.

  • MCP server for AI dialogue using various LLM models via AceDataCloud

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/XianDAO-Labs/huangting-flux-hub'

If you have feedback or need assistance with the MCP directory API, please join our Discord server