# AutoTasker Hub — Buyer Integration Kit

Chinese social-media trending data (Weibo/Zhihu/Douban/Baidu/Douyin/Bilibili/Tieba) plus utility tools, exposed over REST and MCP. Exact-match demand endpoints: `trending_check` (is a brand/topic trending in China?), `cross_platform` (cross-platform consensus), `weibo_hot_search`. Pay-per-call over x402 on Base mainnet USDC. No account, no API key, no signup. This page gives copy-paste configs for mainstream agent frameworks and 12 coding agents / MCP clients. Facts rechecked 2026-11-27.

## Verified connection facts
- MCP endpoint: `https://autotasker.highkingflower.com/mcp` (streamable-http, POST JSON-RPC, protocol `2025-06-18`)
- HTTP base: `https://autotasker.highkingflower.com`
- Authoritative tool count: `GET /api/status` → `toolCount=97` (OpenAPI 102 paths); older page copy quoted smaller historical counts
- Core tools: `get_hotlist`, `search_chinese_social`, `daily_report`, `trend_predict`, `export_full_dataset`; demand-match: `trending_check`, `cross_platform`, `weibo_hot_search`; free: `sample_free`
- Free probe: `GET /api/x402/sample?limit=3`, `GET /api/status`, `GET /.well-known/mcp.json`, `GET /.well-known/x402.json`
- Payment: x402 exact, network `eip155:8453` (Base), USDC `0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913`, payTo `0xb9A9E6d9C4Ad1635aA685bba2e235A515A94773C`, facilitator `https://facilitator.payai.network`, `amount=50000` (`0.05 USDC`)
- Additional rails in the 402 challenge (deployed, separate ledgers): Polygon `eip155:137`, Sei `eip155:1329`; do not merge their counts into Base revenue
- Attribution: append `&ref=YOUR_CODE` (3-16 chars A-Z0-9_-) to any paid URL for a 10% on-chain rebate
- Adding an MCP server gives tool discovery only. Paid calls still require an x402-capable client that signs the 402 and retries with `PAYMENT-SIGNATURE`.

## 1. MCP servers JSON (Claude Desktop / Cursor / Windsurf / Cline / Continue)

```json
{
  "mcpServers": {
    "autotasker": {
      "url": "https://autotasker.highkingflower.com/mcp",
      "transport": "streamable-http"
    }
  }
}
```

Config file locations: Claude Desktop `claude_desktop_config.json`; Cursor `.cursor/mcp.json`; Windsurf `~/.codeium/windsurf/mcp_config.json`; Cline MCP Settings (HTTP/SSE); Continue `~/.continue/config.json` under `mcpServers`. Test with free `sample_free` before any paid call.

## 2. Claude Code CLI

```bash
claude mcp add --transport http autotasker https://autotasker.highkingflower.com/mcp
```

## 3. Vercel AI SDK (TypeScript)

```ts
import { experimental_createMCPClient as createMCPClient } from 'ai';
import { StreamableHTTPClientTransport } from '@modelcontextprotocol/sdk/client/streamableHttp.js';

const client = await createMCPClient({
  transport: new StreamableHTTPClientTransport(new URL('https://autotasker.highkingflower.com/mcp')),
});
const tools = await client.tools(); // tool list from tools/list (97 as of 2026-11-27)
```

## 4. LangChain / LangGraph (Python)

```python
import httpx
from x402 import x402Client  # pip install x402
client = x402Client(wallet=your_evm_wallet)  # Base mainnet USDC
print(httpx.get("https://autotasker.highkingflower.com/api/x402/sample?limit=3").json())
r = client.get("https://autotasker.highkingflower.com/api/x402/hotlist?board=weiboHot&limit=10&ref=YOUR_CODE")
print(r.json())  # x402Client handles 402 -> sign -> retry
```

## 5. Plain fetch / curl (any language)

```bash
# free probe
curl -s "https://autotasker.highkingflower.com/api/x402/sample?limit=3"
# paid: read PAYMENT-REQUIRED header from 402, sign with Base USDC, retry with PAYMENT-SIGNATURE
curl -i "https://autotasker.highkingflower.com/api/x402/hotlist?board=weiboHot&limit=10&ref=YOUR_CODE"
```

## 6. Drop-in system prompt

```
You have the "autotasker" MCP server (97 tools as of 2026-11-27) for Chinese
social-media trending data (Weibo/Zhihu/Douban/Bilibili/Tieba) and utility
tools, pay-per-use over x402 (Base USDC, no API key). Call sample_free first to
confirm connectivity. Core tools: get_hotlist(board), search_chinese_social(q),
trend_predict, daily_report, export_full_dataset. Paid calls settle
automatically via x402; pass `ref` with your agent id. Verify service honesty
at GET /api/x402/proof.
```

## Browser payment (no x402-aware client)

If your agent framework cannot sign x402 challenges, open the public marketplace
at `https://autotasker.highkingflower.com/market/`. It lists every endpoint with
parameters and a live request URL; choosing an endpoint and clicking **Connect wallet
& pay** lets a normal browser wallet (MetaMask / EIP-1193) sign the Base mainnet
USDC payment. No account, no API key, no manual reconciliation. Settlement proof:
`GET /api/x402/proof`.

## Referral program (disclosure)
`GET /REFERRAL.md` — transparent 10% USDC rebate terms, disclosure rules,
live settlement figures and anti-abuse policy. No price change.

## Discovery files
`/SKILL.md` · `/AGENTS.md` · `/llms.txt` · `/INTEGRATE.md` · `/.well-known/x402.json` · `/.well-known/mcp.json` · `/.well-known/agent.json`

---

## 7. Coding agent / MCP client 直连配置（12 个）

All 12 use the same endpoint URL. Configs below were checked against each project's official docs or source (2026-11-27). First verify tool discovery; then call free `sample_free`. "Configured" does not mean the client can pay: paid tools need x402 signing support.

### 7.1 OpenCode V2 — official docs
CLI: `opencode mcp add autotasker --url https://autotasker.highkingflower.com/mcp`
Our server has no OAuth; disable it in hand-written config:

```jsonc
{
  "$schema": "https://opencode.ai/config.json",
  "mcp": {
    "servers": {
      "autotasker": {
        "type": "remote",
        "url": "https://autotasker.highkingflower.com/mcp",
        "oauth": false
      }
    }
  }
}
```

### 7.2 ZCode — official repo docs
Requires `features.mcp=true`:

```json
{
  "features": { "mcp": true },
  "mcp": {
    "servers": {
      "autotasker": {
        "type": "http",
        "url": "https://autotasker.highkingflower.com/mcp",
        "enabled": true,
        "timeoutMs": 30000
      }
    }
  }
}
```

### 7.3 Agnes Code — official docs
`agnes configure` → `Add Extension` → `Remote Extension (Streamable HTTP)` → URL `https://autotasker.highkingflower.com/mcp`; name `autotasker`, timeout `300`.
Deeplink: `agnes://extension?url=https%3A%2F%2Fautotasker.highkingflower.com%2Fmcp&type=streamable_http&timeout=300&id=autotasker&name=AutoTasker%20Hub&description=China%20social-data%20x402%20API`

### 7.4 vixl — official docs + repo `mcp.json`
`~/.vixl/mcp.json` (user) or `<repo>/.vixl/mcp.json` (project):

```json
{
  "servers": {
    "autotasker": {
      "type": "http",
      "url": "https://autotasker.highkingflower.com/mcp",
      "auth": "none",
      "enabled": true
    }
  }
}
```

### 7.5 Volt — official source parser
`.mcp.json` / `.cursor/mcp.json` / `.vscode/mcp.json` / `.volt/mcp.json`:

```json
{
  "servers": {
    "autotasker": {
      "type": "http",
      "url": "https://autotasker.highkingflower.com/mcp",
      "headers": {}
    }
  }
}
```

Tools may appear as `mcp__autotasker__<tool>`. `mcpServers` is also accepted.

### 7.6 Grinta — official docs + schema
In `settings.json`; note the type is **`shttp`**:

```json
{
  "mcp_config": {
    "servers": [
      {
        "name": "autotasker",
        "type": "shttp",
        "transport": "shttp",
        "url": "https://autotasker.highkingflower.com/mcp",
        "enabled": true
      }
    ]
  }
}
```

### 7.7 CUGA — official example `mcp_servers.yaml`

```yaml
mcpServers:
  autotasker:
    url: https://autotasker.highkingflower.com/mcp
    transport: http
    description: China social-data x402 API
```

`http` = Streamable HTTP and is the production-recommended transport in the official comment.

### 7.8 The One — official docs UI path
团队与工具 › 外部工具（MCP）→ 添加服务器 → 连接至自定义 MCP。Name/ID `autotasker`; connection type **流式 HTTP**; URL `https://autotasker.highkingflower.com/mcp`; headers empty; OAuth 2.1 / PKCE off. Save → 发现工具 → call `sample_free`.

### 7.9 Raven — official source (`raven/config/live.py`)

```json
{
  "tools": {
    "mcpServers": {
      "autotasker": {
        "type": "streamableHttp",
        "url": "https://autotasker.highkingflower.com/mcp",
        "headers": {},
        "enabled": true
      }
    }
  }
}
```

`tools.mcp_servers` is the equivalent spelling. Do not leave an empty object if you intend to connect.

### 7.10 BitFun — official docs UI path
设置 (⌘,/Ctrl+,) → 工具与集成 → MCP → 添加服务器 → **Remote Streamable HTTP** → URL `https://autotasker.highkingflower.com/mcp`; leave Bearer/OAuth empty. Confirm card shows `Connected`, expand the tool list, then `@`-mention the tool in chat.

### 7.11 FLUJO — official docs
Connected Apps → Connect App → remote URL → review run location/credentials → connect and inspect capabilities → test one harmless operation → explicitly add the tool to your agent. Transport whitelist is `stdio|streamable|sse|websocket`; use **`transport: "streamable"`** for this endpoint. Saving a connection is not the same as a passing test.

### 7.12 BayesChat — official website
Add MCP server form: Name `autotasker`, URL `https://autotasker.highkingflower.com/mcp`, Transport **Streamable HTTP**, Authentication empty; `Validate & Fetch Tools` on save. Note: the vendor lists MCP tools under its **Pro** tier (one-time $14.99); that is a client-side cost you decide, not an API price change.

### 7.13 stdio-only clients (bridge)
Verified working bridge:

```sh
npx -y mcp-remote@0.17.1 https://autotasker.highkingflower.com/mcp
```

Local probe via stdio returned `initialize.protocolVersion=2025-06-18`, `tools/list` = 97 tools including `sample_free`. The bridge is verified; each individual client + bridge combination has not been tested.

## Verify service honesty
`GET /api/x402/proof` — on-chain settled count + revenue, verifiable on BaseScan by the pay-to address. The publisher discloses a financial interest in call volume.
