LI

LINE

Created 5 months ago

LINE Bot MCP Server integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

development location documentation public

What is LINE?

Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

Documentation

Tools

  1. push_text_message - Push a simple text message to a user via LINE.
  2. push_flex_message - Push a highly customizable flex message to a user via LINE.
  3. broadcast_text_message - Broadcast a simple text message via LINE to all users.
  4. broadcast_flex_message - Broadcast a highly customizable flex message via LINE to all users.
  5. get_profile - Get detailed profile information of a LINE user.
  6. get_message_quota - Get the message quota and consumption of the LINE Official Account.
  7. get_rich_menu_list - Get the list of rich menus associated with your LINE Official Account.
  8. delete_rich_menu - Delete a rich menu from your LINE Official Account.
  9. set_rich_menu_default - Set a rich menu as the default rich menu.
  10. cancel_rich_menu_default - Cancel the default rich menu.

Installation (Using npx)# Step 1: Create LINE Official Account

This MCP server utilizes a LINE Official Account. If you do not have one, please create it by following this instructions.

Step 2: Configure AI Agent

Please add the following configuration for an AI Agent like Claude Desktop or Cline. Set the environment variables or arguments as follows:

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

Installation (Using Docker)# Step 1: Create LINE Official Account

This MCP server utilizes a LINE Official Account. If you do not have one, please create it by following this instructions.

Step 2: Build line-bot-mcp-server image

Clone this repository:

git clone [email protected]:line/line-bot-mcp-server.git

Build the Docker image:

docker build -t line/line-bot-mcp-server .

Step 3: Configure AI Agent

Please add the following configuration for an AI Agent like Claude Desktop or Cline. Set the environment variables or arguments as follows:

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

Versioning

This project respects semantic versioning See http://semver.org/

Contributing

Please check CONTRIBUTING before making a contribution.

Server Config

{
  "mcpServers": {
    "line-server": {
      "command": "npx",
      "args": [
        "line"
      ]
    }
  }
}

Links & Status

Repository: github.com
Hosted: No
Global: No
Official: Yes

Project Info

Hosted Featured
Created At: Jul 02, 2025
Updated At: Aug 07, 2025
Author: LINE Corporation
Category: official
License: MIT
Tags:
development location documentation