Skip to content
VS Code

wechat writer mcp for VS Code

io.github.datoushiwo/wechat-writer-mcp

面向技术博主的 AI 内容加工流水线 MCP —— 从原始素材到公众号草稿箱

client:VS Code transport:stdio runtime:npm

Install wechat writer mcp in VS Code

.vscode/mcp.json

{
  "inputs": [
    {
      "type": "promptString",
      "id": "wechat-app-id",
      "description": "WECHAT_APP_ID",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wechat-app-secret",
      "description": "WECHAT_APP_SECRET",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wechat-covers-dir",
      "description": "WECHAT_COVERS_DIR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wechat-default-author",
      "description": "WECHAT_DEFAULT_AUTHOR",
      "password": true
    },
    {
      "type": "promptString",
      "id": "wechat-api-timeout",
      "description": "WECHAT_API_TIMEOUT",
      "password": true
    }
  ],
  "servers": {
    "wechat-writer-mcp": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "wechat-writer-mcp"
      ],
      "env": {
        "WECHAT_APP_ID": "${input:wechat-app-id}",
        "WECHAT_APP_SECRET": "${input:wechat-app-secret}",
        "WECHAT_COVERS_DIR": "${input:wechat-covers-dir}",
        "WECHAT_DEFAULT_AUTHOR": "${input:wechat-default-author}",
        "WECHAT_API_TIMEOUT": "${input:wechat-api-timeout}"
      }
    }
  }
}

VS Code prompts for each input the first time the server starts, so no secret is written to the file. VS Code docs

wechat writer mcp in other clients