MCP
RedditMCPサーバー
Redditは、フォーラム、スレッド、テキスト投稿、リンク、画像、コメントを通じて、約1億2100万人のアクティブユーザーにサービスを提供しており、コミュニティの洞察、評判トラッキング、製品フィードバック、ニッチ発見において重要です。
MCP バージョン: 1.0.0 14 MCPツール 認証
ベース URL
https://mcp.pressmonitor.com/mcp 認証
MCP呼び出しは、JSON-RPC 2.0リクエストを介してBearerトークンを使用します。
Authorization: Bearer YOUR_TOKEN get_cursor
カーソルを取得
コード例
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": "get_cursor",
"arguments": {}
},
"id": 1
}' new_subreddits
新しいサブレディット
コード例
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": "new_subreddits",
"arguments": {}
},
"id": 1
}' popular_posts
人気の投稿
コード例
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": "popular_posts",
"arguments": {}
},
"id": 1
}' popular_subreddits
人気のサブレディット
コード例
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": "popular_subreddits",
"arguments": {}
},
"id": 1
}' post_details
投稿の詳細
引数
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| post_url | string | はい | 投稿のURL |
コード例
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_details",
"arguments": {
"post_url": "VALUE"
}
},
"id": 1
}' posts_by_subreddit
サブレディット別投稿
コード例
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": "posts_by_subreddit",
"arguments": {}
},
"id": 1
}' posts_by_username
ユーザー別投稿
コード例
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": "posts_by_username",
"arguments": {}
},
"id": 1
}' rising_popular_posts
急上昇の人気投稿
コード例
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": "rising_popular_posts",
"arguments": {}
},
"id": 1
}' search_posts
投稿を検索
引数
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| query | 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": "search_posts",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' search_subreddits
サブレディットを検索
引数
| 名前 | タイプ | 必須 | 説明 |
|---|---|---|---|
| query | 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": "search_subreddits",
"arguments": {
"query": "VALUE"
}
},
"id": 1
}' top_comments_by_username
ユーザー別トップコメント
コード例
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": "top_comments_by_username",
"arguments": {}
},
"id": 1
}' top_popular_posts
トップ人気投稿
コード例
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": "top_popular_posts",
"arguments": {}
},
"id": 1
}' top_posts_by_username
ユーザー別トップ投稿
コード例
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": "top_posts_by_username",
"arguments": {}
},
"id": 1
}'
comments_by_username
ユーザー別コメント
コード例