Practical overview
When it fits
Use it when an MCP-compatible AI agent needs documented tools for interacting with a LINE Official Account through the Messaging API.
Who it is for
- Developers connecting an MCP-compatible AI agent to a LINE Official Account
- Teams prototyping agent-driven LINE messaging or conversational support workflows
Documented uses
- Send a text or Flex message to a specified LINE user.
- Broadcast text or Flex messages to LINE Official Account followers.
- Retrieve user profile details, follower IDs, message quota usage or group information.
- Create, list, select or remove rich menus.
Requirements & limits
The repository is public and licensed under Apache-2.0. The npx setup requires Node.js v22 or later; Docker is also documented as a setup route.
- Requires a LINE Official Account with the Messaging API enabled and a channel access token.
- Supports both individual and broadcast text or Flex messages, with recipient handling for individual sends.
- The README identifies the project as a preview and cautions that functionality and support may be incomplete.
Check current requirements in the official documentation. Source-based guidance does not mean OpenViST has run or independently tested this project.
Configure the server with npx
Prepare the LINE Bot MCP Server for use by an MCP-compatible AI agent.
Before you start
- Node.js v22 or later
- A LINE Official Account with the Messaging API enabled
- A LINE channel access token
- An MCP-compatible AI agent
Steps
Create a LINE Official Account or enable the Messaging API for an existing account.
Add the server configuration to the AI agent, using npx to launch @line/line-bot-mcp-server.
Set CHANNEL_ACCESS_TOKEN in the configuration.
Set DESTINATION_USER_ID if tool requests will omit userId.
Expected outcome
The agent is configured to access the server's documented LINE Messaging API tools.
Guide limitations
- The repository describes the server as a preview that may have incomplete functionality or support.
- A recipient must be supplied as userId or through DESTINATION_USER_ID for tools that send to an individual.
Sources & review
Source record details
- Source availability
- Active
- Sources checked
- 12 October 2026
- Original website title
- line/line-bot-mcp-server · Official homepage title · retained in its source language

