Claude Line Channel banner
NYCU-Chung NYCU-Chung

Claude Line Channel

Communication community

Description

LINE Messaging API channel plugin for Claude Code

Installation

This entry records only its repository, not the path inside it, so there is no exact command to give. Open the source below and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

README

LINE Channel for Claude Code

[繁體中文](./README.zh-TW.md) | English

Claude Code's channel system lets messaging platforms connect directly to a Claude Code session. This plugin adds **LINE** support — the only third-party LINE channel plugin available. Official support currently covers only Discord and Telegram.

Connect a LINE bot to your Claude Code with an MCP server. When someone messages the bot, the server forwards the message to Claude and provides tools to reply. Claude can respond to DMs and group chats, download media, and send images — all from within a Claude Code session.

Prerequisites

  • Bun — the MCP server runs on Bun. Install with curl -fsSL https://bun.sh/install | bash.
  • A publicly accessible HTTPS endpoint for the webhook (e.g. behind nginx or Caddy).

Quick Setup

Single-user DM setup. See [ACCESS.md](./ACCESS.md) for groups and multi-user setups.

**1. Create a LINE Official Account and enable Messaging API.**

As of September 2024, Messaging API channels can no longer be created directly from the LINE Developers Console. The new flow:

  1. Sign in to LINE Official Account Manager and create a LINE Official Account.
  2. In the account settings, find Messaging API and click Enable. Select or create a Provider when prompted.
  3. Open LINE Developers Console and navigate to the channel that was automatically created under your Provider.

On the channel page in LINE Developers Console:

  • Basic settings tab → copy the Channel secret
  • Messaging API tab → click Issue to generate a Channel access token (long-lived) and copy it

Back in LINE Official Account Manager, configure three pages under **Settings**:

**Settings → Messaging API** (`/setting/messaging-api`)

  • Set the Webhook URL to your public HTTPS endpoint (e.g. https://line-webhook.example.com/webhook)
  • Click Save

**Settings → Account settings** (`/setting`)