LINE

LINE

MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

5.7K

10 Tools

Packaged by
Requires Configuration
Requires Secrets
Add to Docker Desktop

Version 4.43 or later needs to be installed to add the server automatically

About

LINE MCP Server

MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

What is an MCP Server?

MCP Info

AttributeDetails
Docker Imagemcp/line
Authorline
Repositoryhttps://github.com/line/line-bot-mcp-server

Image Building InfoDockerfile|https://github.com/line/line-bot-mcp-server/blob/main/Dockerfile

Docker Image built by|Docker Inc. Docker Scout Health Score| Docker Scout Health ScoreVerify Signature|COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/line --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pubLicence|Apache License 2.0

Available Tools (10)

Tools provided by this ServerShort Description
broadcast_flex_messageBroadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account.
broadcast_text_messageBroadcast a simple text message via LINE to all users who have followed your LINE Official Account.
cancel_rich_menu_defaultCancel the default rich menu.
delete_rich_menuDelete a rich menu from your LINE Official Account.
get_message_quotaGet the message quota and consumption of the LINE Official Account.
get_profileGet detailed profile information of a LINE user including display name, profile picture URL, status message and language.
get_rich_menu_listGet the list of rich menus associated with your LINE Official Account.
push_flex_messagePush a highly customizable flex message to a user via LINE.
push_text_messagePush a simple text message to a user via LINE.
set_rich_menu_defaultSet a rich menu as the default rich menu.

Tools Details

Tool: broadcast_flex_message

Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts. Please be aware that this message will be sent to all users.

ParametersTypeDescription
messageobject

Tool: broadcast_text_message

Broadcast a simple text message via LINE to all users who have followed your LINE Official Account. Use this for sending plain text messages without formatting. Please be aware that this message will be sent to all users.

ParametersTypeDescription
messageobject

Tool: cancel_rich_menu_default

Cancel the default rich menu.

Tool: delete_rich_menu

Delete a rich menu from your LINE Official Account.

ParametersTypeDescription
richMenuIdstringThe ID of the rich menu to delete.

Tool: get_message_quota

Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.

Tool: get_profile

Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.

ParametersTypeDescription
userIdstringoptionalThe user ID to get a profile. Defaults to DESTINATION_USER_ID.

Tool: get_rich_menu_list

Get the list of rich menus associated with your LINE Official Account.

Tool: push_flex_message

Push a highly customizable flex message to a user via LINE. Supports both bubble (single container) and carousel (multiple swipeable bubbles) layouts.

ParametersTypeDescription
messageobject
userIdstringoptionalThe user ID to receive a message. Defaults to DESTINATION_USER_ID.

Tool: push_text_message

Push a simple text message to a user via LINE. Use this for sending plain text messages without formatting.

ParametersTypeDescription
messageobject
userIdstringoptionalThe user ID to receive a message. Defaults to DESTINATION_USER_ID.

Tool: set_rich_menu_default

Set a rich menu as the default rich menu.

ParametersTypeDescription
richMenuIdstringThe ID of the rich menu to set as default.

Use this MCP Server

{
  "mcpServers": {
    "line": {
      "command": "docker",
      "args": [
        "run",
        "-i",
        "--rm",
        "-e",
        "DESTINATION_USER_ID",
        "-e",
        "CHANNEL_ACCESS_TOKEN",
        "mcp/line"
      ],
      "env": {
        "DESTINATION_USER_ID": "FILL_HERE",
        "CHANNEL_ACCESS_TOKEN": "FILL_HERE"
      }
    }
  }
}

Why is it safer to run MCP Servers with Docker?

Manual installation

You can install the MCP server using:

Installation for

Related servers