Featured

Deploy OpenClaw in 60 seconds — 20% off logoDeploy OpenClaw in 60 seconds — 20% off

Launch OpenClaw on Hostinger in about 60 seconds and keep your agent live 24/7. Our referral link gives you 20% off, no coupon code needed.

Launch on Hostinger
Run your Hermes agent on Hostinger, fully managed logoRun your Hermes agent on Hostinger, fully managed

Launch Hermes on Hostinger in one click, fully managed, no VPS knowledge needed. Use code ZACAARON10 for 10% off.

Launch on Hostinger
Crawl and scrape any site into clean data, 10% off logoCrawl and scrape any site into clean data, 10% off

Firecrawl crawls and scrapes any site into clean markdown for your agent. Get 1,000 free credits, and new users get 10% off their first purchase.

Try Firecrawl free
6,000+ web scrapers for your AI agent, start free logo6,000+ web scrapers for your AI agent, start free

Apify gives your agent live web data: 6,000+ prebuilt scrapers and actors, MCP-ready. Sign up free with $5 in usage credits.

Try Apify free
One API to scrape, enrich, and extract the internet. logoOne API to scrape, enrich, and extract the internet.

Context.dev gives your agents a single API to scrape, enrich, and extract live web data — no proxies, no parsers, no maintenance.

Start building free
SetupClaw: done-for-you OpenClaw for founders & exec teams logoSetupClaw: done-for-you OpenClaw for founders & exec teams

White-glove OpenClaw for founders and exec teams (4–50+ employees): we install, harden, integrate your tools, and maintain it — secured from day one.

Get it set up for you
SEO data APIs for your agent, $1 free credit logoSEO data APIs for your agent, $1 free credit

DataForSEO gives your agent live access to SERP results, keyword data, backlinks, and on-page SEO data through one API. New accounts get a $1 credit, good for up to 20,000 keyword or backlink lookups.

Try DataForSEO free
Reach 48,000+ AI builders

A flat monthly placement in front of developers actively installing AI tools. No lock-in, cancel anytime.

Advertise here
HuangtingFlux — Huangting Protocol MCP Server logo

HuangtingFlux — Huangting Protocol MCP Server

XianDAO-Labs/huangting-flux-hub
0 starsUpdated 2026-03-18Community

Works with

Claude CodeClaude DesktopCursorVS CodeClineCodex CLIOpenClaw+ any MCP client

Install to Claude Code

This server doesn't publish a one-line install command. Follow the setup in the source repository.

Summary

Huangting Protocol MCP server: concept queries, optimization strategies, result reporting.

README.md

Huangting-Flux Hub

![Protocol](https://github.com/XianDAO-Labs/huangting-protocol) ![MCP](https://modelcontextprotocol.io) ![FastAPI](https://fastapi.tiangolo.com) ![Python](https://python.org)

### An Eastern Wisdom Protocol That Reduces Your AI Agent Token Usage by 40%

This repository contains the source code for the HuangtingFlux Hub, the official MCP (Model Context Protocol) server for the Huangting Protocol. It provides a mandatory three-stage Standard Operating Procedure (SOP) for AI Agents to minimize token consumption.

Live Dashboard: huangtingflux.com

---

MCP Integration Guide

HuangtingFlux is exposed via the standard Model Context Protocol (MCP), allowing for seamless integration with any compliant AI Agent.

Method 1: Manus Agent (Recommended)

In your Manus Agent's MCP settings, add the following server URL:

https://mcp.huangting.ai/mcp

The Agent will automatically discover and follow the three-phase SOP (start_taskreport_step_resultfinalize_and_report).

Method 2: Claude Desktop / Cursor

Add the following configuration to your claude_desktop_config.json or Cursor's MCP settings:

{
  "name": "HuangtingFlux",
  "url": "https://mcp.huangting.ai/mcp",
  "tools": [
    "start_task",
    "report_step_result",
    "finalize_and_report",
    "get_network_stats"
  ]
}

Method 3: Direct HTTP API Call

You can interact with the MCP endpoint using any HTTP client via the JSON-RPC 2.0 standard.

Example: Calling 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"
            }
          }
        }'

The Three-Stage SOP

| Stage | MCP Tool | Description | | :--- | :--- | :--- | | 1. Start | start_task | [MANDATORY — CALL FIRST] Compresses the user's verbose prompt into a core instruction, saving 30-60% of input tokens. Creates a unique context_id for the task. | | 2. Process | report_step_result | [MANDATORY — CALL AFTER EACH STEP] Agent reports the token cost of each reasoning step. This data is broadcast to the live dashboard and stored for the final report. | | 3. Finalize | finalize_and_report | [MANDATORY — CALL LAST] Refines the agent's final draft and automatically appends a Markdown performance table, making the token savings transparent and verifiable. |

Self-Hosting

You can self-host the entire HuangtingFlux backend for private use. The hub is a standard FastAPI application.

Deployment Options

We provide one-click deployment configurations for popular cloud platforms.

Option 1: Deploy to Railway (Recommended)

![Deploy to Railway](https://railway.app/template/0-cT8b?referralCode=markmeng)

This is the easiest method. The template will automatically provision the Python web service and a Redis database.

Option 2: Deploy to Render

![Deploy to Render](https://render.com/deploy?repo=https://github.com/XianDAO-Labs/huangting-flux-hub)

Render will use the render.yaml file in the repository to set up the web service and Redis instance.

Manual Deployment

Prerequisites:

  • Python 3.11+
  • Redis 7+

1. Clone the Repository ``bash git clone https://github.com/XianDAO-Labs/huangting-flux-hub.git cd huangting-flux-hub ``

2. Install Dependencies ``bash pip install -r requirements.txt ``

3. Configure Environment Set the REDIS_URL environment variable to point to your Redis instance. ``bash export REDIS_URL="redis://user:password@host:port" ``

4. Run the Server ``bash uvicorn main:app --host 0.0.0.0 --port 8000 ``

The MCP Hub will be available at http://localhost:8000/mcp.

Author

Meng Yuanjing (Mark Meng)XianDAO Labs

License

Apache 2.0 — See LICENSE

See related servers & alternatives →

Related MCP servers

Browse all →

Related guides

Hand-picked reading to help you choose and use Other servers.