What it does
Integrates the LINE Messaging API as an MCP server, enabling Claude and other AI agents to programmatically interact with LINE Official Accounts. Supports sending text or templated flex messages to individual users, broadcasting to all followers, retrieving user profiles and account statistics, and managing rich menus—interactive visual menu interfaces that appear in the LINE app.
Who it's for
Bot developers building customer support or engagement bots on LINE, customer service teams automating support responses through LINE Official Accounts, product managers integrating AI-powered notifications, and teams who want Claude to act as a backend service for their LINE bots.
Common use cases
- Push personalized or templated messages to individual LINE users via text or rich flex layouts
- Broadcast announcements and updates to all followers of a LINE Official Account at once
- Retrieve user profiles (display name, picture URL, status message) to personalize bot responses
- Create and manage rich menus to provide structured navigation and call-to-action buttons in LINE
- Monitor message quota and follower counts to track account usage and reach
Setup pitfalls
- Requires
Node.js v22or later; earlier versions are not supported - Channel Access Token must be protected as a secret and never committed to version control
- Either specify
userIdper API call or set theDESTINATION_USER_IDenvironment variable as the default recipient - Rich menu creation auto-generates and uploads images; requires filesystem write access and stable internet connectivity to LINE's servers