MCP
TikTokMCPサーバー
TikTokは短編動画、ライブストリーム、トレンド主導の発見を通じて月間10億人以上のユーザーにリーチし、文化的関連性、クリエイターキャンペーン、製品発見において重要な存在となっています。
MCP バージョン: 1.0.0 5 MCPツール 認証
ベース URL
https://mcp.pressmonitor.com/mcp 認証
MCP呼び出しは、JSON-RPC 2.0リクエストを介してBearerトークンを使用します。
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 | いいえ | Sec 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 | はい | Sec 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
}'