Weibo WebMCP

Use this skill to operate Weibo through the built-in --site weibo bridge preset in @webmcp-bridge/local-mcp.

For generic bridge setup patterns or non-Weibo sites, switch to $webmcp-bridge.

Prerequisites

Core Workflow

  1. Ensure the fixed Weibo link exists:
    • command -v weibo-webmcp-cli
    • if missing or pointed at the wrong profile, run skills/weibo-webmcp/scripts/ensure-links.sh
  2. Inspect the bridge and tool schema before calling tools:
    • weibo-webmcp-cli -h
    • weibo-webmcp-cli timeline.home.list -h
    • weibo-webmcp-cli search.weibo -h
    • weibo-webmcp-cli search.ai.summary -h
  3. Check authentication state first when the profile is new or looks stale:
    • weibo-webmcp-cli bridge.session.status
    • weibo-webmcp-cli auth.get
    • if the session is not ready, start bootstrap or switch to headed:
      • weibo-webmcp-cli bridge.session.bootstrap
      • weibo-webmcp-cli bridge.session.mode.set '{"mode":"headed"}'
      • weibo-webmcp-cli bridge.open
  4. Use read tools for timeline, posts, and profiles:
    • weibo-webmcp-cli timeline.home.list limit=10
    • weibo-webmcp-cli post.get '{"url":"https://weibo.com/123/detail/abcDEF"}'
    • weibo-webmcp-cli post.replies.list '{"id":"5279584255214211"}'
    • weibo-webmcp-cli post.repost.list '{"id":"5279584255214211"}'
    • weibo-webmcp-cli user.get screenName=jolestar
    • weibo-webmcp-cli user.posts.list '{"uid":"1648815335"}'
  5. Use search tools for public results and AI summaries:
    • weibo-webmcp-cli search.weibo '{"query":"OpenAI","limit":10}'
    • weibo-webmcp-cli search.ai.summary '{"query":"OpenAI"}'
  6. Parse JSON output only:
    • success path: .ok == true, consume .data
    • failure path: .ok == false, inspect .error.code and .error.message

Default Target

The built-in preset uses:

--site weibo

The default profile path is:

~/.uxc/webmcp-profile/weibo

Refresh the link with:

skills/weibo-webmcp/scripts/ensure-links.sh

Guardrails

References