mcp/line

Verified Publisher

By mcp

Updated 14 days ago

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

Image
Machine learning & AI
0

10K+

mcp/line repository overview

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 Info

AttributeDetails
Dockerfilehttps://github.com/line/line-bot-mcp-server/blob/ada7c33eac5531b49b3d48fd4c147c1f76fd7193/Dockerfile
Commitada7c33eac5531b49b3d48fd4c147c1f76fd7193
Docker Image built byDocker Inc.
Docker Scout Health ScoreDocker Scout Health Score
Verify SignatureCOSIGN_REPOSITORY=mcp/signatures cosign verify mcp/line --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
LicenceApache License 2.0

Available Tools (12)

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.
create_rich_menuCreate a rich menu based on the given actions.
delete_rich_menuDelete a rich menu from your LINE Official Account.
get_follower_idsGet a list of user IDs of users who have added the LINE Official Account as a friend.
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

This tool may perform destructive updates.


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

This tool may perform destructive updates.


Tool: cancel_rich_menu_default

Cancel the default rich menu.

Tool: create_rich_menu

Create a rich menu based on the given actions. Generate and upload a rich menu image based on the given action. This rich menu will be registered as the default.

ParametersTypeDescription
actionsarrayThe actions of the rich menu.
chatBarTextstringText displayed in the chat bar and this is also used as name of the rich menu to create

This tool may perform destructive updates.


Tool: delete_rich_menu

Delete a rich menu from your LINE Official Account.

ParametersTypeDescription
richMenuIdstringThe ID of the rich menu to delete.

This tool may perform destructive updates.


Tool: get_follower_ids

Get a list of user IDs of users who have added the LINE Official Account as a friend. This allows you to obtain user IDs for sending messages without manually preparing them.

ParametersTypeDescription
limitnumber optionalThe maximum number of user IDs to retrieve in a single request.
startstring optionalContinuation token to get the next array of user IDs. Returned in the 'next' property of a previous response.

This tool is read-only. It does not modify its environment.


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
userIdstring optionalThe user ID to get a profile. Defaults to DESTINATION_USER_ID.

This tool is read-only. It does not modify its environment.


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
userIdstring optionalThe user ID to receive a message. Defaults to DESTINATION_USER_ID.

This tool may perform destructive updates.


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
userIdstring optionalThe user ID to receive a message. Defaults to DESTINATION_USER_ID.

This tool may perform destructive updates.


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.

This tool may perform destructive updates.


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?

Install from MCP:Hub

Tag summary

Content type

Image

Digest

sha256:2fe784525

Size

477 MB

Last updated

14 days ago

docker pull mcp/line

This week's pulls

Pulls:

300

Jul 6 to Jul 12