MCP

X Monitor MCP सर्वर

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
}'