# aiogram-mcp

> aiogram-mcp is an open-source MCP server. MCP server for aiogram Telegram bots — 30 tools, 7 resources, 3 prompts, event streaming. It runs locally on your machine and is started by your AI client.

- **Kind:** MCP server
- **Pricing:** Open source
- **Repository:** https://github.com/py2755/aiogram-mcp
- **MCP Registry name:** io.github.Py2755/aiogram-mcp
- **Listing updated:** 2026-11-13

## About

MCP server for aiogram Telegram bots — 30 tools, 7 resources, 3 prompts, event streaming

## Install

### Claude Code (Terminal)

```sh
claude mcp add aiogram-mcp --env BOT_TOKEN='<BOT_TOKEN>' -- uvx aiogram-mcp
```

### Claude Desktop (claude_desktop_config.json)

```json
{
  "mcpServers": {
    "aiogram-mcp": {
      "command": "uvx",
      "args": [
        "aiogram-mcp"
      ],
      "env": {
        "BOT_TOKEN": "<BOT_TOKEN>"
      }
    }
  }
}
```

### Cursor (~/.cursor/mcp.json)

```json
{
  "mcpServers": {
    "aiogram-mcp": {
      "command": "uvx",
      "args": [
        "aiogram-mcp"
      ],
      "env": {
        "BOT_TOKEN": "<BOT_TOKEN>"
      }
    }
  }
}
```

### VS Code (.vscode/mcp.json)

```json
{
  "servers": {
    "aiogram-mcp": {
      "type": "stdio",
      "command": "uvx",
      "args": [
        "aiogram-mcp"
      ],
      "env": {
        "BOT_TOKEN": "<BOT_TOKEN>"
      }
    }
  }
}
```

### Windsurf (~/.codeium/windsurf/mcp_config.json)

```json
{
  "mcpServers": {
    "aiogram-mcp": {
      "command": "uvx",
      "args": [
        "aiogram-mcp"
      ],
      "env": {
        "BOT_TOKEN": "<BOT_TOKEN>"
      }
    }
  }
}
```

### Other clients (your client's MCP settings (most use this shape))

```json
{
  "mcpServers": {
    "aiogram-mcp": {
      "command": "uvx",
      "args": [
        "aiogram-mcp"
      ],
      "env": {
        "BOT_TOKEN": "<BOT_TOKEN>"
      }
    }
  }
}
```

## FAQ

### Is aiogram-mcp free?

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

### How do I add aiogram-mcp to Claude Code?

Run this command in your terminal: claude mcp add aiogram-mcp --env BOT_TOKEN='<BOT_TOKEN>' -- uvx aiogram-mcp

## Where this comes from

- Description: from the official MCP Registry entry.
- Install steps: from the official MCP Registry entry.

---
Source: https://ai-powered.com/mcp/aiogram-mcp
