@overpod/mcp-telegram 1.12.0 → 1.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +26 -0
- package/dist/index.js +2 -838
- package/dist/telegram-client.js +23 -1
- package/dist/tools/auth.d.ts +3 -0
- package/dist/tools/auth.js +72 -0
- package/dist/tools/chats.d.ts +3 -0
- package/dist/tools/chats.js +121 -0
- package/dist/tools/contacts.d.ts +3 -0
- package/dist/tools/contacts.js +135 -0
- package/dist/tools/extras.d.ts +3 -0
- package/dist/tools/extras.js +155 -0
- package/dist/tools/index.d.ts +3 -0
- package/dist/tools/index.js +16 -0
- package/dist/tools/media.d.ts +3 -0
- package/dist/tools/media.js +84 -0
- package/dist/tools/messages.d.ts +3 -0
- package/dist/tools/messages.js +208 -0
- package/dist/tools/reactions.d.ts +3 -0
- package/dist/tools/reactions.js +63 -0
- package/dist/tools/shared.d.ts +40 -0
- package/dist/tools/shared.js +30 -0
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -90,6 +90,32 @@ claude mcp add telegram-personal -s user \
|
|
|
90
90
|
|
|
91
91
|
Each account gets its own session file — no conflicts.
|
|
92
92
|
|
|
93
|
+
### Proxy Support
|
|
94
|
+
|
|
95
|
+
If Telegram is blocked or you're running in a containerized environment (Docker, K3s), use a SOCKS5 or MTProxy:
|
|
96
|
+
|
|
97
|
+
```bash
|
|
98
|
+
# SOCKS5 proxy
|
|
99
|
+
TELEGRAM_PROXY_IP=127.0.0.1 \
|
|
100
|
+
TELEGRAM_PROXY_PORT=10808 \
|
|
101
|
+
npx @overpod/mcp-telegram
|
|
102
|
+
|
|
103
|
+
# MTProxy
|
|
104
|
+
TELEGRAM_PROXY_IP=proxy.example.com \
|
|
105
|
+
TELEGRAM_PROXY_PORT=443 \
|
|
106
|
+
TELEGRAM_PROXY_SECRET=ee00000000000000000000000000000000 \
|
|
107
|
+
npx @overpod/mcp-telegram
|
|
108
|
+
```
|
|
109
|
+
|
|
110
|
+
| Variable | Description |
|
|
111
|
+
|----------|-------------|
|
|
112
|
+
| `TELEGRAM_PROXY_IP` | Proxy server address |
|
|
113
|
+
| `TELEGRAM_PROXY_PORT` | Proxy server port |
|
|
114
|
+
| `TELEGRAM_PROXY_SOCKS_TYPE` | `4` or `5` (default: `5`) |
|
|
115
|
+
| `TELEGRAM_PROXY_SECRET` | MTProxy secret (enables MTProxy mode) |
|
|
116
|
+
| `TELEGRAM_PROXY_USERNAME` | Optional proxy auth |
|
|
117
|
+
| `TELEGRAM_PROXY_PASSWORD` | Optional proxy auth |
|
|
118
|
+
|
|
93
119
|
## Installation Options
|
|
94
120
|
|
|
95
121
|
### npx (recommended, zero install)
|