emailmd
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Self-hosted, consent-based access to Telegram accounts and bots for MCP clients
Lists are ordered by a usage score (out of 100) built from these parts
| Popularity | 4/80 | GitHub stars or weekly downloads: the larger counts 60, the smaller 20 |
|---|---|---|
| Freshness | 12/12 | Full marks for a release or code change within 30 days |
| Still answering | 0/8 | The cloud endpoint answered at the last check |
| Usage score | 16/100 |
Quality: Passed 3/3 basic checks (shown, not used for ordering) · Momentum: No data yet (Used only on the Trending tab)
Pick the AI app you use, then copy the settings.
Let your AI install it with one sentence
Please install TG multi-account MCP. Follow https://mcp.popnx.com/i/mesteriis-tg-account-mcp.md, show me the commands and wait for my OK before running them.Paste it into an AI that can work on your computer (such as Claude Code or Cursor). It reads our steps, shows you the commands and waits for your OK. No key, no sign-up. · See the full text your AI reads
Passed 3/3 checks · Runs on your computer · ✓ Commands checked Nov 14, 2026
First: which AI do you use?
Pick your app and the steps appear below.
Works with Claude, with some setup first
Install Python (uv) on your computer first (one time) · Only the Claude desktop app (Windows or Mac), not the web or phone
Copy this message into a Claude chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server TG multi-account MCP for Claude on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tg-account": { "command": "uvx", "args": [ "tg-account-mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TG multi-account MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
SettingsDeveloperEdit Config
{
"mcpServers": {
"tg-account": {
"command": "uvx",
"args": [
"tg-account-mcp",
"serve"
]
}
}
}Use TG multi-account MCP and tell me what you can do for me, then show me one thing✓ If Claude says it is using TG multi-account MCP or shows a TG multi-account MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TG_MCP_STATE_DIR Private directory initialized with tg-mcp setupDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
ChatGPT cannot connect TG multi-account MCP yet
TG multi-account MCP runs on your computer, but ChatGPT can only connect servers that run on the web
A · Use an app that can connect TG multi-account MCP
B · Others in Chat & email that work with ChatGPT
Picked from the most used in the same category, only ones that connect by address with no key
Works with Claude Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Claude Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server TG multi-account MCP for Claude Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): claude mcp add --scope user tg-account -- uvx tg-account-mcp serve 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TG multi-account MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Mac: press Command+Space and type Terminal · Windows: open PowerShell
claude mcp add --scope user tg-account -- uvx tg-account-mcp serveYou should see TG multi-account MCP listed as connected
Use TG multi-account MCP and tell me what you can do for me, then show me one thing✓ If Claude Code says it is using TG multi-account MCP or shows a TG multi-account MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TG_MCP_STATE_DIR Private directory initialized with tg-mcp setupDescriptions are as written by the maker.
Menu names checked against Anthropic’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with Cursor, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a Cursor chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server TG multi-account MCP for Cursor on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "mcpServers": { "tg-account": { "command": "uvx", "args": [ "tg-account-mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TG multi-account MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use TG multi-account MCP and tell me what you can do for me, then show me one thing✓ If Cursor says it is using TG multi-account MCP or shows a TG multi-account MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TG_MCP_STATE_DIR Private directory initialized with tg-mcp setupDescriptions are as written by the maker.
Menu names checked against Cursor’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Works with VS Code, with some setup first
Install Python (uv) on your computer first (one time)
Copy this message into a VS Code chat. The AI checks your computer, tells you which file it will change, and waits for your OK every time.
Please install the MCP server TG multi-account MCP for VS Code on this computer, in this order: 1) Check uv with uv --version. If it is missing, tell me to install it from https://docs.astral.sh/uv/getting-started/installation/; do not install it yourself. 2) Use only this config (already checked by PopNx MCP): { "servers": { "tg-account": { "type": "stdio", "command": "uvx", "args": [ "tg-account-mcp", "serve" ] } } } 3) Tell me the full path of the file you will change, or the command you will run, and wait for my OK. 4) No key is needed. 5) Do what we agreed, then check that the TG multi-account MCP tools really show up.This message has no key in it. If a key is needed, the AI will ask you to paste it yourself into the file or the app’s field.
Already installed? Check first · Open Terminal, type this command and press Enter
uv --versionMac: press ⌘ + Space, type Terminal, press Enter
Windows: open Start, type Windows PowerShell, then Open
Not installed: uv has no click-through installer. Copy the one-line command for your system (macOS or Windows) from uv’s official page into Terminal · no separate Python install needed; uv downloads it when required
When it’s done, close Terminal, open it again and run the same command. You should see a version number: uv --version
Install once; it works for everything that needs uv
Use TG multi-account MCP and tell me what you can do for me, then show me one thing✓ If VS Code says it is using TG multi-account MCP or shows a TG multi-account MCP tool in the answer, you are connected
The command above works without these. Add them only if you want to change something, following the maker’s description.
TG_MCP_STATE_DIR Private directory initialized with tg-mcp setupDescriptions are as written by the maker.
Menu names checked against VS Code’s help page on Nov 11, 2026 · your screen may differ slightly by app version
Other apps that use MCP, such as Windsurf, Zed or Gemini CLI, each add servers differently. See how in the app list.
JSON settings are under “For developers” below
Claude Code
claude mcp add --scope user tg-account -- uvx tg-account-mcp serveClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"tg-account": {
"command": "uvx",
"args": [
"tg-account-mcp",
"serve"
]
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"tg-account": {
"command": "uvx",
"args": [
"tg-account-mcp",
"serve"
]
}
}
}VS Code (mcp.json)
{
"servers": {
"tg-account": {
"type": "stdio",
"command": "uvx",
"args": [
"tg-account-mcp",
"serve"
]
}
}
}TG_MCP_STATE_DIR envDescriptions are as written by the maker.
These settings are generated from the maker’s registry entry. If the README says otherwise, follow the README.
pypi: tg-account-mcpBased on how this server connects and on each app’s own docs, checked Nov 10, 2026.
Run on your computer in
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
Runs on your computer; the tool list appears in your AI app after you install it.
We check information anyone can see; we have not read the code. Checks that do not apply are left out of the count. · Checked Nov 19, 2026
The registry name was verified with the GitHub account Mesteriis, which owns the repo
Code last changed yesterday
Uses Apache-2.0
This one runs on your computer; there is no internet endpoint
Runs on your computer and uses local settings instead
Runs on your computer; we can only read tool lists from internet endpoints
No entries on OSV.dev for tg-account-mcp@0.5.2
Checks only this package version, not every dependency · checked Nov 15, 2026
If you made this, paste this code into your README. The badge links back to this page.
[](https://mcp.popnx.com/en/servers/mesteriis-tg-account-mcp)Ask, share a tip or report that it does not work. Sorted by what people marked helpful.
No posts yet. Be the first to ask or share.
Posts here are written by users, not the PopNx team.
No reviews yet
Compared with every active server in this category in the registry. Stars count only when the publisher owns the repo.
It passed 3 of 3 applicable basic checks. We have not read the code. Before adding a key or token, see what access the server asks for and use a key with only the permissions you need.
The registry does not list a required key, though some servers ask you to sign in on first use.
It runs on your computer. Your AI app starts it when needed, and data does not pass through the maker’s servers (unless it calls an online service itself).
The GitHub repo last changed yesterday, and the latest version (0.5.2) reached the registry 2 months ago.
Apps that support MCP, such as Claude Desktop, Claude Code, Cursor and VS Code. You also need Python (uv) on your computer.
In the same category: emailmd, Kite Discord Bot Builder, e2a — email for AI agents, Infobip MCP, kernelCAD
Same category, other makers, commands already checked. Official ones first, then by stars.
Reading a card:↓ Downloads per weeki★ GitHub starsiThree pillars: reviews · checks · usageiUpdated = latest version published to the registryi
Render markdown into email-safe HTML, lint drafts for deliverability problems, and preview emails.
Build and fix Discord bots from a chat. Kite hosts them 24/7, with no code to deploy.
Authenticated email gateway for AI agents — per-agent inboxes, HITL approval, SPF/DKIM verified.
Infobip MCP server for omnichannel communication and messaging. SMS, RCS, WhatsApp, Viber and more.
CAD in ChatGPT and Claude: editable parts, STEP/STL/drawings, in-chat 3D, automatic checks.
| This one TG multi-account MCP | emailmd | Kite Discord Bot Builder | e2a — email for AI agents | Infobip MCP | kernelCAD | |
|---|---|---|---|---|---|---|
| Runs where | Installs on your computer | Cloud or install on your computer | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install | Runs in the cloud, nothing to install |
| Needs a key | No | No | No | No | No | No |
| Add with + in Claude | No | No | No | No | Yes | No |
| Basic checks | 3/3 | 5/5 | 4/4 | 4/4 | 4/4 | 4/4 |
| License | Apache-2.0 | MIT | AGPL-3.0 | Apache-2.0 | MIT | MIT |
| Price | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry | No cost listed in the registry |
Copied from the maker’s repo as written. PopNx MCP has not reviewed or endorsed it. HTML, images and scripts are removed. Links lead off this site.
A self-hosted Model Context Protocol server that lets AI agents work with Telegram through explicitly selected user accounts and optional bots. Accounts are connected in a local web wizard by scanning a QR code and entering a Telegram 2FA password when required.
The server is designed as an agent tool rather than a Telegram client. It can search chat history, read folders and threads, download attachments, track updates, create drafts, and send messages. Every operation names the account or bot it uses; the server never silently selects a sender.
[!IMPORTANT]
A Telegram session can access the corresponding account. Run this service on infrastructure
you control, protect the state directory and MCP tokens, and give agent tokens only the
permissions they need.
This is an unofficial integration that uses the Telegram API and is not affiliated with or endorsed by Telegram.
read, send, and admin permissions plus identity/chat allowlists.See the tool catalog for MCP tools and behavior notes, including project memory and local archives.
These are browser captures of the working dashboard with fictional accounts, chats, identifiers and statistics. They contain no real Telegram messages or deployment secrets; the numbers illustrate the interface, not measured performance.
Default storage rules are managed separately from per-chat overrides:
Mobile view · Mobile rule editor
api_id and api_hash from my.telegram.orgDocker and a domain are required only for the Compose deployment.
Install the published package:
uv tool install tg-account-mcp
tg-mcp setup TG_MCP_PORT=8765 tg-mcp serve
For development from a source checkout:
uv sync --frozen
uv run tg-mcp setup TG_MCP_PORT=8765 uv run tg-mcp serve
setup requests the Telegram API credentials through local terminal input and generates a random MCP access token. It does not request your phone number or account password.
Open http://127.0.0.1:8765/ and follow the account wizard:
Repeat the wizard to add more accounts. Bots are optional and are added separately in the dashboard. Their tokens are verified with Telegram before storage.
The state directory defaults to ~/.local/share/tg-mcp. Override it with --state-dir or TG_MCP_STATE_DIR.
Print the main token locally:
uv run tg-mcp show-token
Configure the client to use the Streamable HTTP endpoint and Bearer header:
{
"url": "http://127.0.0.1:8765/mcp", "headers": { "Authorization": "Bearer " } }
The surrounding configuration shape depends on the MCP client. Clients that require OAuth and cannot set a Bearer header are not currently supported.
Start with get_capabilities, list_accounts, and list_bots. All account and bot operations require an explicit stable ID such as acct_… or bot_….
For a folder-oriented request such as “show today’s messages in ITQ that concern my tasks,” an agent can call list_folders, then get_folder_messages with matching date_from and date_to values and an IANA timezone such as Europe/Madrid, provided that processing this content is permitted under the consent requirements below.
This repository also ships a Codex plugin with authenticated automatic service discovery and a workflow skill for chat resolution, folder summaries, complete pagination, attachments, drafts, and idempotent sending.
codex plugin marketplace add Mesteriis/tg-account-mcp --ref main
codex plugin add tg-account-mcp@tg-account-mcp
The plugin sends an authenticated discovery request to the local machine and network. Discovery requests and replies are authenticated using the configured MCP token; the token itself is never broadcast or sent before the discovered endpoint is authenticated. Set TG_MCP_URL to skip discovery and use a specific HTTPS endpoint. See the Codex plugin guide for server setup and example prompts.
When Codex and the service run as the same OS user on one machine, the bridge reads the token from the protected local state automatically. For a service on another machine, provide TG_MCP_TOKEN to the Codex process.
Operators must comply with the Telegram API Terms and Content Licensing Terms. In particular:
api_id;Installing this software does not grant rights to Telegram content. Use synthetic data, your own saved messages, or chats where the required consent has been obtained and remains valid.
The token generated by setup is the administrative token. Use create_agent_token to issue a separate token for each agent and restrict it by:
read, send, or admin;Only a SHA-256 hash of an agent token is retained, and the plaintext token is returned once. Revoke access with revoke_agent_token. A chat-limited token cannot use aggregate inbox, folder, or global-search tools because those operations could reveal neighboring chats.
For a trusted private network without the Compose HTTPS proxy, bind the service to the LAN and start it on the LAN:
TG_MCP_BIND=0.0.0.0 \
TG_MCP_PORT=8765 \ TG_MCP_TRUSTED_NETWORKS=192.168.1.0/24 \ tg-mcp serve
TG_MCP_TRUSTED_NETWORKS is optional and defaults to empty. When set to private CIDR ranges, clients whose direct TCP peer address is in one of those ranges can use /mcp without a Bearer token. This grants full administrative MCP access to every device in those ranges. Do not expose the service beyond the trusted LAN; forwarded client-address headers are not used for this check.
Open the server's LAN address in a browser. The dashboard does not ask for a token, so every user who can reach it can view its metadata and manage Telegram identities. Same-origin browser requests are accepted automatically; a separate frontend origin must be added to TG_MCP_ALLOWED_ORIGINS. Permit TCP 8765 and discovery UDP 38475 only from trusted networks. Use a VPN or an authenticating reverse proxy when traffic crosses an untrusted network.
Point a domain at the server and allow inbound TCP 80/443, then run:
cp .env.example .env
docker compose build docker compose run --rm --no-deps tg-mcp setup docker compose up -d
Open https://your-domain.example/ for initial setup. The dashboard is intentionally available without a token; protect the domain with network policy or an authenticating reverse proxy. Agents still connect to https://your-domain.example/mcp with a Bearer token.
Compose also publishes authenticated UDP discovery on port 38475 and advertises that HTTPS endpoint to clients on the same private network. Change TG_MCP_DISCOVERY_PORT on both sides when needed, or set TG_MCP_DISCOVERY=false if local discovery is not part of the deployment.
Caddy terminates HTTPS and does not expose the application port publicly. The application container runs as an unprivileged user with a read-only root filesystem. Run one application replica per state volume.
0700; sensitive files use 0600.TG_MCP_TRUSTED_NETWORKS; that opt-in grants full MCP access to clients in those private CIDRs.Back up the state volume only while the service is stopped and store the backup encrypted. If a session is exposed, revoke it from Telegram → Devices. See SECURITY.md for reporting vulnerabilities and the Russian README for operational details and error codes.
Opt in selected chats to persistent local history, observed edit versions and full-text search. Deleted-content retention is off by default. See archive setup and limitations and the tool catalog.
Project memory and semantic search add source-backed drafts, explicit approval and opt-in local Ollama embeddings. Projects stay isolated