# LINE Bot MCP Server — Connect Agents to LINE OA > LINE Bot MCP Server connects agents to LINE Official Accounts for messaging, rich menus, and usage stats. Verified 577★; setup takes ~10–20 minutes. ## Install Merge the JSON below into your `.mcp.json`: ## Quick Use ```bash # In your MCP config: # command: npx # args: ["@line/line-bot-mcp-server"] # env: CHANNEL_ACCESS_TOKEN=... DESTINATION_USER_ID=... ``` ## Intro LINE Bot MCP Server connects agents to LINE Official Accounts for messaging, rich menus, and usage stats. Verified 577★; setup takes ~10–20 minutes. **Best for:** Teams who want an agent to operate customer messaging flows inside LINE **Works with:** Claude Desktop, Claude Code, Cline, Cursor, any MCP client that can run npx or Docker **Setup time:** 10-20 minutes ### Key facts (verified) - GitHub: 577 stars · 104 forks · pushed 2026-05-13. - License: Apache-2.0 · owner avatar + repo URL verified via GitHub API. - README-verified entrypoint: `npx -y @line/line-bot-mcp-server`. ## Main - Use it when you need real operations: README lists tools for sending messages, managing rich menus, and querying plan/usage limits. - Start by wiring env vars (CHANNEL_ACCESS_TOKEN + optional DESTINATION_USER_ID) and test a single send-message tool before automating flows. - If you prefer isolation, README also documents a Docker-based installation and MCP configuration path. ### Source-backed notes - README provides an npx-based MCP server config that runs `@line/line-bot-mcp-server` and reads env vars for credentials. - README includes a Docker setup flow (build image, then configure MCP client to run docker with args/env). - README documents tool coverage beyond messaging, including rich menu operations and usage/plan queries. ### FAQ - **Do I need a LINE Official Account?**: Yes — README requires creating an OA and enabling the Messaging API. - **Where do I find the access token?**: README links the LINE docs for Channel Access Tokens (long-lived). - **Can I run it with Docker instead of npx?**: Yes — README includes a Docker installation path. ## Source & Thanks > Source: https://github.com/line/line-bot-mcp-server > License: Apache-2.0 > GitHub stars: 577 · forks: 104 --- ## Quick Use ```bash # In your MCP config: # command: npx # args: ["@line/line-bot-mcp-server"] # env: CHANNEL_ACCESS_TOKEN=... DESTINATION_USER_ID=... ``` ## Intro LINE Bot MCP Server 让 agent 连接 LINE 官方账号:发消息、管理 rich menu、查询配额/用量等。已验证 577★;配置 Token 后约 10–20 分钟可用。 **Best for:** 希望让 agent 在 LINE 内运营客服/通知流程的团队 **Works with:** Claude Desktop、Claude Code、Cline、Cursor 与任意可运行 npx/Docker 的 MCP 客户端 **Setup time:** 10-20 minutes ### Key facts (verified) - GitHub:577 stars · 104 forks;最近更新 2026-05-13。 - 许可证:Apache-2.0;作者头像与仓库链接均已通过 GitHub API 复核。 - README 中核对过的入口命令:`npx -y @line/line-bot-mcp-server`。 ## Main - 适合做“真运营”:README 列出发消息、管理 rich menu、查询配额/用量等工具。 - 先把 env(CHANNEL_ACCESS_TOKEN + 可选 DESTINATION_USER_ID)接好,验证单次发送工具可用,再逐步自动化流程。 - 如果希望隔离运行环境,README 也提供 Docker 安装与配置方式。 ### Source-backed notes - README 给出 npx 的 MCP 配置:运行 `@line/line-bot-mcp-server`,并通过环境变量读取凭证。 - README 包含 Docker 方案:构建镜像后在 MCP 客户端用 docker 命令启动并传入 env/参数。 - README 的工具能力不止发消息,还包含 rich menu 管理与配额/用量查询等。 ### FAQ - **需要 LINE 官方账号吗?**:需要。README 要求创建 OA 并启用 Messaging API。 - **Token 去哪里拿?**:README 链接到 LINE 文档说明如何获取 long-lived Channel Access Token。 - **能用 Docker 跑吗?**:能。README 提供 Docker 安装与配置路径。 ## Source & Thanks > Source: https://github.com/line/line-bot-mcp-server > License: Apache-2.0 > GitHub stars: 577 · forks: 104 --- Source: https://tokrepo.com/en/workflows/line-bot-mcp-server-connect-agents-to-line-oa Author: MCP Hub