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 规则访问微信数据。
2.2 KiB
2.2 KiB
Setup And System
Use this when the database is not ready, keys are needed, decrypted data must be imported, or the backend itself needs inspection.
Setup Tools
wechat.setup.get_saved_keys: read saved DB/media keys for an account or wxid directory.wechat.setup.get_database_key: desktop workflow to extract the DB key from local WeChat.wechat.setup.get_image_key: fetch and save image AES/XOR keys.wechat.setup.decrypt_databases: decrypt databases fromdb_storage_pathand a DB key.wechat.setup.get_decrypt_stream_url: SSE URL for decrypt progress.wechat.setup.preview_import_decrypted: validate an already-decrypted account directory.wechat.setup.get_import_decrypted_stream_url: SSE URL for import progress.wechat.setup.cancel_import_decrypted: cancel an import job byjob_id.wechat.setup.save_media_keys: save media XOR/AES keys.wechat.setup.decrypt_all_media: decrypt all local.datimage resources.wechat.setup.get_decrypt_all_media_stream_url: SSE URL for bulk media decrypt progress.wechat.setup.get_download_all_emojis_stream_url: SSE URL for bulk emoji download progress.
System Tools
wechat.system.health_checkwechat.system.api_rootwechat.system.get_backend_log_filewechat.system.open_backend_log_filewechat.system.get_backend_portwechat.system.set_backend_port_settingwechat.system.set_backend_port_and_restartwechat.system.get_img_helper_statuswechat.system.toggle_img_helperwechat.system.pick_directorywechat.system.log_frontend_server_error
Rules
- Stream tools return
streamUrl; the client consumes SSE outside the MCP JSON response. set_backend_port_settingpersists the setting and may require backend restart by the user/client flow.set_backend_port_and_restartchanges the port through the desktop restart flow and will disrupt the current backend connection.open_backend_log_fileandpick_directoryare desktop-host GUI actions; do not use them for phone-only flows.- DB key extraction and image helper toggling depend on the local desktop WeChat state.
- Import/decrypt/media bulk operations write local files; summarize expected impact before running them.