MCP

X MonitorMCPサーバー

The AI-powered X provides 360° Global Media Data & Intelligence on X (Twitter) users, community managers, journalists, brands, and real-time communication teams.

MCP バージョン: 1.0.0 7 MCPツール 認証
X Monitor

ベース URL

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

twitter_user

Get a simplified user profile by screen name

引数

名前 タイプ 必須 説明
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": "twitter_user",
    "arguments": {
      "username": "VALUE"
    }
  },
  "id": 1
}'

twitter_tweets

Get simplified tweets by screen name

引数

名前 タイプ 必須 説明
username string はい Username
count 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": "twitter_tweets",
    "arguments": {
      "username": "VALUE",
      "count": 0
    }
  },
  "id": 1
}'

twitter_tweet

Get a simplified tweet by its ID

引数

名前 タイプ 必須 説明
pid string はい Tweet 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": "twitter_tweet",
    "arguments": {
      "pid": "VALUE"
    }
  },
  "id": 1
}'

twitter_followers

Get simplified followers by numeric user ID

引数

名前 タイプ 必須 説明
user string はい Numeric user ID
count 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": "twitter_followers",
    "arguments": {
      "user": "VALUE",
      "count": 0
    }
  },
  "id": 1
}'

twitter_followers_page

Get a page of followers with the pagination cursor.

引数

名前 タイプ 必須 説明
user string はい Numeric user ID
count integer いいえ Number of results
cursor string いいえ Pagination cursor

コード例

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": "twitter_followers_page",
    "arguments": {
      "user": "VALUE",
      "count": 0,
      "cursor": "VALUE"
    }
  },
  "id": 1
}'

twitter_followings_page

Get a page of accounts a user follows (following) with the pagination cursor.

引数

名前 タイプ 必須 説明
user string はい Numeric user ID
count integer いいえ Number of results
cursor string いいえ Pagination cursor

コード例

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": "twitter_followings_page",
    "arguments": {
      "user": "VALUE",
      "count": 0,
      "cursor": "VALUE"
    }
  },
  "id": 1
}'