MCP

Telegram MCP Server

Telegram conta più di 1 miliardo di utenti attivi mensili che condividono messaggi, canali, gruppi, note vocali, bot e media, rendendolo importante per la distribuzione diretta, la gestione delle comunità e audience di notizie in rapido movimento.

MCP Version: 1.0.0 7 MCP Tools Authentication
Telegram

Base URL

https://mcp.pressmonitor.com/mcp

Authentication

MCP calls use Bearer tokens over JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

bot_info

Informazioni sul Bot

Arguments

Name Type Required Description
username string Yes Nome utente

Code Examples

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

channel_info

Informazioni sul Canale

Arguments

Name Type Required Description
username string Yes Nome utente

Code Examples

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

get_messages

Ottieni Messaggi

Arguments

Name Type Required Description
username string Yes Nome utente
offset string No Offset

Code Examples

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

group_info

Informazioni sul Gruppo

Arguments

Name Type Required Description
username string Yes Nome utente

Code Examples

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

search_hashtag

Cerca Hashtag

Arguments

Name Type Required Description
hashtag string Yes Hashtag
offset string No Offset

Code Examples

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

user_info

Informazioni sull'Utente

Arguments

Name Type Required Description
username string Yes Nome utente

Code Examples

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