Metadata-Version: 2.4
Name: douyin-live-mcp
Version: 0.1.2
Summary: 抖音直播推流地址获取MCP工具
License: MIT
Project-URL: Homepage, https://github.com/jiaoziqiang/douyin-live-mcp
Project-URL: Repository, https://github.com/jiaoziqiang/douyin-live-mcp
Requires-Python: >=3.8
Description-Content-Type: text/markdown
License-File: LICENSE
Requires-Dist: requests
Requires-Dist: fastmcp
Dynamic: license-file

# Douyin Live MCP

抖音直播推流地址获取MCP工具

## 功能

获取抖音直播间的RTMP/HLS推流地址，支持输入直播间链接或19位room_id。

## 安装

```bash
pip install douyin-live-mcp
```

## 服务配置

### Stdio 配置 (推荐)

```json
{
  "mcpServers": {
    "douyin-live": {
      "command": "uvx",
      "args": ["douyin-live-mcp"]
    }
  }
}
```

### Streamable HTTP 配置

```json
{
  "mcpServers": {
    "douyin-live": {
      "command": "uvx",
      "args": ["douyin-live-mcp"],
      "transport": "streamable-http",
      "url": "http://localhost:8000/mcp"
    }
  }
}
```

## 工具

- `get_douyin_stream_url`: 获取抖音直播推流地址

## 示例输入

- 直播间链接: https://live.douyin.com/1234567890123456789
- room_id: 7283763263223100974
