Line Bot

v0.4.2Communicationstable

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

linelinebotmcpmcp-serverbot
Share:
583
Stars
0
Downloads
0
Weekly
0/5

What is Line Bot?

Line Bot is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that integrates the line messaging api to connect an ai agent to the line official account.

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

This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.

Features

  • MCP server that integrates the LINE Messaging API to connect

Use Cases

Connect AI agents to LINE Official Accounts for customer messaging.
Automate LINE bot interactions through natural language commands.
line

Maintainer

LicenseApache-2.0
Languagetypescript
Versionv0.4.2
UpdatedMay 21, 2026
Statushealthy
Maintenanceactive

Works with

ClaudeOpenAIwindowsmacoslinux

Installation

NPM

npx -y @line/line-bot-mcp-server

Manual Installation

npx -y @line/line-bot-mcp-server

Configuration

Configuration Details

Config File

claude_desktop_config.json

Performance

Response Metrics

Response Time< 200ms
ThroughputMedium

Resource Usage

Memory UsageLow
CPU UsageLow

How to Set Up and Use Line Bot

Line Bot MCP Server connects AI agents to LINE Official Accounts through the LINE Messaging API. Send and receive messages, manage conversations, and automate customer interactions through Claude or Cursor, with native integration to the LINE platform.

Prerequisites

  • Node.js 18+ installed
  • An MCP client such as Claude Desktop or Cursor
  • A LINE Official Account with Messaging API enabled
  • LINE Channel Access Token and Channel Secret
1

Install Line Bot MCP Server

Install the official LINE package.

npx -y @line/line-bot-mcp-server
2

Get LINE credentials

Obtain your Channel Access Token and Channel Secret from the LINE Developers console.

3

Set environment variables

Configure LINE credentials for the server. Check the repository README for exact variable names (typically LINE_CHANNEL_ACCESS_TOKEN and LINE_CHANNEL_SECRET).

export LINE_CHANNEL_ACCESS_TOKEN="your_token_here"
export LINE_CHANNEL_SECRET="your_secret_here"
4

Add to client configuration

Register the server in claude_desktop_config.json.

{
  "mcpServers": {
    "line-bot": {
      "command": "npx",
      "args": ["-y", "@line/line-bot-mcp-server"]
    }
  }
}
5

Restart and test

Reload your MCP client and test sending a message through your LINE bot.

Line Bot Examples

Client configuration example

LINE Bot configuration in claude_desktop_config.json.

{
  "mcpServers": {
    "line-bot": {
      "command": "npx",
      "args": ["-y", "@line/line-bot-mcp-server"]
    }
  }
}

Prompts to try

Manage your LINE bot through Claude.

Send a message to a LINE user with a specific ID
Reply to the latest message in my LINE Official Account
Manage customer conversations through my LINE bot

Troubleshooting Line Bot

Bot fails to authenticate or send messages

Verify your Channel Access Token and Channel Secret are set correctly as environment variables. Check the LINE Developers console to ensure the Messaging API is enabled and your token is not expired.

Messages are not being received

Confirm your webhook URL is correctly configured in the LINE Developers console. Ensure the server is running and accessible from LINE's servers.

Frequently Asked Questions about Line Bot

What is Line Bot?

Line Bot is a Model Context Protocol (MCP) server that mcp server that integrates the line messaging api to connect an ai agent to the line official account. It connects AI assistants to external tools and data sources through a standardized interface.

How do I install Line Bot?

Install via npm with the command: npx -y @line/line-bot-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).

Which AI clients work with Line Bot?

Line Bot works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.

Is Line Bot free to use?

Yes, Line Bot is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.

Browse More Communication MCP Servers

Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.

Quick Config Preview

{ "mcpServers": { "line-bot": { "command": "npx", "args": ["-y", "@line/line-bot-mcp-server"] } } }

Add this to your claude_desktop_config.json or .cursor/mcp.json

Read the full setup guide →

Ready to use Line Bot?

Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.

33,000+ ServersFree & Open SourceStep-by-Step Guides