Different install steps, but all four ultimately hit the same GET /agent/skills + POST /agent/skills/execute dispatcher.
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.2.tgz
curl -fsSLO https://privora.cn/downloads/privora-mcp-server-0.1.2.tgz
curl -fsSLO https://privora.cn/downloads/privora-mcp-server-0.1.2.tgz.sha256
sha256sum -c privora-mcp-server-0.1.2.tgz.sha256
npm install -g ./privora-mcp-server-0.1.2.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 12 tools, but what actually succeeds depends on the anonymous allow-list.
For where each client (Claude Code / Cursor / Windsurf / Cline / Codex CLI) keeps this config, and the one-line add commands, see User Guide · AI Agent access. Note that Codex CLI uses TOML, not the JSON above.
Always 12 tools: 5 protocol-level meta-tools (list_skills / describe_skill / execute_skill / execute_confirm_required_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). Every tool carries an annotations disclosure hint (read-only / destructive) a host may use, and may ignore.
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"