draw.io
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
MCP server for aiogram Telegram bots — 30 tools, 7 resources, 3 prompts, event streaming
쓰고 있는 AI 앱을 고른 다음 설정을 복사하세요.
검사 2/3 통과 · 내 컴퓨터에서 실행돼요 · ✓ 명령 확인 2026년 11월 13일
먼저: 어떤 AI를 쓰시나요?
쓰는 앱을 고르면 아래에 단계가 나옵니다.
Claude에 연결할 수 있지만 먼저 준비가 필요해요
aiogram-mcp 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만) · 컴퓨터용 Claude 앱(Windows 또는 Mac)에서만 되고 웹이나 모바일은 안 돼요
이 메시지를 Claude 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude에 MCP server aiogram-mcp을 설치해 주세요. 순서대로: 1) uv --version로 uv가 있는지 확인. 없으면 https://docs.astral.sh/uv/getting-started/installation/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "aiogram": { "command": "uvx", "args": [ "aiogram-mcp" ], "env": { "BOT_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) BOT_TOKEN에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 aiogram-mcp의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
SettingsDeveloperEdit Config
{
"mcpServers": {
"aiogram": {
"command": "uvx",
"args": [
"aiogram-mcp"
],
"env": {
"BOT_TOKEN": "your-value"
}
}
}
}키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
aiogram-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude가 aiogram-mcp을 쓰고 있다고 하거나 답에 aiogram-mcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
ChatGPT는 아직 aiogram-mcp에 연결할 수 없어요
aiogram-mcp는 내 컴퓨터에 설치해서 쓰지만 ChatGPT는 웹에서 도는 서버만 연결할 수 있어요
A · aiogram-mcp에 연결되는 앱 쓰기
B · 채팅 및 이메일에서 ChatGPT에 연결되는 다른 서버
같은 분류에서 많이 쓰는 것 중 키 없이 주소만으로 연결되는 것을 골랐어요
Claude Code에 연결할 수 있지만 먼저 준비가 필요해요
aiogram-mcp 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 Claude Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Claude Code에 MCP server aiogram-mcp을 설치해 주세요. 순서대로: 1) uv --version로 uv가 있는지 확인. 없으면 https://docs.astral.sh/uv/getting-started/installation/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): claude mcp add --scope user aiogram --env BOT_TOKEN=your-value -- uvx aiogram-mcp 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) BOT_TOKEN에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 aiogram-mcp의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
Mac: Command+스페이스를 누르고 Terminal 입력 · Windows: PowerShell 열기
claude mcp add --scope user aiogram --env BOT_TOKEN=your-value -- uvx aiogram-mcpEnter 전에 “your-value”를 내 키로 바꾸세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
aiogram-mcp이 목록에 있고 연결됨으로 보이면 돼요
aiogram-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Claude Code가 aiogram-mcp을 쓰고 있다고 하거나 답에 aiogram-mcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Anthropic 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Cursor에 연결할 수 있지만 먼저 준비가 필요해요
aiogram-mcp 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 Cursor 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 Cursor에 MCP server aiogram-mcp을 설치해 주세요. 순서대로: 1) uv --version로 uv가 있는지 확인. 없으면 https://docs.astral.sh/uv/getting-started/installation/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "mcpServers": { "aiogram": { "command": "uvx", "args": [ "aiogram-mcp" ], "env": { "BOT_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) BOT_TOKEN에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 aiogram-mcp의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
aiogram-mcp 설정에서 BOT_TOKEN가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
aiogram-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ Cursor가 aiogram-mcp을 쓰고 있다고 하거나 답에 aiogram-mcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 Cursor 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
VS Code에 연결할 수 있지만 먼저 준비가 필요해요
aiogram-mcp 키가 필요해요 (제작자 사이트에서 만들기) · 먼저 컴퓨터에 Python (uv)를 설치하세요 (한 번만)
이 메시지를 VS Code 채팅에 붙여 넣으세요. AI가 컴퓨터를 확인하고 어떤 파일을 바꿀지 알려 준 뒤 매번 동의를 기다립니다.
이 컴퓨터의 VS Code에 MCP server aiogram-mcp을 설치해 주세요. 순서대로: 1) uv --version로 uv가 있는지 확인. 없으면 https://docs.astral.sh/uv/getting-started/installation/에서 설치하라고 알려 주고 직접 설치하지 마세요. 2) 이 설정만 사용하세요(PopNx MCP 확인 완료): { "servers": { "aiogram": { "type": "stdio", "command": "uvx", "args": [ "aiogram-mcp" ], "env": { "BOT_TOKEN": "your-value" } } } } 3) 바꿀 파일의 전체 경로나 실행할 명령을 알려 주고 제 동의를 기다리세요. 4) BOT_TOKEN에는 "your-value"를 그대로 두고, 실제 값은 제가 파일이나 앱 입력란에 직접 붙여 넣도록 안내하세요. 채팅에 키를 입력하라고 하지 마세요. 5) 합의한 대로 실행한 뒤 aiogram-mcp의 도구가 실제로 보이는지 확인하세요.이 메시지에는 키가 없습니다. 키가 필요하면 AI가 파일이나 앱 입력란에 직접 붙여 넣으라고 안내합니다.
이미 설치했나요? 먼저 확인 · 터미널을 열고 이 명령을 입력한 뒤 Enter
uv --versionMac: ⌘ + Space를 누르고 Terminal 입력 후 Enter
Windows: 시작 메뉴를 열고 Windows PowerShell 입력 후 "열기"
아직 설치하지 않았다면: uv에는 클릭형 설치 파일이 없습니다. uv 공식 페이지에서 내 시스템(macOS 또는 Windows)용 한 줄 명령을 복사해 터미널에 붙여 넣으세요 · Python을 따로 설치할 필요 없이 uv가 필요할 때 자동으로 내려받습니다
설치가 끝나면 터미널을 닫았다가 다시 열고 같은 명령을 실행하세요. 버전 번호가 나와야 합니다: uv --version
한 번 설치하면 uv가 필요한 모든 도구에서 쓸 수 있습니다
제작자 사이트에서 가입하고 다음 단계에 쓸 API 키를 만드세요. 요금과 무료 요금제는 제작자 사이트에서 확인하세요.
키 받는 방법은 아래 제작자 README에 있어요
aiogram-mcp 설정에서 BOT_TOKEN가 비어 있어요. 내 키를 넣고 저장하세요
키는 앱 입력란에만 붙여 넣고, 채팅에 붙이거나 다른 사람에게 보내지 마세요
aiogram-mcp을 써서 나에게 무엇을 해 줄 수 있는지 알려 주고, 하나 해 봐✓ VS Code가 aiogram-mcp을 쓰고 있다고 하거나 답에 aiogram-mcp 도구 이름이 나오면 연결된 거예요
메뉴 이름은 2026년 11월 11일에 VS Code 도움말에서 확인 · 앱 버전에 따라 화면이 조금 다를 수 있어요
Windsurf, Zed, Gemini CLI 같은 다른 MCP 앱은 추가 방법이 저마다 달라요. 앱 목록에서 확인하세요
JSON 설정은 아래 “개발자용”에 있어요
Claude Code
claude mcp add --scope user aiogram --env BOT_TOKEN=your-value -- uvx aiogram-mcpClaude Desktop (claude_desktop_config.json)
{
"mcpServers": {
"aiogram": {
"command": "uvx",
"args": [
"aiogram-mcp"
],
"env": {
"BOT_TOKEN": "your-value"
}
}
}
}Cursor (~/.cursor/mcp.json)
{
"mcpServers": {
"aiogram": {
"command": "uvx",
"args": [
"aiogram-mcp"
],
"env": {
"BOT_TOKEN": "your-value"
}
}
}
}VS Code (mcp.json)
{
"servers": {
"aiogram": {
"type": "stdio",
"command": "uvx",
"args": [
"aiogram-mcp"
],
"env": {
"BOT_TOKEN": "your-value"
}
}
}
}BOT_TOKEN 비밀 필수 env설명은 아직 영어 원문입니다.
이 설정은 제작자의 레지스트리 정보로 만들었어요. README와 다르면 README를 따르세요.
이 서버의 연결 방식과 각 앱의 공식 문서를 바탕으로 했어요. 2026년 11월 10일 확인.
내 컴퓨터에서 실행하는 앱
ClaudeGooseLM StudioMsty StudioCherry StudioCursorVS Code + GitHub CopilotVisual StudioWindsurf (Devin Desktop)ZedKiroClineContinueJetBrains AI AssistantClaude CodeCodex CLIGemini CLIOpenCodenodecodeWarpLibreChatRaycast
내 컴퓨터에서 실행돼요. 설치하면 AI 앱에 도구 목록이 나타나요.
누구나 볼 수 있는 정보를 점검했고, 코드는 읽지 않았어요. 해당하지 않는 항목은 개수에서 뺐어요. · 2026년 11월 15일 점검
레지스트리 이름이 GitHub 계정 Py2755 기준으로 확인되었고, 이 계정이 저장소를 소유하고 있어요
코드 마지막 변경: 8개월 전, 6개월 넘게 지났어요
MIT 사용
내 컴퓨터에서 실행되는 서버라 인터넷 엔드포인트가 없어요
내 컴퓨터에서 실행되며, 대신 로컬 설정을 사용해요
내 컴퓨터에서 실행돼요. 도구 목록은 인터넷 엔드포인트가 있는 서버에서만 읽을 수 있어요
질문하고, 팁을 나누고, 안 되는 점을 알려 주세요. "도움이 됨"이 많은 순서예요.
아직 리뷰가 없어요
레지스트리에서 이 카테고리의 활성 서버 전체와 비교했어요. 스타는 게시자가 저장소를 소유한 경우에만 세요.
해당하는 기본 점검 3개 중 2개를 통과했어요. 코드는 읽지 않았어요. 키나 토큰을 넣기 전에 서버가 어떤 권한을 요구하는지 확인하고, 꼭 필요한 권한만 있는 키를 쓰세요.
입력해야 할 값: BOT_TOKEN
내 컴퓨터에서 실행돼요. AI 앱이 필요할 때 실행하고, 데이터는 제작자의 서버를 거치지 않아요(서버 자체가 온라인 서비스를 호출하는 경우는 제외).
GitHub 저장소는 마지막으로 8개월 전 변경됐고, 최신 버전(0.7.1)은 8개월 전 레지스트리에 올라왔어요.
Claude Desktop, Claude Code, Cursor, VS Code처럼 MCP를 지원하는 앱에서 쓸 수 있어요. 내 컴퓨터에 Python (uv)도 있어야 해요.
같은 카테고리에는: draw.io, Vexa, emailmd, Kite Discord Bot Builder, e2a — email for AI agents
같은 카테고리, 다른 제작자, 명령 확인 완료. 공식이 먼저, 그다음 스타 순.
카드 보는 법:↓ 주간 다운로드i★ GitHub 스타i세 기둥: 리뷰 · 점검 · 사용 정도i업데이트 = 최신 버전을 레지스트리에 공개한 날i
Create draw.io diagrams in chat from Mermaid or XML, shown live and interactive. 10,000+ shapes.
Meeting bot and transcripts for Google Meet, Teams and Zoom. Live or after, speakers labelled.
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.
제작자의 저장소에서 쓰인 그대로 가져왔어요. PopNx MCP가 검토하거나 보증한 내용이 아니에요. HTML, 이미지, 스크립트는 제거했어요. 링크를 누르면 이 사이트를 벗어나요.
Connect your Telegram bot to AI agents via the Model Context Protocol.
aiogram-mcp turns any aiogram bot into an MCP server. AI clients like Claude Desktop can then send messages, read chat history, build interactive menus, and react to events in real time — all through your existing bot, without rewriting a single handler.
Most Telegram MCP servers are thin wrappers with 3-5 tools. aiogram-mcp goes further:
outputSchema for programmatic parsingTelegram users Your aiogram bot AI agent (Claude Desktop)
| | |
| send messages, tap buttons | |
|---|---|
| MCP server (stdio or SSE) | |
| <-------------------------> | |
| tools / resources / events | |
| bot replies, shows menus | send_message, edit, ban |
| <-------------------------- | <--------------------------- |
The bot runs normally for Telegram users. The MCP server runs alongside it, giving AI agents access to the same bot via tools and resources.
pip install aiogram-mcp
Requires Python 3.10+ and aiogram 3.20+.
import asyncio
from aiogram import Bot, Dispatcher from aiogram_mcp import AiogramMCP, EventManager, MCPMiddleware
bot = Bot(token="YOUR_BOT_TOKEN") dp = Dispatcher()
event_manager = EventManager() middleware = MCPMiddleware(event_manager=event_manager) dp.message.middleware(middleware) dp.callback_query.middleware(middleware) # for interactive buttons
mcp = AiogramMCP( bot=bot, dp=dp, name="my-bot", middleware=middleware, event_manager=event_manager, allowed_chat_ids=[123456789], # optional: restrict which chats AI can access )
async def main(): await mcp.run_alongside_bot(transport="stdio")
asyncio.run(main())
Add to your claude_desktop_config.json:
{
"mcpServers": { "my-telegram-bot": { "command": "python", "args": ["path/to/your/bot.py"], "env": { "BOT_TOKEN": "123456:ABC-DEF..." } } } }
Now Claude can send messages, read history, create button menus, and react to events in your Telegram bot.
| Tool | Description |
|---|---|
send_message | Send text with HTML/Markdown formatting |
send_photo | Send a photo by URL with optional caption |
forward_message | Forward a message between chats |
delete_message | Delete a message |
pin_message | Pin a message in a chat |
| Tool | Description |
|---|---|
send_interactive_message | Send a message with inline keyboard buttons (callback or URL) |
edit_message | Edit text and/or keyboard of an existing message |
answer_callback_query | Respond to a button press with a toast or alert |
| Tool | Description |
|---|---|
get_bot_info | Get bot metadata (username, capabilities) |
get_chat_member_info | Get a user's role and profile in a chat |
get_user_profile_photos | Get a user's profile photos |
| Tool | Description |
|---|---|
get_chat_info | Get chat metadata (title, type, description) |
get_chat_members_count | Get number of members in a chat |
ban_user | Ban a user (permanent or temporary) |
unban_user | Unban a user |
set_chat_title | Change the chat title |
set_chat_description | Change the chat description |
| Tool | Description |
|---|---|
send_document | Send a file/document by URL with optional caption |
send_voice | Send a voice message by URL |
send_video | Send a video by URL with optional caption |
send_animation | Send a GIF/animation by URL |
send_audio | Send audio/music by URL with performer and title |
send_sticker | Send a sticker by file_id or URL |
send_video_note | Send a round video note by URL |
send_contact | Send a contact with phone number and name |
send_location | Send a geolocation pin |
send_poll | Create a poll with multiple options |
| Tool | Description |
|---|---|
subscribe_events | Subscribe to real-time events with chat/type filters |
unsubscribe_events | Remove a subscription |
| Tool | Description |
|---|---|
broadcast | Send a message to multiple chats (requires enable_broadcast=True) |
Read-only data that AI agents can access without calling tools:
| URI | Description |
|---|---|
telegram://bot/info | Bot username, ID, and capabilities |
telegram://config | Server name and allowed chat IDs |
telegram://chats | List of active chats with metadata |
telegram://chats/{chat_id}/history | Last 50 messages in a chat |
telegram://events/queue | Event queue with auto-incrementing IDs |
telegram://files/{file_id} | File metadata (size, path, unique ID) |
telegram://audit/log | Audit log of tool invocations (opt-in) |
Pre-built workflows that give AI agents structured context:
| Prompt | Arguments | What it does |
|---|---|---|
moderation_prompt | chat_id, user_id, reason | Fetches user info + message history, suggests warn/mute/ban |
announcement_prompt | topic, audience?, tone? | Drafts a formatted Telegram announcement |
user_report_prompt | chat_id, user_id | Compiles a full user activity report |
AI agents don't need to poll. The bot pushes events automatically:
Telegram message arrives
→ MCPMiddleware captures it → EventManager stores it (type: "message", "command", or "callback_query") → MCP notification sent to subscribed clients → AI agent reads telegram://events/queue
The AI agent calls subscribe_events once, then receives push notifications whenever new events match its filters.
AI agents can build full interactive UIs in Telegram — menus, confirmations, multi-step wizards:
The AI agent sends a message with buttons:
┌─────────────────────────┐
│ Confirm deployment? │ │ │ │ [✅ Yes] [❌ No] │ │ [📖 View docs] │ └─────────────────────────┘
User taps a button → event appears in the queue → AI agent reacts:
┌─────────────────────────┐
│ ✅ Deployed! │ │ │ │ [📋 View logs] │ └─────────────────────────┘
The bot needs dp.callback_query.middleware(middleware) to capture button presses.
mcp = AiogramMCP(
bot=bot, dp=dp, allowed_chat_ids=[123456789, -1001234567890], # restrict AI access enable_broadcast=True, # opt-in for broadcast tool max_broadcast_recipients=500, # safety limit )
mcp = AiogramMCP(
bot=bot, dp=dp, rate_limit=30, # requests/sec (default), 0 to disable )
Built-in token bucket rate limiter prevents Telegram 429 errors. All outgoing API calls are automatically paced.
mcp = AiogramMCP(
bot=bot, dp=dp, permission_level="messaging", # read + messaging tools only )
| Level | Access |
|---|---|
read | Bot info, chat info, user profiles |
messaging | Read + send messages, photos, media, interactive messages |
moderation | Messaging + delete, pin, ban, unban, chat settings |
admin | Full access including broadcast and event subscriptions |
mcp = AiogramMCP(
bot=bot, dp=dp, enable_audit=True, audit_log_size=1000, )
Every tool invocation is logged. Access via telegram://audit/log resource.
| Example | Transport | Features |
|---|---|---|
| basic_bot.py | stdio | Full setup with middleware, events, and callback tracking |
| incident_alert_bot.py | SSE | Broadcast-enabled ops bot for incident notifications |
git clone https://github.com/Py2755/aiogram-mcp.git
cd aiogram-mcp pip install -e ".[dev]"
pytest -v # ~228 tests ruff check aiogram_mcp tests examples mypy aiogram_mcp # strict mode
MIT. See LICENSE.