LINE — Claude Code MCP server: what it does and how to set up
Bridges AI coding assistants with LINE Official Accounts via Messaging API to push messages, manage rich menus, and inspect limits.
no license updated 2026-10-29
Open on GitHubWhat LINE does
This server connects your AI assistant directly to the LINE Messaging API. It equips the model with tools to dispatch simple text or structured flex messages to individual recipients, trigger broadcast campaigns across all followers, and inspect group summaries or user profiles.
It also handles rich menu lifecycles, enabling the agent to build new menus with defined actions, switch defaults, or delete unused ones. Running this package requires Node.js v22 or newer, and message requests fail immediately without a valid CHANNEL_ACCESS_TOKEN configured in the environment.
What it helps with
- push a flex message layout to a specific LINE recipient
- broadcast text announcements to all account followers
- generate and activate a default chat rich menu
- check monthly message quota consumption on the official account
Example prompts for the agent
- Send a text notification to our default LINE recipient
- Check the remaining monthly message quota for this LINE account
- List follower IDs from the LINE Official Account
How to install LINE
Install
The MCP registry has no launch command for it: see the repository README
Step by step, with commands for each platform: How to add an MCP server to Claude Code, Codex, Cursor, VS Code, Gemini CLI and more
Questions about LINE
How to set up the LINE MCP server?
Add an entry to mcpServers running npx with @line/line-bot-mcp-server. Supply your CHANNEL_ACCESS_TOKEN in the env dictionary, along with an optional DESTINATION_USER_ID.
What does the LINE MCP server do?
It exposes LINE Messaging API endpoints to your AI agent, letting it deliver push notifications, broadcast updates, manage interactive menus, and read user profile details.
What runtime dependencies are required?
The package requires Node.js v22 or later along with an active LINE Official Account that has Messaging API enabled.