Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/matskevich/tg-mcp-guardedInstalling this writes the configuration, not the program: `python3` runs a file from the repository, so clone it first and make the path in the command match where you put it.
Wrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/mcp/matskevich/tg-mcp-guarded/tgmcp-actions)<a href="https://agentmods.dev/mcp/matskevich/tg-mcp-guarded/tgmcp-actions"><img src="https://agentmods.dev/badge/mcp/matskevich/tg-mcp-guarded/tgmcp-actions/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/mcp/matskevich/tg-mcp-guarded/tgmcp-actions"><img src="https://agentmods.dev/badge/mcp/matskevich/tg-mcp-guarded/tgmcp-actions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>Grade A, and why
tgmcp-actions scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
{
"tgmcp-actions": {
"command": "venv/bin/python3",
"args": [
"tganalytics/mcp_server_actions.py"
],
"env": {
"PYTHONPATH": "tganalytics:.",
"TG_SESSIONS_DIR": "data/sessions",
"TG_SESSION_PATH": "data/sessions/actions_session.session",
"TG_READ_SESSION_PATH": "data/sessions/read_only_ro.session",
"TG_ACTIONS_SESSION_PATH": "data/sessions/actions_session.session",
"TG_SESSION_PATH_CONFLICT_MODE": "fail",
"TG_SESSION_CONFLICT_REGISTRY_FILE": "data/anti_spam/session_registry.json",
"TG_ALLOW_SESSION_SWITCH": "0",
"TG_ACTIONS_ENABLED": "1",
"TG_ACTIONS_REQUIRE_ALLOWLIST": "1",
"TG_ACTIONS_ALLOWED_GROUPS": "",
"TG_ACTIONS_MAX_MESSAGE_LEN": "2000",
"TG_ACTIONS_MAX_FILE_MB": "20",
"TG_ACTIONS_REQUIRE_CONFIRMATION_TEXT": "1",
"TG_ACTIONS_CONFIRMATION_PHRASE": "",
"TG_ACTIONS_MIN_CONFIRM_TEXT_LEN": "6",
"TG_ACTIONS_REQUIRE_APPROVAL_CODE": "1",
"TG_ACTIONS_APPROVAL_TTL_SEC": "1800",
"TG_ACTIONS_APPROVAL_MIN_AGE_SEC": "30",
"TG_ACTIONS_APPROVAL_FILE": "data/anti_spam/action_approvals.json",
"TG_ACTIONS_IDEMPOTENCY_ENABLED": "1",
"TG_ACTIONS_IDEMPOTENCY_WINDOW_SEC": "86400",
"TG_ACTIONS_IDEMPOTENCY_FILE": "data/anti_spam/action_idempotency.json",
"TG_ACTIONS_BATCH_FILE": "data/anti_spam/action_batches.json",
"TG_ACTIONS_BATCH_TTL_HOURS": "168",
"TG_ACTIONS_BATCH_APPROVAL_LEASE_SEC": "86400",
"TG_ACTIONS_BATCH_RUN_LEASE_SEC": "1800",
"TG_BLOCK_DIRECT_TELETHON_WRITE": "1",
"TG_ALLOW_DIRECT_TELETHON_WRITE": "0",
"TG_ENFORCE_ACTION_PROCESS": "1",
"TG_DIRECT_TELETHON_WRITE_ALLOWED_CONTEXTS": "actions_mcp",
"TG_WRITE_CONTEXT": "actions_mcp",
"TG_ACTION_PROCESS": "1",
"TG_RECEIVE_UPDATES": "0",
"TG_SESSION_LOCK_MODE": "shared",
"TG_GLOBAL_RPS_MODE": "shared",
"TG_FLOOD_CIRCUIT_THRESHOLD_SEC": "300",
"TG_FLOOD_CIRCUIT_COOLDOWN_SEC": "900What else .mcp.json configures
This page is one entry in a file that holds 2. Installing the file brings all of them; each is measured and scanned on its own page.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 2mo ago First seen · 49 lines scan A 7164f3a7c39e
tgmcp-actions is an MCP server published in the GitHub repository matskevich/tg-mcp-guarded (10 stars, last pushed today), licensed MIT. Its token cost is not measured: an MCP server costs its tool schemas, not its config file. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
tgmcp-actions compared with mcp servers from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| tgmcp-actionsmatskevich/tg-mcp-guarded | MCP server | 10 | today | MIT | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| specpilotgirishr/SpecPilot | MCP server | 41 | yesterday | MIT | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| raycastExpertVagabond/raycast-mcp-server | MCP server | 6 | today | MIT | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| habiticarodcordeiro/habitica-mcp | MCP server | 0 | 6d ago | MIT | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| pomodoro-ai-mcpCSOAI-ORG/pomodoro-ai-mcp | MCP server | 0 | 1mo ago | MIT | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| weekly-review-skilltestman2025/weekly-review-skill | MCP server | 0 | 3mo ago | none | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |
| calendly-mcppranjalkumar-evonence/Calendly-MCP | MCP server | 0 | 4mo ago | none | A | — | Claude Code, Codex, Cursor, Gemini CLI, OpenCode |