MCP

抖音MCP服务器

抖音通过短视频、直播和趋势驱动的发现每月吸引超过10亿用户,使其在文化相关性、创作者活动和产品发现中变得至关重要。

MCP 版本: 1.0.0 5 MCP工具 身份验证
抖音

基本网址

https://mcp.pressmonitor.com/mcp

身份验证

MCP 调用也使用 Bearer 令牌通过 JSON-RPC 2.0 请求。

Authorization: Bearer YOUR_TOKEN

post_comments

帖子评论

参数

名称 类型 必填 描述
aweme_id string Aweme ID
count integer 返回结果数量
cursor integer 游标
device_id string 设备 ID

代码示例

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "post_comments",
    "arguments": {
      "aweme_id": "VALUE"
    }
  },
  "id": 1
}'

post_detail

帖子详情

参数

名称 类型 必填 描述
aweme_id string Aweme ID
device_id string 设备 ID
from string 来自

代码示例

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "post_detail",
    "arguments": {
      "aweme_id": "VALUE"
    }
  },
  "id": 1
}'

search_video

搜索视频

参数

名称 类型 必填 描述
keyword string 关键词
count integer 返回结果数量
cursor integer 游标
device_id string 设备 ID
search_id string 搜索 ID

代码示例

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "search_video",
    "arguments": {
      "keyword": "VALUE"
    }
  },
  "id": 1
}'

user_info

用户信息

参数

名称 类型 必填 描述
sec_uid string 安全 Uid
unique_id string 唯一 ID
with_commerce_info string 包含商业信息

代码示例

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "user_info",
    "arguments": {}
  },
  "id": 1
}'

user_posts

用户帖子

参数

名称 类型 必填 描述
sec_uid string 安全 Uid
count integer 返回结果数量
cursor integer 游标
device_id string 设备 ID
from string 来自
with_play_token string 包含播放令牌

代码示例

curl -X POST "https://mcp.pressmonitor.com/mcp" -H "Authorization: Bearer YOUR_API_KEY" -H "x-subscription-id: YOUR_SUB_ID" -H "Content-Type: application/json" -d '{
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "name": "user_posts",
    "arguments": {
      "sec_uid": "VALUE"
    }
  },
  "id": 1
}'