MCP

インスタグラムMCPサーバー

インスタグラムは、写真、ストーリー、リール、ダイレクトメッセージを通じて月に約30億人のユーザーに到達し、ブランドストーリーテリング、クリエイターとのパートナーシップ、プロダクト発見、ビジュアルコマースにおいて重要な役割を果たします。

MCP バージョン: 1.0.0 9 MCPツール 認証
インスタグラム

ベース URL

https://mcp.pressmonitor.com/mcp

認証

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

Authorization: Bearer YOUR_TOKEN

comments

コメント

引数

名前 タイプ 必須 説明
shortcode string はい ショートコード
count integer いいえ 返す結果の数
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "comments",
    "arguments": {
      "shortcode": "VALUE"
    }
  },
  "id": 1
}'

followers

フォロワー

引数

名前 タイプ 必須 説明
username_or_id_or_url string はい ユーザー名、ID、またはURL
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "followers",
    "arguments": {
      "username_or_id_or_url": "VALUE"
    }
  },
  "id": 1
}'

following

フォロー中

引数

名前 タイプ 必須 説明
username_or_id_or_url string はい ユーザー名、ID、またはURL
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "following",
    "arguments": {
      "username_or_id_or_url": "VALUE"
    }
  },
  "id": 1
}'

hashtag_posts

ハッシュタグ投稿

引数

名前 タイプ 必須 説明
hashtag string はい ハッシュタグ
count integer いいえ 返す結果の数
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "hashtag_posts",
    "arguments": {
      "hashtag": "VALUE"
    }
  },
  "id": 1
}'

info

情報

引数

名前 タイプ 必須 説明
username_or_id_or_url string はい ユーザー名、ID、またはURL
cursor integer いいえ 次ページ用のページネーションカーソル
include_about string いいえ Aboutを含む
url_embed_safe 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": "info",
    "arguments": {
      "username_or_id_or_url": "VALUE"
    }
  },
  "id": 1
}'

post_info

投稿情報

引数

名前 タイプ 必須 説明
url_or_shortcode string はい URLまたはショートコード
cursor integer いいえ 次ページ用のページネーションカーソル
url_embed_safe 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": "post_info",
    "arguments": {
      "url_or_shortcode": "VALUE"
    }
  },
  "id": 1
}'

posts

投稿

引数

名前 タイプ 必須 説明
username_or_id_or_url string はい ユーザー名、ID、またはURL
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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",
    "arguments": {
      "username_or_id_or_url": "VALUE"
    }
  },
  "id": 1
}'

search_posts

投稿検索

引数

名前 タイプ 必須 説明
search_query string はい 検索クエリ
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "search_posts",
    "arguments": {
      "search_query": "VALUE"
    }
  },
  "id": 1
}'

search_users

ユーザー検索

引数

名前 タイプ 必須 説明
search_query string はい 検索クエリ
cursor integer いいえ 次ページ用のページネーションカーソル

コード例

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": "search_users",
    "arguments": {
      "search_query": "VALUE"
    }
  },
  "id": 1
}'