mirror of
https://github.com/LifeArchiveProject/WeChatDataAnalysis.git
synced 2026-06-18 15:54:08 +08:00
e4035abf43
在 README 中补充 MCP 服务、鉴权方式、工具分层、Skill 获取地址和手机端接入流程。 新增 wechat-mcp-copilot skill 及领域参考文档,约束外部 AI 按路由、分页和媒体 URL 规则访问微信数据。
1.6 KiB
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
limitat 10-20 for first calls. - Use
offsetor returned cursor fields for paging. - Do not call full annual analytics by default; use
metric=digestor 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, loadsetup-system.md. - If target resolution is ambiguous, ask for one clarifying clue or show top candidates.
- If search returns nothing, try
resolve_targetand thenget_chat_contextbefore declaring no data.