# Douyin MCP connection

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

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

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

## Choose a reachable transport

Douyin 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 douyin.comments.replies.list, inspect its inputs, and explicitly run a fixture. Retain request_id.

```json
{
  "capability": "douyin.comments.replies.list",
  "params": {
    "id": "demo-id",
    "post_id": "demo-post-id"
  },
  "mode": "demo"
}
```

- [Douyin comment replies](https://datanavoapi.com/en/apis/douyin/comments/replies/list/)

## 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

- [Douyin comment replies](https://datanavoapi.com/en/apis/douyin/comments/replies/list/)
- [Douyin hashtag videos](https://datanavoapi.com/en/apis/douyin/hashtags/videos/list/)
- [Douyin trend-index brand trends](https://datanavoapi.com/en/apis/douyin/index/brands/history/)
- [Douyin trend-index brand comparison](https://datanavoapi.com/en/apis/douyin/index/brands/metrics/)
- [Douyin APIs](https://datanavoapi.com/en/apis/douyin/)
- [Douyin user videos](https://datanavoapi.com/en/apis/douyin/users/videos/list/)
- [Douyin video search](https://datanavoapi.com/en/apis/douyin/videos/search/)
- [Comment fields](https://datanavoapi.com/en/docs/objects/comment/)
- [How do I analyze public location labels in Douyin comments?](https://datanavoapi.com/en/answers/douyin-comment-ip-location-stats/)
- [How do I organize user needs from Douyin comments?](https://datanavoapi.com/en/answers/export-douyin-comments-user-needs/)
- [Read comments and replies for a Douyin video](https://datanavoapi.com/en/guides/douyin-video-comments/)

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