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

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