MCP
Facebook Monitor Serveur MCP
The AI-powered Facebook provides 360° Global Media Data & Intelligence on Facebook pages, groups, community managers, advertisers, and platform policy teams.
MCP Version: 1.0.0 3 Outils MCP Authentification
URL de base
https://pressmonitor.co.in/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 facebook_user
Obtenir utilisateur
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| username | string | Oui | Nom d'utilisateur |
Exemples de code
curl -X POST \
"https://pressmonitor.co.in/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": "facebook_user",
"arguments": {
"username": "VALUE"
}
},
"id": 1
}' facebook_page
Obtenir page
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| page_id | string | Oui | ID de page |
Exemples de code
curl -X POST \
"https://pressmonitor.co.in/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": "facebook_page",
"arguments": {
"page_id": "VALUE"
}
},
"id": 1
}' facebook_posts
Obtenir publications
Arguments
| Nom | Type | Obligatoire | Description |
|---|---|---|---|
| page_id | string | Oui | ID de page |
| limit | integer | Non | Nombre de résultats |
Exemples de code
curl -X POST \
"https://pressmonitor.co.in/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": "facebook_posts",
"arguments": {
"page_id": "VALUE",
"limit": 0
}
},
"id": 1
}' 