Line Bot MCP Server
MCP server by line Verified · npm:@line
Connects an AI agent to a LINE Official Account through the LINE Messaging API. Lets it push and broadcast text and flex messages, read user profiles, check message quota and manage rich menus. Aimed at developers who run a LINE Official Account.
Install Line Bot MCP Server
Built from the published package, never by AI.
claude mcp add line-bot-mcp-server -- npx -y @line/line-bot-mcp-serverRun in your terminal. Add --scope user to use it in every project.
{
"mcpServers": {
"line-bot-mcp-server": {
"args": [
"-y",
"@line/line-bot-mcp-server"
],
"command": "npx"
}
}
}Settings, Developer, Edit config. Paste into claude_desktop_config.json and restart.
{
"mcpServers": {
"line-bot-mcp-server": {
"args": [
"-y",
"@line/line-bot-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.cursor/mcp.json (all projects) or .cursor/mcp.json (this project).
{
"servers": {
"line-bot-mcp-server": {
"args": [
"-y",
"@line/line-bot-mcp-server"
],
"command": "npx"
}
}
}Add to .vscode/mcp.json. VS Code uses "servers", not "mcpServers".
codex mcp add line-bot-mcp-server -- npx -y @line/line-bot-mcp-server{
"mcpServers": {
"line-bot-mcp-server": {
"args": [
"-y",
"@line/line-bot-mcp-server"
],
"command": "npx"
}
}
}Add to ~/.gemini/config/mcp_config.json (all projects) or .agents/mcp_config.json (this project).
Step-by-step: install Line Bot MCP Server in Antigravity CLI
gemini mcp add line-bot-mcp-server npx -y @line/line-bot-mcp-serverGemini CLI was replaced by Antigravity CLI in June 2026 and remains only for enterprise licences and paid API keys.
MCP servers run with your permissions and can read what you give them access to. Some need an API key: check the README and add it under env in the line-bot-mcp-server block.
About
LINE Bot MCP Server is a Model Context Protocol server that connects an AI agent to a LINE Official Account through the LINE Messaging API. It gives the assistant tools to push text and flex messages to a user, broadcast messages to all users who follow the account, and get a user's profile. It also covers message quota, rich menus, follower user IDs and group chat summaries.
It runs with npx on Node.js v22 or later, or with Docker after building the image from the repository. Setup requires a LINE Official Account with the Messaging API enabled and a channel access token. An optional default user ID can be set so tools work without a userId input. The source describes it as a preview version for experimental use, and it is intended for developers who want an AI agent to handle LINE Official Account messaging.
Written from the project's README and checked against it.
Tools it gives your assistant
push_text_messagePushes a plain text message to a user via LINE.push_flex_messagePushes a customizable flex message to a user, with alt text and a bubble or carousel layout.broadcast_text_messageBroadcasts a plain text message to all users who follow the Official Account.broadcast_flex_messageBroadcasts a customizable flex message to all users who follow the Official Account.get_profileGets a LINE user's display name, profile picture URL, status message and language.get_message_quotaGets the monthly message limit and current usage for the Official Account.get_rich_menu_listLists the rich menus associated with the Official Account.create_rich_menuCreates a rich menu from 1 to 6 actions, generates and uploads an image, and sets it as default.get_follower_idsGets a list of user IDs of users who have added the Official Account as a friend.get_group_summaryGets a group chat's ID, name and icon URL from a group ID.
What you need
- A LINE Official Account with the Messaging API enabled
- LINE channel access token
- Node.js v22 or later, or Docker
Try asking
- Push a text message saying the store opens at 9am to my default LINE user.
- Show my LINE Official Account's message quota for this month.
- List my rich menus and get the profile of user U123 on LINE.
Good to know
- The source describes this as a preview version that may not include complete functionality.
- Comprehensive support is not guaranteed for the preview version.
- DESTINATION_USER_ID is required when a tool call does not include userId.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: README.md, package.json. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to Line Bot MCP Server
All alternatives →Jitsu MCP server lets AI assistants configure and operate Jitsu data pipelines. It covers destinations, streams, connections and functions, plus Live Events and connector syncs. It is aimed at teams that run event data pipelines.
Vexa sends a bot into Google Meet, Microsoft Teams, Zoom and Jitsi calls to capture speaker-labelled transcripts live or after the call. It suits teams that want meeting transcripts they can self-host.
Gives Claude and other MCP-compatible AI agents access to LinkedIn through your own browser session. It reads profiles, researches companies, finds jobs, and manages messages and connection requests.
Runs a NetSapiens phone system from Claude, ChatGPT, or any MCP client. Each person signs in as themselves, and their assistant gets role-aware tools for calls, voicemail, queues, and provisioning.
Resend MCP Server connects AI assistants to the Resend email platform. It lets them send and receive emails and manage contacts, broadcasts, templates, and domains. It suits developers and teams who use MCP clients such as Claude or Cursor.
The source does not describe labelhead-artist-momentum. It is a README for Paperclip, an open-source orchestration app for teams of AI agents.
Compare with Jitsu, Vexa or Linkedin MCP server
Line Bot MCP Server: common questions
Do I need a LINE Official Account to use this server?
Yes. The source says the server utilizes a LINE Official Account, and the Messaging API must be enabled for it.
What is DESTINATION_USER_ID used for?
It is the default recipient user ID. If a tool input does not include userId, DESTINATION_USER_ID is required.
Is LINE Bot MCP Server ready for production use?
The source calls it a preview version offered for experimental purposes. It may not include complete functionality or comprehensive support.
How do I install Line Bot MCP Server?
In Claude Code run claude mcp add line-bot-mcp-server -- npx -y @line/line-bot-mcp-server. For Claude Desktop, Cursor and VS Code, paste the config shown above and restart. See the install guides.
Is Line Bot MCP Server the official server?
Line Bot MCP Server is published by npm:@line from its verified domain in the official MCP Registry.
Is Line Bot MCP Server free?
The code is published under the Apache-2.0 licence. The service it connects to may have its own pricing.
Is Line Bot MCP Server safe to use?
It scores 84 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to Line Bot MCP Server?
Similar MCP servers: Jitsu, Vexa, Linkedin MCP server, Netsapiens MCP.
Does Line Bot MCP Server work with ChatGPT?
Not directly. It runs locally, and ChatGPT only connects to remote servers with a URL. Use it in Claude Code, Claude Desktop, Cursor, VS Code or Codex.
