MCP

X Intelligence pour les équipes marché, médias et risques MCP Server

Outils MCP pour X (Twitter)

URL de base

https://mcp.pressmonitor.com/x/v1

Authentification

Les appels MCP utilisent également des jetons Bearer pour les 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/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
outil autocomplete

Autocomplétion

Autocomplétion

Arguments

Nom Type Obligatoire Description
value string Oui Valeur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"autocomplete","arguments":{"value":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil comments

Commentaires

Commentaires

Arguments

Nom Type Obligatoire Description
pid string Oui Pid
ranking_mode string Oui Mode de classement
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"comments","arguments":{"pid":"SOME_STRING_VALUE","ranking_mode":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil community_topics

Sujets communautaires

Sujets communautaires

Arguments

Nom Type Obligatoire Description
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"community_topics","arguments":{"count":20,"cursor":"NEXT_CURSOR"}}}'
outil community_tweets

Tweets de la communauté

Tweets de la communauté

Arguments

Nom Type Obligatoire Description
communityId string Oui Identifiant de la communauté
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"community_tweets","arguments":{"communityId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil followers

Abonnés

Abonnés

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil followers_ids

Identifiants des abonnés

Identifiants des abonnés

Arguments

Nom Type Obligatoire Description
username string Oui Nom d'utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followers_ids","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil followings

Abonnements

Abonnements

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followings","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil followings_ids

Identifiants des abonnements

Identifiants des abonnements

Arguments

Nom Type Obligatoire Description
username string Oui Nom d'utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"followings_ids","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil get_users

Obtenir des utilisateurs

Obtenir des utilisateurs

Arguments

Nom Type Obligatoire Description
users string Oui Utilisateurs
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_users","arguments":{"users":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil group_tweets

Regrouper les tweets

Regrouper les tweets

Arguments

Nom Type Obligatoire Description
communityId string Oui Identifiant de la communauté
rankingMode string Oui Mode de classement
searchType string Oui Type de recherche
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_tweets","arguments":{"communityId":"SOME_STRING_VALUE","rankingMode":"SOME_STRING_VALUE","searchType":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil highlights

Points forts

Points forts

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"highlights","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil jobs_details

Détails des offres d'emploi

Détails des offres d'emploi

Arguments

Nom Type Obligatoire Description
jobId string Oui Identifiant de l'offre d'emploi
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobs_details","arguments":{"jobId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil jobs_locations_suggest

Suggestion de lieux pour les offres d'emploi

Suggestion de lieux pour les offres d'emploi

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"jobs_locations_suggest","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil likes

Likes

Likes

Arguments

Nom Type Obligatoire Description
pid string Oui Pid
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"likes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil list_details

Détails de la liste

Détails de la liste

Arguments

Nom Type Obligatoire Description
listId string Oui Identifiant de la liste
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_details","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil list_timeline

Chronologie de la liste

Chronologie de la liste

Arguments

Nom Type Obligatoire Description
listId string Oui Identifiant de la liste
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_timeline","arguments":{"listId":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil list_tweets

Tweets de la liste

Tweets de la liste

Arguments

Nom Type Obligatoire Description
list_id string Oui Identifiant de la liste
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"list_tweets","arguments":{"list_id":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil org_affiliates

Affiliés de l'organisation

Affiliés de l'organisation

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"org_affiliates","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil quotes

Citations

Citations

Arguments

Nom Type Obligatoire Description
pid string Oui Pid
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"quotes","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil retweets

Retweets

Retweets

Arguments

Nom Type Obligatoire Description
pid string Oui Pid
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"retweets","arguments":{"pid":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil search_community

Recherche communautaire

Recherche communautaire

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_community","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil search_lists

Listes de recherche

Listes de recherche

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_lists","arguments":{"query":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil searchold

Searchold

Searchold

Arguments

Nom Type Obligatoire Description
query string Oui Requête de recherche
type string Oui Type
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"searchold","arguments":{"query":"UNE_VALEUR_CHAINE","type":"UNE_VALEUR_CHAINE","count":20,"cursor":"CURSEUR_SUIVANT"}}}'
outil spaces

Spaces

Spaces

Arguments

Nom Type Obligatoire Description
id string Oui Identifiant
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"spaces","arguments":{"id":"UNE_VALEUR_CHAINE","count":20,"cursor":"CURSEUR_SUIVANT"}}}'
outil tweet

Tweet

Tweet

Arguments

Nom Type Obligatoire Description
pid string Oui Pid
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweet","arguments":{"pid":"UNE_VALEUR_CHAINE","count":20,"cursor":"CURSEUR_SUIVANT"}}}'
outil tweet_by_ids

Tweet par identifiants

Tweet par identifiants

Arguments

Nom Type Obligatoire Description
tweetIDs string Oui Identifiants des tweets
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"tweet_by_ids","arguments":{"tweetIDs":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user

Utilisateur

Utilisateur

Arguments

Nom Type Obligatoire Description
username string Oui Nom d'utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user","arguments":{"username":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user_likes

Tweets aimés par l'utilisateur

Tweets aimés par l'utilisateur

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_likes","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user_media

Médias de l'utilisateur

Médias de l'utilisateur

Arguments

Nom Type Obligatoire Description
cusor string Oui Curseur
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_media","arguments":{"cusor":"SOME_STRING_VALUE","user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user_replies

Réponses de l'utilisateur

Réponses de l'utilisateur

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_replies","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user_replies_v2

Réponses de l'utilisateur V2

Réponses de l'utilisateur V2

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_replies_v2","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil user_tweets

Tweets de l'utilisateur

Tweets de l'utilisateur

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_tweets","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'
outil verified_followers

Abonnés vérifiés

Abonnés vérifiés

Arguments

Nom Type Obligatoire Description
user string Oui Utilisateur
count string Non Nombre de résultats à retourner
cursor string Non Curseur de pagination pour la page suivante

Exemples de code

curl -X POST \ 'https://mcp.pressmonitor.com/x/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"verified_followers","arguments":{"user":"SOME_STRING_VALUE","count":20,"cursor":"NEXT_CURSOR"}}}'