MCP

FacebookMCPサーバー

約20億人の日常的なユーザーが投稿、写真、動画、グループ、イベント、マーケットプレースのリストを共有しており、コミュニティのリーチ、顧客サービス、地域の発見、ソーシャルコマースにおいて重要です。

MCP バージョン: 1.0.0 29 MCPツール 認証
Facebook

ベース URL

https://mcp.pressmonitor.com/mcp

認証

MCP呼び出しは、JSON-RPC 2.0リクエストを介してBearerトークンを使用します。

Authorization: Bearer YOUR_TOKEN

get_post

投稿の取得

引数

名前 タイプ 必須 説明
post_id string はい 投稿ID

コード例

curl -X POST "https://mcp.pressmonitor.com/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_post",
    "arguments": {
      "post_id": "VALUE"
    }
  },
  "id": 1
}'

group_info

グループ情報

引数

名前 タイプ 必須 説明
id string はい ID

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "group_info",
    "arguments": {
      "id": "VALUE"
    }
  },
  "id": 1
}'

marketplace_product

マーケットプレイス製品

引数

名前 タイプ 必須 説明
product_id string はい 製品ID

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "marketplace_product",
    "arguments": {
      "product_id": "VALUE"
    }
  },
  "id": 1
}'

marketplace_profile

マーケットプレイスプロフィール

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "marketplace_profile",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

page_albums

ページのアルバム

引数

名前 タイプ 必須 説明
id string はい ID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "page_albums",
    "arguments": {
      "id": "VALUE"
    }
  },
  "id": 1
}'

page_details

ページの詳細

引数

名前 タイプ 必須 説明
id string はい ID

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "page_details",
    "arguments": {
      "id": "VALUE"
    }
  },
  "id": 1
}'

page_feed

ページのフィード

引数

名前 タイプ 必須 説明
id string はい ID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "page_feed",
    "arguments": {
      "id": "VALUE"
    }
  },
  "id": 1
}'

pages_search_post

ページ検索投稿

引数

名前 タイプ 必須 説明
query string はい 検索クエリ
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "pages_search_post",
    "arguments": {
      "query": "VALUE"
    }
  },
  "id": 1
}'

post_comments

投稿のコメント

引数

名前 タイプ 必須 説明
post_id string はい 投稿ID
end_cursor string いいえ 終了カーソル
order string いいえ 順序

コード例

curl -X POST "https://mcp.pressmonitor.com/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_comments",
    "arguments": {
      "post_id": "VALUE"
    }
  },
  "id": 1
}'

post_reactions

投稿へのリアクション

引数

名前 タイプ 必須 説明
post_id string はい 投稿ID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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_reactions",
    "arguments": {
      "post_id": "VALUE"
    }
  },
  "id": 1
}'

post_reactions_count

投稿のリアクション数

引数

名前 タイプ 必須 説明
post_id string はい 投稿ID

コード例

curl -X POST "https://mcp.pressmonitor.com/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_reactions_count",
    "arguments": {
      "post_id": "VALUE"
    }
  },
  "id": 1
}'

post_shares

投稿の共有数

引数

名前 タイプ 必須 説明
post_id string はい 投稿ID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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_shares",
    "arguments": {
      "post_id": "VALUE"
    }
  },
  "id": 1
}'

posts_search_post

投稿検索投稿

引数

名前 タイプ 必須 説明
query string はい 検索クエリ
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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_search_post",
    "arguments": {
      "query": "VALUE"
    }
  },
  "id": 1
}'

profile_about

プロフィールについて

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_about",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_albums

プロフィールのアルバム

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_albums",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_feed

プロフィールのフィード

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_feed",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_friends

プロフィールの友達

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_friends",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_likes

プロフィールのいいね

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_likes",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_page

プロフィールページ

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_page",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_photos

プロフィールの写真

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_photos",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

profile_search_post

プロフィール検索投稿

引数

名前 タイプ 必須 説明
query string はい 検索クエリ
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_search_post",
    "arguments": {
      "query": "VALUE"
    }
  },
  "id": 1
}'

profile_videos

プロフィール動画

引数

名前 タイプ 必須 説明
user_id string はい ユーザーID
end_cursor string いいえ 終了カーソル

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "profile_videos",
    "arguments": {
      "user_id": "VALUE"
    }
  },
  "id": 1
}'

share_post_url

投稿URLを共有

引数

名前 タイプ 必須 説明
url string はい URL

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "share_post_url",
    "arguments": {
      "url": "VALUE"
    }
  },
  "id": 1
}'

video_id_url

動画IDのURL

引数

名前 タイプ 必須 説明
url string はい URL

コード例

curl -X POST "https://mcp.pressmonitor.com/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": "video_id_url",
    "arguments": {
      "url": "VALUE"
    }
  },
  "id": 1
}'