MCP

Redditخادم MCP

تخدم Reddit حوالي 121 مليون مستخدم نشط يوميًا عبر المنتديات والمواضيع والمشاركات النصية والروابط والصور والتعليقات، مما يجعلها مهمة لرؤية المجتمع، وتتبع السمعة، والحصول على تعليقات حول المنتج، واكتشاف المجالات المتخصصة.

MCP الإصدار: 1.0.0 14 أدوات MCP المصادقة
Reddit

عنوان URL الأساسي

https://mcp.pressmonitor.com/mcp

المصادقة

تستخدم مكالمات MCP أيضًا رموز Bearer عبر طلبات JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

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": "comments_by_username",
    "arguments": {}
  },
  "id": 1
}'

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
}'

post_details

تفاصيل المنشور

المتغيرات

الاسم نوع مطلوب الوصف
post_url 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_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
}'

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_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
}'