MCP
Telegram MCP-Server
Telegram hat mehr als 1 Milliarde monatlich aktive Nutzer, die Nachrichten, Kanäle, Gruppen, Sprachnachrichten, Bots und Medien teilen, was es wichtig für die direkte Verbreitung, das Community-Management und schnelllebige Nachrichtenpublikum macht.
MCP Version: 1.0.0 7 MCP-Tools Authentifizierung
Basis-URL
https://mcp.pressmonitor.com/mcp Authentifizierung
MCP-Anrufe verwenden ebenfalls Bearer-Token über JSON-RPC 2.0-Anfragen.
Authorization: Bearer YOUR_TOKEN bot_info
Bot-Informationen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| username | string | Ja | Benutzername |
Code-Beispiele
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
Kanalinformationen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| username | string | Ja | Benutzername |
Code-Beispiele
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
Nachrichten abrufen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| username | string | Ja | Benutzername |
| offset | string | Nein | Offset |
Code-Beispiele
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
Gruppeninformationen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| username | string | Ja | Benutzername |
Code-Beispiele
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
Suche
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| keyword | string | Ja | Schlüsselwort |
Code-Beispiele
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",
"arguments": {
"keyword": "VALUE"
}
},
"id": 1
}' search_hashtag
Hashtag suchen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| hashtag | string | Ja | Hashtag |
| offset | string | Nein | Offset |
Code-Beispiele
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
Benutzerinformationen
Argumente
| Name | Typ | Erforderlich | Beschreibung |
|---|---|---|---|
| username | string | Ja | Benutzername |
Code-Beispiele
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
}'