Files
WeChatDataAnalysis/skills/wechat-mcp-copilot/references/mobile.md
T
2977094657 e4035abf43 docs(mcp): 补充 MCP 接入说明与 Copilot Skill
在 README 中补充 MCP 服务、鉴权方式、工具分层、Skill 获取地址和手机端接入流程。

新增 wechat-mcp-copilot skill 及领域参考文档,约束外部 AI 按路由、分页和媒体 URL 规则访问微信数据。
2026-06-11 14:58:56 +08:00

1.6 KiB

Mobile Facade

Use this for phone, ScreenMemo, and external MCP clients unless the user needs a low-level operation.

Default Tools

  • wechat.mobile.get_overview: first call after initialize. Returns readiness, accounts, health, and suggested next tools.
  • wechat.mobile.get_home_snapshot: small account/session/Moments snapshot for a home screen.
  • wechat.mobile.resolve_target: resolve fuzzy people, groups, sessions, Moments users, or official accounts.
  • wechat.mobile.search_chat: message search with optional tiny context windows.
  • wechat.mobile.get_chat_context: recent, day, or around-anchor chat context.
  • wechat.mobile.get_session_bundle: session metadata plus a page of messages.
  • wechat.mobile.search_moments: compact Moments search.
  • wechat.mobile.get_media_links: URL-only media lookup.
  • wechat.mobile.get_analytics: compact analytics by metric.
  • wechat.mobile.export_job: preview/create/status/download/cancel export jobs.

Budget Rules

  • Keep limit at 10-20 for first calls.
  • Use offset or returned cursor fields for paging.
  • Do not call full annual analytics by default; use metric=digest or a single card.
  • Do not fetch binary media through MCP. Use returned URLs in the app.
  • Use low-level tools only for debugging, editing, raw fields, unusual media, or exact export control.

Recovery

  • If ready=false, load setup-system.md.
  • If target resolution is ambiguous, ask for one clarifying clue or show top candidates.
  • If search returns nothing, try resolve_target and then get_chat_context before declaring no data.