MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
5.7K
10 Tools
Version 4.43 or later needs to be installed to add the server automatically
Use cases
About
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Attribute | Details |
---|---|
Docker Image | mcp/line |
Author | line |
Repository | https://github.com/line/line-bot-mcp-server |
Docker Image built by|Docker Inc.
Docker Scout Health Score| Verify Signature|
COSIGN_REPOSITORY=mcp/signatures cosign verify mcp/line --key https://raw.githubusercontent.com/docker/keyring/refs/heads/main/public/mcp/latest.pub
Licence|Apache License 2.0
Tools provided by this Server | Short Description |
---|---|
broadcast_flex_message | Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account. |
broadcast_text_message | Broadcast a simple text message via LINE to all users who have followed your LINE Official Account. |
cancel_rich_menu_default | Cancel the default rich menu. |
delete_rich_menu | Delete a rich menu from your LINE Official Account. |
get_message_quota | Get the message quota and consumption of the LINE Official Account. |
get_profile | Get detailed profile information of a LINE user including display name, profile picture URL, status message and language. |
get_rich_menu_list | Get the list of rich menus associated with your LINE Official Account. |
push_flex_message | Push a highly customizable flex message to a user via LINE. |
push_text_message | Push a simple text message to a user via LINE. |
set_rich_menu_default | Set a rich menu as the default rich menu. |
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.
Parameters | Type | Description |
---|---|---|
message | object |
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.
Parameters | Type | Description |
---|---|---|
message | object |
cancel_rich_menu_default
Cancel the default rich menu.
delete_rich_menu
Delete a rich menu from your LINE Official Account.
Parameters | Type | Description |
---|---|---|
richMenuId | string | The ID of the rich menu to delete. |
get_message_quota
Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
get_profile
Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
Parameters | Type | Description |
---|---|---|
userId | string optional | The user ID to get a profile. Defaults to DESTINATION_USER_ID. |
get_rich_menu_list
Get the list of rich menus associated with your LINE Official Account.
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.
Parameters | Type | Description |
---|---|---|
message | object | |
userId | string optional | The user ID to receive a message. Defaults to DESTINATION_USER_ID. |
push_text_message
Push a simple text message to a user via LINE. Use this for sending plain text messages without formatting.
Parameters | Type | Description |
---|---|---|
message | object | |
userId | string optional | The user ID to receive a message. Defaults to DESTINATION_USER_ID. |
set_rich_menu_default
Set a rich menu as the default rich menu.
Parameters | Type | Description |
---|---|---|
richMenuId | string | The ID of the rich menu to set as default. |
{
"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"
}
}
}
}
Manual installation
You can install the MCP server using:
Installation for