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 требуют заголовков x-api-key и x-subscription-id в каждом запросе JSON-RPC 2.0.

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