line-bot-mcp-server MCP Server

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

Local serverstdioApache-2.0

What is the line-bot-mcp-server MCP Server?

line-bot-mcp-server source profile. From the maintainer documentation: “Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.”

Installation

The documented npm package is @line/line-bot-mcp-server. The configuration below comes from the maintainer’s example; adapt its paths and account values to your environment.

Configuration values

The example declares NPM_CONFIG_IGNORE_SCRIPTS, CHANNEL_ACCESS_TOKEN, DESTINATION_USER_ID. Secret-looking values have been replaced with placeholders. Required and optional labels are shown only when the documentation states them.

Source

Project documentation · Repository · Discovery listing. This profile records the public documentation checked on 2026-10-08.

Recorded tools

Check the linked publisher documentation and your connected client's tool list. Names and availability can vary with the server version and account permissions.

ToolWhat it does
Inputs:groupId (string): The group ID of the target group chat.
message.contentsany): The contents of the flex message. This is a JSON object that defines the layout and components of the message.
message.contents.typeenum): Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.
postbackFor sending a postback action
messageFor sending a text message
uriFor opening a URL
datetimepickerFor opening a date/time picker
cameraFor opening the camera
cameraRollFor opening the camera roll
locationFor sending the current location
richmenuswitchFor switching to another rich menu
clipboardFor copying text to clipboard
limitnumber?): The maximum number of user IDs to retrieve in a single request.

How to install the line-bot-mcp-server MCP Server

{
  "mcpServers": {
    "line-bot": {
      "command": "npx",
      "args": [
        "@line/line-bot-mcp-server"
      ],
      "env": {
        "NPM_CONFIG_IGNORE_SCRIPTS": "true",
        "CHANNEL_ACCESS_TOKEN": "YOUR_CHANNEL_ACCESS_TOKEN",
        "DESTINATION_USER_ID": "FILL_HERE"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

VariableDescriptionRequired
NPM_CONFIG_IGNORE_SCRIPTSDeclared in the maintainer’s client configuration.Check documentation
CHANNEL_ACCESS_TOKENDeclared in the maintainer’s client configuration.Yes
DESTINATION_USER_IDDeclared in the maintainer’s client configuration.Optional