MCP
X Monitor Serveur MCP
The AI-powered X provides 360° Global Media Data & Intelligence on X (Twitter) users, community managers, journalists, brands, and real-time communication teams.
MCP Version: 1.0.0 7 Outils MCP Authentification
URL de base
https://pressmonitor.ca/mcp Authentification
Les appels MCP necessitent les en-tetes x-api-key et x-subscription-id a chaque requete JSON-RPC 2.0.
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID twitter_user
Obtenir twitter utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_user",
"arguments": {
"username": "VALUE"
}
},
"id": 1
}' twitter_tweets
Obtenir twitter tweets
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur |
| count | integer | Non | Nombre de résultats |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_tweets",
"arguments": {
"username": "VALUE",
"count": 0
}
},
"id": 1
}' twitter_search
Obtenir twitter recherche
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| query | string | Oui | Requête de recherche |
| count | integer | Non | Nombre de résultats |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_search",
"arguments": {
"query": "VALUE",
"count": 0
}
},
"id": 1
}' twitter_tweet
Obtenir twitter tweet
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| pid | string | Oui | ID du tweet |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_tweet",
"arguments": {
"pid": "VALUE"
}
},
"id": 1
}' twitter_followers
Obtenir twitter abonnés
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID utilisateur |
| count | integer | Non | Nombre de résultats |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_followers",
"arguments": {
"user": "VALUE",
"count": 0
}
},
"id": 1
}' twitter_followers_page
Obtenir twitter abonnés page
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID utilisateur |
| count | integer | Non | Nombre de résultats |
| cursor | string | Non | Curseur de pagination |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_followers_page",
"arguments": {
"user": "VALUE",
"count": 0,
"cursor": "VALUE"
}
},
"id": 1
}' twitter_followings_page
Obtenir twitter abonnements page
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| user | string | Oui | ID utilisateur |
| count | integer | Non | Nombre de résultats |
| cursor | string | Non | Curseur de pagination |
Exemples de code
curl -X POST \
"https://pressmonitor.ca/mcp" \
-H "x-api-key: YOUR_API_KEY" \
-H "x-subscription-id: YOUR_SUB_ID" \
-H "Content-Type: application/json" \
-d '{
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"name": "twitter_followings_page",
"arguments": {
"user": "VALUE",
"count": 0,
"cursor": "VALUE"
}
},
"id": 1
}' 