Install guide, channel by channel
Different install steps, but all four ultimately hit the same GET /agent/skills + POST /agent/skills/execute dispatcher.
Official ClawHub skill package
- Register at /login, then create a Bearer Token under Profile → Token Management
- In a ClawHub-compatible client, run
clawhub install privora-cn-quant (full capability set) or clawhub install privora-alert (real-time alerting only) - Configure
LG_AGENT_TOKEN and LG_AGENT_BASE_URL=https://privora.cn as the plugin prompts - Ask in natural language, e.g. "Look up the latest data for asset 21"
Both packages share the same underlying scripts — which one you install only changes how many skills show up in the catalog, not how you call them.
MCP Server (stdio)
Wraps the same GET /agent/skills / POST /agent/skills/execute pair as native MCP tools, for stdio MCP clients such as Claude Code, Cursor, Windsurf, Cline, and Codex CLI.
npm install -g https://privora.cn/downloads/privora-mcp-server-0.1.0.tgz
curl -fsSLO https://privora.cn/downloads/privora-mcp-server-0.1.0.tgz
curl -fsSLO https://privora.cn/downloads/privora-mcp-server-0.1.0.tgz.sha256
sha256sum -c privora-mcp-server-0.1.0.tgz.sha256
npm install -g ./privora-mcp-server-0.1.0.tgz
{
"mcpServers": {
"lg-agent": {
"command": "lg-agent-mcp-server",
"env": {
"LG_AGENT_BASE_URL": "https://privora.cn",
"LG_AGENT_TOKEN": "lgatk_your_token_here"
}
}
}
}
LG_AGENT_BASE_URL defaults to http://localhost:3000 — a website install MUST set it explicitly to https://privora.cn, or every call fails to connect. LG_AGENT_TOKEN is optional: without it the server still lists all 11 tools, but what actually succeeds depends on the anonymous allow-list.
Always 11 tools: 4 protocol-level meta-tools (list_skills / describe_skill / execute_skill / whoami) plus 7 first-class tools (dataasset_list, dataasset_get, dataasset_schema_get, dataasset_metadata_get, dataasset_data_get, dataasset_data_get_realtime, marketplace_item_list).
Bearer Token + HTTP API
The most direct channel: once you have a token, call the REST endpoints with any HTTP client — no plugin required.
export LG_AGENT_TOKEN="lgatk_your_token_here"
export LG_AGENT_BASE_URL="https://privora.cn"
curl -s "$LG_AGENT_BASE_URL/agent/skills" \
-H "Authorization: Bearer $LG_AGENT_TOKEN"
curl -s -X POST "$LG_AGENT_BASE_URL/agent/skills/execute" \
-H "Authorization: Bearer $LG_AGENT_TOKEN" \
-H "Content-Type: application/json" \
--data-binary '{"skillId":"dataasset.list","params":{}}'
Do not manually add an X-Agent-Mode header — the Node proxy layer injects it automatically based on your Bearer token, and adding it yourself can get the request rejected.
Anonymous read-only
No registration, no token: call the public read-only endpoints directly. A fixed set of 10 read-only skills (asset listing, schema, marketplace items, etc.) is always allowed, rate-limited per IP across three buckets. Good for finding out what the platform can do before deciding whether to register.
curl -s "https://privora.cn/agent/skills"