Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 84
  • 810 stars
  • 3.7k a week
  • Apache-2.0
  • Updated

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-server

Run in your terminal. Add --scope user to use it in every project.

Step-by-step: install Line Bot MCP Server in Claude Code

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

A

No 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 →

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.

Line Bot MCP Server Install

Add to stack

Loading.