Skip to content
MCP server

tsgram-mcp

Chat with Claude Code about your local project from a Telegram bot

tsgram-mcp is an open-source MCP server for developer tools. It is available on CLI, Telegram, Self-hosted, macOS and Linux.

Pricing
Open source
Platforms
CLI, Telegram, Self-hosted
GitHub stars
88
Last commit
Language
JavaScript
License
MIT

Similar MCP servers

About tsgram-mcp

TSGram runs a small local stack that links a Telegram bot to a Claude Code or Claude Desktop session on your machine. Messages you send to the bot are answered with AI about the codebase in your project folder, so you can ask questions or request changes from your phone.

The setup uses Docker for the webhook server and a local MCP server that Claude clients connect to. Bots are created and removed through Telegram itself, and only the numeric Telegram user ID you configure is allowed to issue commands. A local web dashboard on localhost shows bot status, activity logs and health checks.

File editing is off by default and must be switched on from the chat with a command, and a set of Unix-style read commands such as listing directories and printing files is available. Because Telegram servers sit in the message path, the project recommends not using it for highly sensitive work. It suits developers who want to check on or nudge a local project away from their desk.

What it does

Telegram bot control
Send messages to a bot that relays requests to Claude Code running against your local project.
Locked to your user ID
Only the numeric Telegram user ID set in the environment file can use the bot.
Opt-in file editing
Editing stays disabled until you enable it from the chat, and can be turned off again.
Limited shell commands
A subset of Unix commands such as listing directories and viewing files can be run from chat.
Local web dashboard
A localhost dashboard shows bot status, activity logs, system health and quick test actions.
Docker-based setup
Webhook server runs in a local Docker container, with npm scripts for start, stop, logs and rebuild.

Good for

  • Check on a local codebase and ask questions about its files while away from the computer
  • Send small code edits to a project from a phone and review the output in Telegram
  • Run a Claude Code session in a project folder and receive its responses in a Telegram chat
  • Manage several Telegram bots tied to local projects from one dashboard

Pricing

Open source

Free and MIT licensed; you supply your own AI provider key.

tsgram-mcp FAQ

Which AI models does tsgram-mcp use?

It is described as using Claude 3.5 Sonnet or GPT-4, with an OpenRouter or OpenAI API key supplied in the environment file.

Do I need to expose my computer to the internet?

The project describes the stack as running locally, and the bot works only while your computer is online.

Can the bot change my files?

Only after you enable edit mode with the dangerzone command in the chat. You can disable it again with safetyzone.

What do I need installed?

Docker Desktop, Node.js 20 or later, a Telegram account, and Claude Desktop or Claude Code.

Is tsgram-mcp free?

Yes. tsgram-mcp is open source, so you can use and self-host it for free.

What are the best alternatives to tsgram-mcp?

The closest alternatives to tsgram-mcp are codemcp, Desktop Commander, Claude Code Explorer MCP, Claudebox and mac-terminal-mcp.

Where this comes from

  • Description: written from the project's README.

How AIPoweredBot checks servers