MCP
Intelligence Reddit pour chercheurs, marques et équipes communauté MCP Server
Outils MCP pour Reddit
URL de base
https://mcp.pressmonitor.com/reddit/v1 Authentification
Les appels MCP utilisent aussi un jeton Bearer avec des requetes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN Decouvrir les outils
Commencez par lister les outils exposes 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()) tool
get_cursor Get Cursor
Get Cursor
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()) tool
new_subreddits New Subreddits
Nouveau 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()) tool
popular_posts Popular Posts
Populaire Publications
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()) tool
popular_subreddits Popular Subreddits
Populaire 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":"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()) tool
post_details Post Details
Publication Détails
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| post_url | string | Oui | Post url |
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()) tool
posts_by_subreddit Posts By 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()) tool
posts_by_username Posts By Username
Publications Par Utilisateurname
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()) tool
rising_popular_posts Rising Popular Posts
En hausse Populaire Publications
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()) tool
search_posts Search Posts
Rechercher 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()) tool
search_subreddits Search Subreddits
Rechercher 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()) tool
top_comments_by_username Top Comments By Username
Top Commentaires Par Utilisateurname
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()) tool
top_popular_posts Top Popular Posts
Top Populaire Publications
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()) tool
top_posts_by_username Top Posts By Username
Top Publications Par Utilisateurname
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_usernameComments By Username
Commentaires Par Utilisateurname
Exemples de code