# Xiaohongshu (RedNote) MCP connection

Xiaohongshu (RedNote) MCP connection. Follow concrete contracts, examples and reviewable steps using Xiaohongshu (RedNote).

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

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

## Choose a reachable transport

Xiaohongshu (RedNote) 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 xiaohongshu.images.search, inspect its inputs, and explicitly run a fixture. Retain request_id.

```json
{
  "capability": "xiaohongshu.images.search",
  "params": {
    "query": "local sample"
  },
  "mode": "demo"
}
```

- [Xiaohongshu image search](https://datanavoapi.com/en/apis/xiaohongshu/images/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

- [Xiaohongshu image search](https://datanavoapi.com/en/apis/xiaohongshu/images/search/)
- [Xiaohongshu note detail](https://datanavoapi.com/en/apis/xiaohongshu/notes/get/)
- [Xiaohongshu comment replies](https://datanavoapi.com/en/apis/xiaohongshu/comments/replies/list/)
- [Xiaohongshu note comments](https://datanavoapi.com/en/apis/xiaohongshu/notes/comments/list/)
- [Xiaohongshu (RedNote) APIs](https://datanavoapi.com/en/apis/xiaohongshu/)
- [Post fields](https://datanavoapi.com/en/docs/objects/post/)
- [How should I evaluate a RedNote data API?](https://datanavoapi.com/en/answers/best-xiaohongshu-data-api/)
- [How can ChatGPT access RedNote notes?](https://datanavoapi.com/en/answers/can-chatgpt-read-xiaohongshu/)
- [How can coding assistants work with RedNote data?](https://datanavoapi.com/en/answers/claude-code-cursor-codex-read-xiaohongshu/)
- [How do I organize RedNote note metrics after a campaign?](https://datanavoapi.com/en/answers/collect-xiaohongshu-note-metrics-after-campaign/)

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