AT

areweai/tsgram-mcp

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

88 stars 21 forks 품질 63 트렌드 0MIT

areweai/tsgram-mcp는 MCP 서버 후보로 수입 https://github.com/areweai/tsgram-mcp.]

개요

areweai/tsgram-mcp는 MCP 서버 후보로 수입 https://github.com/areweai/tsgram-mcp.]

개요(AI 번역)

** 로컬 프로젝트의 Claude 코드를 3 분 안에 Telegram에 이야기하십시오! **

TSGram MCP는 TS/Node/Docker/cli-utils를 사용하여 전보 코드 세션을 연결하여 Telegram 채팅에서 AI 전원 코드를 지원할 수 있습니다. 코드베이스에 대한 질문, AI 통찰력을 얻을, 심지어 파일을 편집 - 모든 Telegram에서 휴대 전화!

##는 어떻게 작동합니까 (모든 지역)

  • Local Docker 컨테이너는 Telegram webhook 서버를 실행합니다.
  • TSGram MCP 서버는 로컬로 실행
  • Claude Code 또는 Claude 데스크톱은 로컬로 실행되며 MCP를 로컬로 추가합니다.
  • Telegram을 통해 봇 인앱 생성 및 삭제, telegram 사용자 ID에 제한되는 액세스
  • Localhost에서 봇을 관리하는 현대 로컬 웹 대시보드
  • 현지의 의미! 컴퓨터가 오프라인이라면 봇입니다.

빠른 시작 (3 분)

# # пов AI Agent 향상된 설정 (추천!)

Claude는 전체 설정을 처리하고 필요한 값을 요청합니다.

** 맨끝에서: ** 0. Docker 데스크톱 및 Node.js 20+ 설치 (npm 포함)

  1. 저장소를 복제:

  2. 명령줄에서, 시작 Claude:

  3. /init로 초기화

  4. 사본과 풀이 신속한:

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

TSGram MCP 🚀

Get Claude Code in your local project talking to Telegram in 3 minutes!

TSGram MCP connects Claude Code sessions to Telegram using TS/Node/Docker/cli-utils, enabling AI-powered code assistance directly in your Telegram chats. Ask questions about your codebase, get AI insights, and even edit files - all from Telegram on your phone!

🔒 How It Works (All Local)

  • Local Docker container runs the Telegram webhook server
  • TSGram MCP server runs locally
  • Your Claude Code or Claude Desktop runs locally and adds MCP locally
  • Create and delete bots in-app through Telegram, access limited to your telegram user id
  • Modern local web dashboard to manage bots from localhost
  • Local means local! If your computer is offline, so are your bots.

Quick Start (3 Minutes)

Let Claude handle the entire setup and ask you for the required values.

From your terminal: 0. Install Docker Desktop and Node.js 20+ (npm included)

  1. Clone the repository:

    git clone https://github.com/areweai/tsgram-mcp.git
    cd tsgram-mcp
    
  2. From the command line, start Claude:

    claude --model sonnet
    
  3. Initialize with /init

  4. Copy and paste this prompt:

    First, explain to the human how to register a new Telegram bot with @BotFather and get their bot token (TELEGRAM_BOT_TOKEN), and how to get their Telegram user ID from @userinfobot (for AUTHORIZED_CHAT_ID). They can work on getting these credentials while you set up the system. Then help the user set up tsgram-mcp for claude code. Do everything from installing node modules to creating and deploying the local docker containers. Finally, when everything is deployed, remind the user to configure their bot token and authorized chat ID along wither other required .env variables.

Make sure you replace the TELEGRAM_BOT_TOKEN and AUTHORIZED_CHAT_ID placeholders with the actual values.

In order to retrieve those values, you will have to message the following Telegram bots and follow their instructions:

The AI will then handle all the setup steps for you, including:

  • Installing dependencies
  • Configuring environment variables
  • Building Docker containers
  • Starting services
  • Guiding you through bot registration
  • Setting up the MCP server (and allow you to extend functionality locally)

CLI no-AI Alternative If Hitting LLM troubles: Setup Shell Script Run from your project root:

# One-line install (macOS/Linux)
curl -sSL https://raw.githubusercontent.com/areweai/tsgram-mcp/main/setup.sh | bash

# Or if you prefer to review first:
curl -sSL https://raw.githubusercontent.com/areweai/tsgram-mcp/main/setup.sh > setup.sh
chmod +x setup.sh
GitHub에서 전체 README 보기

설치

docker exec -i tsgram-mcp-workspace npx tsx src/mcp-server.ts
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →