Intelligence di piattaforma MCP

Telegram Server MCP

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 Versione: 1.0.0 7 Strumenti MCP Autenticazione
Telegram

URL base

https://mcp.pressmonitor.com/telegram/v1

Autenticazione

Le chiamate MCP utilizzano anche Bearer token su richieste JSON-RPC 2.0.

Authorization: Bearer YOUR_TOKEN

Scopri strumenti

Inizia elencando gli strumenti esposti dal server MCP.

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/list"}'
tool bot_info

Informazioni sul Bot

Informazioni sul Bot

Argomenti

Nome Tipo Obbligatorio Descrizione
username string Nome utente

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"bot_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool channel_info

Informazioni sul Canale

Informazioni sul Canale

Argomenti

Nome Tipo Obbligatorio Descrizione
username string Nome utente

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"channel_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool get_messages

Ottieni Messaggi

Ottieni Messaggi

Argomenti

Nome Tipo Obbligatorio Descrizione
username string Nome utente
offset string No Offset

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"get_messages","arguments":{"username":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}'
tool group_info

Informazioni sul Gruppo

Informazioni sul Gruppo

Argomenti

Nome Tipo Obbligatorio Descrizione
username string Nome utente

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"group_info","arguments":{"username":"SOME_STRING_VALUE"}}}'
tool search_hashtag

Cerca Hashtag

Cerca Hashtag

Argomenti

Nome Tipo Obbligatorio Descrizione
hashtag string Hashtag
offset string No Offset

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"search_hashtag","arguments":{"hashtag":"SOME_STRING_VALUE","offset":"SOME_STRING_VALUE"}}}'
tool user_info

Informazioni sull'Utente

Informazioni sull'Utente

Argomenti

Nome Tipo Obbligatorio Descrizione
username string Nome utente

Esempi di codice

curl -X POST \ 'https://mcp.pressmonitor.com/telegram/v1' \ -H 'Content-Type: application/json' \ -H 'Authorization: Bearer YOUR_TOKEN' \ -d '{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"user_info","arguments":{"username":"SOME_STRING_VALUE"}}}'