MCP
Facebook MonitorMCP服务器
The AI-powered Facebook provides 360° Global Media Data & Intelligence on Facebook pages, groups, community managers, advertisers, and platform policy teams.
MCP 版本: 1.0.0 3 MCP工具 身份验证
基本网址
https://pressmonitor.com/mcp 身份验证
MCP 调用在每次 JSON-RPC 2.0 请求中都需要 x-api-key 和 x-subscription-id 标头。
x-api-key: YOUR_API_KEY
x-subscription-id: YOUR_SUB_ID facebook_user
Get Facebook user profile data by username
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| username | string | 是 | Username |
代码示例
curl -X POST \
"https://pressmonitor.com/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
Get Facebook page data by page_id
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| page_id | string | 是 | Page ID |
代码示例
curl -X POST \
"https://pressmonitor.com/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
Get Facebook page posts by page_id
参数
| 名称 | 类型 | 必填 | 描述 |
|---|---|---|---|
| page_id | string | 是 | Page ID |
| limit | integer | 不 | Number of results |
代码示例
curl -X POST \
"https://pressmonitor.com/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
}'