tggroupMCP
Provides vector embeddings for semantic search in cached messages, enabling RAG functionality.
Allows interaction with a Telegram group through MTProto/GramJS, providing tools for sending messages, reading messages, and searching messages with keyword, vector, and hybrid candidates.
Click on "Install Server".
Wait a few minutes for the server to deploy. Once ready, it will show a "Started" state.
In the chat, type
@followed by the MCP server name and your instructions, e.g., "@tggroupMCPsearch for recent messages about TypeScript"
That's it! The server will respond to your query, and you can continue using it as needed.
Here is a step-by-step guide with screenshots.
tggroupMCP
TypeScript MCP stdio server for a Telegram group through MTProto/GramJS.
The default chat is Парилка228 (-1003179772905), but all chat IDs live in env config so the server can be reused for other groups.
Setup
cd /root/telegram-parilka-mcp
npm install
cp .env.example .env
npm run generate-session
npm run buildPut the generated TELEGRAM_SESSION into .env.
Related MCP server: Telegram MCP Server
Run
npm run print-config
npm run startCache warmer
Run this as a long-lived process to keep SQLite warm. It fetches recent messages first, then an older backfill chunk, using cursors stored in SQLite:
npm run sync-daemonOne-shot mode, useful for cron/systemd timers:
npm run sync-onceVector RAG
Set OPENAI_API_KEY or TELEGRAM_EMBEDDINGS_API_KEY, then index cached messages into local SQLite vector chunks:
npm run embed-once -- --limit-chunks 1000The regular sync daemon also indexes new chunks when embeddings are configured. search_messages returns keyword, vector, and hybrid candidates; semantic_search_messages returns only cosine-ranked chunks.
MCP config example:
[mcp_servers.telegram-parilka]
command = "/root/telegram-parilka-mcp/bin/telegram-parilka-mcp"Sending is live by default. Set TELEGRAM_SEND_ENABLED=false or pass dry_run: true to preview without posting.
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Latest Blog Posts
MCP directory API
We provide all the information about MCP servers via our MCP API.
curl -X GET 'https://glama.ai/api/mcp/v1/servers/billyhargroveofficial/tggroupMCP'
If you have feedback or need assistance with the MCP directory API, please join our Discord server