telegram-channel-mcp-server
telegram-channel-mcp-server
Bot API를 통해 텔레그램 채널에 게시물을 발행하고 관리하는 MCP 서버(stdio)입니다. 에이전트(Claude Code, Claude Desktop 등)가 텍스트, 사진, 동영상, 앨범, 문서, 음성 메시지, 비디오 메모, 설문/퀴즈 및 유료 콘텐츠를 게시하고, 게시물을 편집/삭제/고정할 수 있습니다.
설치
npm install
npm run buildRelated MCP server: Telegram Bot MCP Server
구성
변수 | 필수 | 설명 |
| 예 | @BotFather의 봇 토큰. 봇은 채널 관리자이며 "게시물 보내기" 권한(및 편집/삭제에 필요한 권한)이 있어야 합니다. |
| 아니요 | 기본 채널: |
Claude Code
claude mcp add telegram-channel -e TELEGRAM_BOT_TOKEN=123:ABC -e TELEGRAM_CHAT_ID=-1001234567890 -- node /abs/path/telegram-channel-mcp/dist/index.jsClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"telegram-channel": {
"command": "node",
"args": ["/abs/path/telegram-channel-mcp/dist/index.js"],
"env": { "TELEGRAM_BOT_TOKEN": "123:ABC", "TELEGRAM_CHAT_ID": "-1001234567890" }
}
}
}도구
도구 | 기능 |
| HTML/MarkdownV2 텍스트, 링크 미리보기 제어, 버튼 |
| 캡션, 스포일러, 버튼이 포함된 단일 미디어 |
| 2~10개 항목의 앨범을 하나의 게시물로 |
| 텔레그램 스타즈용 유료 게시물 |
| 설문 또는 퀴즈 / 종료 및 결과 확인 |
| 텍스트, 캡션, 미디어, 버튼 변경 |
| 최대 100개의 게시물 삭제 |
| 고정 / 고정 해제 |
| 다른 채팅에서 게시물 복사 또는 전달 |
| 채널을 대신하여 반응 |
| 채널 정보 및 구독자 수(읽기 전용) |
미디어는 모든 도구에서 문자열로 제공됩니다: 공개 http(s) URL, 로컬 파일의 절대 경로(서버가 업로드), 또는 텔레그램 file_id(전송 결과에 반환되므로 파일을 다시 업로드하지 않고 재사용할 수 있습니다).
버튼은 행 배열입니다: [[{ "text": "Website", "url": "https://…", "style": "primary" }], [{ "text": "Copy", "copy_text": "PROMO" }]]. url / callback_data / copy_text 중 정확히 하나만 사용하며, style: primary | success | danger입니다.
Bot API 제한 사항 처리
앨범과 비디오 메모에는 버튼을 넣을 수 없습니다 - 별도의 메시지로 보내세요.
앨범에서
show_caption_above_media는 모든 항목에 일괄 적용됩니다.유료 콘텐츠는 채널에서만 사용할 수 있으며, 1~10,000 스타즈입니다.
채널의 설문은 항상 익명입니다.
제한: 텍스트 4096자, 캡션 1024자, 파일 업로드 50MB / URL 20MB.
개발
npm run dev # run from sources
npm run smoke -- /path/to/img.png # e2e check against a real channel (creates and deletes test posts)
npx @modelcontextprotocol/inspector node dist/index.js레이아웃: src/telegram.ts - API 클라이언트 및 미디어 해석, src/schemas.ts - 공유 zod 스키마,
src/format.ts - 응답 형식화, src/tools/* - 도메인별 도구 그룹, src/index.ts - 진입점.
This server cannot be installed
Maintenance
Resources
Unclaimed servers have limited discoverability.
Looking for Admin?
If you are the server author, to access and configure the admin panel.
Related MCP Servers
- AlicenseBqualityDmaintenanceEnables interaction with Telegram channels through the Bot API, supporting comprehensive messaging operations including sending text/photos, creating polls, managing reactions, and editing/deleting messages. Provides complete channel management capabilities for automated Telegram bot operations.727MIT
- AlicenseNot gradedqualityBmaintenanceEnables sending Telegram messages, photos, and documents, and retrieving bot information through the Telegram Bot API.581MIT
- AlicenseNot gradedqualityCmaintenanceLets Claude manage a Telegram channel through the Bot API, including tracking subscriber growth and publishing, editing, pinning, or deleting posts.58MIT
- FlicenseNot gradedqualityCmaintenanceEnables publishing posts to a Telegram channel via an MCP tool, designed for scheduled content delivery and integration with Claude.
Related MCP Connectors
Telegram channels you administer: analytics, content plans, scheduled publishing. No userbot
Publish, schedule, and manage social media posts across major platforms via the Postproxy API.
MemberPass MCP — manage projects, plans, members, payments, and analytics for Telegram creators.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/eduard256/telegram-channel-mcp'
If you have feedback or need assistance with the MCP directory API, please join our Discord server