{"$schema":"https://wellknown.network/schemas/agent-record-v1.json","schemaVersion":"1","id":"ag_r95h9nsjyx3g","handle":"wechat-mcp-macos","url":"https://wellknown.network/agents/wechat-mcp-macos","links":{"self":"https://wellknown.network/agents/wechat-mcp-macos/record.json","html":"https://wellknown.network/agents/wechat-mcp-macos","markdown":"https://wellknown.network/agents/wechat-mcp-macos/record.md","api":"https://wellknown.network/api/v1/agents/wechat-mcp-macos","status":"https://wellknown.network/api/v1/agents/wechat-mcp-macos/status","claim":"https://wellknown.network/agents/wechat-mcp-macos/claim","claimApi":"https://wellknown.network/api/v1/claims","claimDescriptor":"https://wellknown.network/agents/wechat-mcp-macos/claim.json","badge":"https://wellknown.network/agents/wechat-mcp-macos/badge.svg","openapi":"https://wellknown.network/openapi.json"},"ard":{"identifier":"urn:air::server:wechat-mcp-macos","type":"application/mcp-server-card+json"},"kind":"mcp_server","declared":{"name":"wechat-mcp-macos","summary":"MCP server for reading and sending WeChat messages on macOS","description":"# wechat-mcp-macos\n\nAn MCP (Model Context Protocol) server that lets AI assistants read, monitor, and send WeChat messages on macOS. Supports continuous conversation polling — your AI can watch group chats and auto-reply.\n\nWorks with Claude Code, Claude Desktop, and any MCP-compatible client.\n\n一个 MCP 服务器，让 AI 助手在 macOS 上读取、监控和发送微信消息。支持持续对话轮询——让你的 AI 盯着群聊自动回复。\n\n## How It Works / 工作原理\n\n**Reading messages**: Decrypts the local WeChat SQLite database (SQLCipher 4, AES-256-CBC) and queries it directly. This is fast, accurate, and doesn't require screenshots or OCR.\n\n**Sending messages**: Uses macOS `osascript` (AppleScript) to automate the WeChat desktop client — sets the clipboard, clicks the input box, pastes, and hits Enter.\n\n**读取消息**：解密本地微信 SQLite 数据库（SQLCipher 4, AES-256-CBC）并直接查询。速度快、准确率 100%，不需要截图或 OCR。\n\n**发送消息**：通过 macOS `osascript`（AppleScript）自动化微信桌面客户端——设置剪贴板、点击输入框、粘贴、回车发送。\n\n## Requirements / 环境要求\n\n- macOS (tested on macOS 15 Sequoia)\n- WeChat desktop client (微信 Mac 版)\n- Python 3.10+\n- Xcode command-line tools (`xcode-select --install`)\n\n## Installation / 安装\n\n```bash\n# With uv (recommended)\nuv tool install wechat-mcp-macos\n\n# Or with pip\npip install wechat-mcp-macos\n```\n\n### Connect to Claude Code / 连接 Claude Code\n\n```bash\nclaude mcp add wechat -- wechat-mcp-macos\n```\n\n### Connect to Claude Desktop / 连接 Claude Desktop\n\nAdd to your `claude_desktop_config.json`:\n\n```json\n{\n  \"mcpServers\": {\n    \"wechat\": {\n      \"command\": \"wechat-mcp-macos\"\n    }\n  }\n}\n```\n\n## First-Time Setup / 首次配置\n\nThe first time you use it, you need to set up WeChat database access:\n\n首次使用需要配置微信数据库访问：\n\n### 1. Re-sign WeChat / 重签名微信\n\nWeChat ships with hardened runtime, which prevents memory scanning for encryption keys. You need to re-sign it:\n\n微信自带 hardened runtime，需要重签名才能提取密钥：\n\n```\n# Quit WeChat first! / 先退出微信！\n# Then ask your AI to run:\nsetup(\"sign\")\n```\n\nOr manually:\n```bash\nsudo codesign --force --deep --sign - /Applications/WeChat.app\n```\n\n> **Note**: After re-signing, you may need to …","publisher":null,"homepage":"https://github.com/SsssssSynqa/wechat-mcp-macos","repository":"https://github.com/SsssssSynqa/wechat-mcp-macos","version":"0.1.1","license":null,"protocols":["mcp"],"tags":["ai","claude","macos","mcp","wechat"],"pricing":null,"endpoints":[{"url":"pypi:wechat-mcp-macos","type":"package_pypi","auth":null,"probeable":false}],"skills":null,"tools":null,"extra":null,"attribution":{"kind":"pypi","name":"pypi","repoUrl":"pypi","summary":"pypi","version":"pypi","description":"pypi","homepageUrl":"pypi"}},"derived":{"capabilities":[{"slug":"dev.terminal","name":"Terminal & Shell","confidence":0.825,"provenance":"derived"},{"slug":"data.database","name":"Databases","confidence":0.802,"provenance":"derived"}],"categories":["data","dev"],"language":"en"},"observed":{"status":"unknown","statusReason":"Distributed as a package to run locally; no network endpoint to check.","lastOkAt":null,"lastProbedAt":null,"statusComputedAt":null,"reliability30d":null,"latestObservations":[],"tools":null,"package":{"name":"wechat-mcp-macos","registry":"pypi","observedAt":"2026-09-10T15:25:27.563Z","publishedAt":"2026-03-10T02:34:50.537722Z","latestVersion":"0.1.1"}},"verification":{"claimed":false,"claimedAt":null,"proofs":[]},"provenance":{"sources":[{"source":"pypi","key":"wechat-mcp-macos","url":"https://pypi.org/project/wechat-mcp-macos/","firstSeenAt":"2026-09-10T15:24:29.839Z","fetchedAt":"2026-09-10T15:24:29.839Z","normalizedAt":"2026-09-10T15:24:29.839Z"}]},"firstSeenAt":"2026-09-10T15:24:29.839Z","updatedAt":"2026-09-10T15:25:27.563Z"}