Telegram gateway for AI agents and automation.
Use GramGate when you need real Telegram account access via MTProto, not the limitations of the Bot API.
GitHub:
Telegram bots cannot reliably do the things many serious workflows need: read subscribed channels, browse full history, search across chats, join by link, or click inline buttons as a normal user.
GramGate solves that by exposing a real Telegram account through:
Use this skill for:
GramGate exposes 40+ Telegram endpoints and supports workflows like:
Typical local endpoints:
REST: http://127.0.0.1:18791
MCP: http://127.0.0.1:18793/sse
curl -s http://127.0.0.1:18791/health
curl -s http://127.0.0.1:18791/api/me
curl -s http://127.0.0.1:18791/api/dialogs?limit=30
curl -s -X POST http://127.0.0.1:18791/api/chat/info \
-H 'Content-Type: application/json' \
-d '{"chat_id":"@durov"}'
curl -s -X POST http://127.0.0.1:18791/api/chat/history \
-H 'Content-Type: application/json' \
-d '{"chat_id":"-1001234567890","limit":20}'
curl -s -X POST http://127.0.0.1:18791/api/message/search \
-H 'Content-Type: application/json' \
-d '{"chat_id":"-1001234567890","query":"keyword","limit":20}'
curl -s -X POST http://127.0.0.1:18791/api/chat/join \
-H 'Content-Type: application/json' \
-d '{"link":"@channel_name"}'
curl -s -X POST http://127.0.0.1:18791/api/message/send \
-H 'Content-Type: application/json' \
-d '{"recipient":"@username","text":"Hello from GramGate!"}'
curl -s -X POST http://127.0.0.1:18791/api/button/click \
-H 'Content-Type: application/json' \
-d '{"chat_id":123456789,"message_id":42,"callback_data":"btn_action"}'
Use GramGate MCP when another agent should be able to:
chat_id may be numeric or @usernameFor setup, architecture, authentication, rate limiting, and the complete endpoint list, use the GitHub repo as the canonical reference:
共 1 个版本