# WeChat Search MCP connection

WeChat Search MCP connection. Follow concrete contracts, examples and reviewable steps using WeChat Search.

Canonical page: https://datanavoapi.com/en/mcp/wechat/

This is a local simulation. Program-generated samples are not live platform data and do not establish provider availability.

## Choose a reachable transport

WeChat Search MCP connection uses shared discovery and call tools; the platform selects capability IDs and fields rather than a separate gateway.

A client on this computer can test stdio. Localhost inside a container, remote desktop or remote runtime identifies that environment and must be checked separately.

## Local configuration example

Replace the placeholder with the absolute project path. This configuration contains no provider key and defaults to demo.

```json
{
  "mcpServers": {
    "guanliu": {
      "command": "node",
      "args": [
        "/ABSOLUTE/PATH/guanliu/scripts/mcp-server.mjs"
      ],
      "env": {
        "GUANLIU_MCP_MODE": "demo",
        "GUANLIU_MCP_PORT": "4321"
      }
    }
  }
}
```

## First reviewable request

Ask the client to describe wechat.posts.search, inspect its inputs, and explicitly run a fixture. Retain request_id.

```json
{
  "capability": "wechat.posts.search",
  "params": {
    "query": "local sample",
    "sort": "relevance"
  },
  "mode": "demo"
}
```

- [WeChat Search articles and videos](https://datanavoapi.com/en/apis/wechat/posts/search/)

## Connection checks

| Check | Expected result |

| --- | --- |

| Website reachability | http://127.0.0.1:4321/api/health |

| Discovery | find → describe |

| Transport boundary | Choose explicit data handoff or a local connection based on runtime location |

| Live execution | Disabled; local fixtures or TEST simulation |

| Result recovery | account what=receipt / result |

## Related pages

- [WeChat Search articles and videos](https://datanavoapi.com/en/apis/wechat/posts/search/)
- [WeChat Search articles and videos (backup)](https://datanavoapi.com/en/apis/wechat/backup/posts/search/)
- [WeChat Official Account live search](https://datanavoapi.com/en/apis/wechat/accounts/search/)
- [WeChat Index](https://datanavoapi.com/en/apis/wechat/index/keywords/history/)
- [WeChat Search APIs](https://datanavoapi.com/en/apis/wechat/)
- [Post fields](https://datanavoapi.com/en/docs/objects/post/)
- [How do I choose data sources for a sentiment workflow?](https://datanavoapi.com/en/answers/bettafish-data-source/)
- [How can public social data support research?](https://datanavoapi.com/en/answers/chinese-social-media-alternative-data/)
- [How do I prepare social data for a Doubao workflow?](https://datanavoapi.com/en/answers/doubao-social-media-data/)
- [Can I organize public data with AI without writing code?](https://datanavoapi.com/en/answers/get-social-data-with-ai-no-code/)

[中文](https://datanavoapi.com/mcp/wechat/)
