Skip to content
LINE Bot MCP Server

LINE Bot MCP Server

by LINE
v0.5.0
Apache-2.0
linemessagingchatbotflex-messageofficial

Summary

LINE's official MCP server for the Messaging API — push and broadcast text or Flex messages, build rich menus, read profiles, quota and follower IDs.

Features

  • Push text and Flex messages to a specific user
  • Broadcast text and Flex messages to every follower
  • Create rich menus with up to six actions, image generated and uploaded
  • List, delete, set and cancel the default rich menu
  • Read user profiles and paginate follower IDs
  • Check monthly message quota and consumption

Installation

Set up this MCP server in your favorite AI agent — copy a ready-made configuration below.

Any MCP-compatible agent

Most agents (Claude, Cursor, Windsurf, VS Code, and more) read a standard mcpServers configuration.

  1. Open your agent's MCP configuration file.
  2. Merge the snippet below into it, filling in the environment variables with your own values.
  3. Restart the agent — the "LINE Bot MCP Server" tools will be available.
{
  "mcpServers": {
    "line-bot-mcp-server": {
      "command": "npx",
      "args": [
        "@line/line-bot-mcp-server"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN": "<YOUR_CHANNEL_ACCESS_TOKEN>",
        "DESTINATION_USER_ID": "<DEFAULT_USER_ID>"
      }
    }
  }
}

Description

This is LINE's own MCP server for driving a LINE Official Account from an agent. It wraps the Messaging API in twelve tools: pushing a plain text or Flex message to a specific user, broadcasting either kind to every follower, fetching a user's profile (display name, picture, status message, language), and checking the account's monthly message quota and current consumption.

Rich menus get first-class treatment, which is the part that is genuinely tedious to do by hand. create_rich_menu takes up to six actions — postback, message, URI, date/time picker, camera, camera roll, location, rich-menu switch or clipboard — then generates and uploads the menu image and sets it as default in one step. Listing, deleting, setting and cancelling the default menu are separate tools. get_follower_ids paginates through the users who have added the account, so a workflow can address people without a hand-maintained list.

Setup needs Node.js 22+, a LINE Official Account with the Messaging API enabled, and a long-lived channel access token in CHANNEL_ACCESS_TOKEN. A DESTINATION_USER_ID can be set as the default recipient for tools that take an optional userId.

LINE describes the repository as a preview release: functionality and support are not yet complete.

Related MCP Servers

Google's own remote MCP endpoints for Gmail, Drive, Docs, Sheets, Slides, Calendar, Chat and People — OAuth 2.0, hosted by Google, no server to run.

Productivity

MCP: Zapier MCP

by Zapier

New

Zapier's official hosted MCP server, exposing actions across 8,000+ connected apps as agent tools — with you choosing exactly which actions each server may perform.

Productivity
1 views

MCP: Slack

by Zencoder

Featured

Read and post to Slack from an AI client — channels, threads, reactions, and user lookup.

Productivity
2 views
Featured

Official instance-level MCP server that lets AI agents discover, run, and edit workflows on your n8n instance.

Productivity
1 views
Browse all MCP servers →