MCP
Reddit Serveur MCP
Reddit compte environ 121 millions d'utilisateurs actifs quotidiens dans des forums, fils, posts texte, liens, images et commentaires, ce qui en fait une plateforme importante pour les insights communautaires, le suivi de réputation, les retours produit et la découverte de niches.
MCP Version: 1.0.0 14 Outils MCP Authentification
URL de base
https://mcp.pressmonitor.fr/mcp Authentification
Les appels MCP utilisent aussi des jetons Bearer sur des requêtes JSON-RPC 2.0.
Authorization: Bearer YOUR_TOKEN get_cursor
Obtenir le curseur
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Nouveaux subreddits
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Publications populaires
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Subreddits populaires
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
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.fr/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
Publications par subreddit
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Publications par nom d'utilisateur
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Publications populaires en hausse
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Rechercher des publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Rechercher des subreddits
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Meilleurs commentaires par nom d'utilisateur
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Meilleures publications populaires
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Meilleures publications par nom d'utilisateur
Exemples de code
curl -X POST "https://mcp.pressmonitor.fr/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
Commentaires par nom d'utilisateur
Exemples de code