MCP
Veille Reddit pour chercheurs, marques et équipes communautaires MCP Server
Outils MCP pour Reddit
URL de base
https://mcp.pressmonitor.com/reddit/v1 Authentification
Les appels MCP utilisent également des jetons Bearer via des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Découvrir les outils
Commencez par lister les outils exposés par le serveur MCP.
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}' const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify({ jsonrpc: '2.0', id: 1, method: 'tools/list' }) }); console.log(await response.json()); import requests payload = { 'jsonrpc': '2.0', 'id': 1, 'method': 'tools/list' } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
get_cursor Obtenir le curseur
Obtenir le curseur
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_cursor","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_cursor", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "get_cursor", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
new_subreddits Nouveaux subreddits
Nouveaux subreddits
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"new_subreddits","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "new_subreddits", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "new_subreddits", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
popular_posts Publications populaires
Publications populaires
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"popular_posts","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "popular_posts", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "popular_posts", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
popular_subreddits Subreddits populaires
Subreddits populaires
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"popular_subreddits","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "popular_subreddits", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "popular_subreddits", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
post_details Détails de la publication
Détails de la publication
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_url | string | Oui | URL de la publication |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"post_details","arguments":{"post_url":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_details", "arguments": { "post_url": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "post_details", "arguments": { "post_url": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
posts_by_subreddit Publications par subreddit
Publications par subreddit
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"posts_by_subreddit","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_by_subreddit", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_by_subreddit", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
posts_by_username Publications par nom d'utilisateur
Publications par nom d'utilisateur
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"posts_by_username","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_by_username", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "posts_by_username", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
rising_popular_posts Publications populaires en hausse
Publications populaires en hausse
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"rising_popular_posts","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "rising_popular_posts", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "rising_popular_posts", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
search_posts Rechercher des publications
Rechercher des publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_posts","arguments":{"query":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_posts", "arguments": { "query": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_posts", "arguments": { "query": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
search_subreddits Rechercher des subreddits
Rechercher des subreddits
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_subreddits","arguments":{"query":"SOME_STRING_VALUE"}}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_subreddits", "arguments": { "query": "SOME_STRING_VALUE" } } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "search_subreddits", "arguments": { "query": "SOME_STRING_VALUE" } } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
top_comments_by_username Meilleurs commentaires par nom d'utilisateur
Meilleurs commentaires par nom d'utilisateur
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"top_comments_by_username","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_comments_by_username", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_comments_by_username", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
top_popular_posts Publications populaires principales
Publications populaires principales
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"top_popular_posts","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_popular_posts", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_popular_posts", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json()) outil
top_posts_by_username Meilleures publications par nom d'utilisateur
Meilleures publications par nom d'utilisateur
Exemples de code
curl -X POST \ 'https://mcp.pressmonitor.com/reddit/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"top_posts_by_username","arguments":[]}}' const payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_posts_by_username", "arguments": [] } }; const response = await fetch('https://mcp.pressmonitor.com/reddit/v1', { method: 'POST', headers: { 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, body: JSON.stringify(payload) }); console.log(await response.json()); import requests payload = { "jsonrpc": "2.0", "id": 1, "method": "tools/call", "params": { "name": "top_posts_by_username", "arguments": [] } } response = requests.post( 'https://mcp.pressmonitor.com/reddit/v1', headers={ 'Content-Type': 'application/json', 'Authorization': 'Bearer YOUR_TOKEN' }, json=payload, ) print(response.json())
comments_by_usernameCommentaires par nom d'utilisateur
Commentaires par nom d'utilisateur
Exemples de code