Skip to content
appsgit

Line Bot MCP Server

Line Bot MCP Server is an MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account. It has 783 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @line/line-bot-mcp-server.

github.com/line/line-bot-mcp-server (opens in a new tab)

Install Line Bot MCP Server

Generated from the server's published package. Replace your-value with your own values.

Claude Desktop

claude_desktop_config.json
{
  "mcpServers": {
    "line-bot-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@line/line-bot-mcp-server"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Settings > Developer > Edit Config. macOS: ~/Library/Application Support/Claude/, Windows: %APPDATA%\Claude\. Restart Claude Desktop afterwards.

Claude Code

claude mcp add --env CHANNEL_ACCESS_TOKEN=your-value --transport stdio line-bot-mcp-server -- npx -y @line/line-bot-mcp-server

Cursor

.cursor/mcp.json
{
  "mcpServers": {
    "line-bot-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@line/line-bot-mcp-server"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN": "your-value"
      }
    }
  }
}

Project file; use ~/.cursor/mcp.json to enable it in every project.

VS Code

.vscode/mcp.json
{
  "inputs": [
    {
      "type": "promptString",
      "id": "channel_access_token",
      "description": "CHANNEL_ACCESS_TOKEN",
      "password": true
    }
  ],
  "servers": {
    "line-bot-mcp-server": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@line/line-bot-mcp-server"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN": "${input:channel_access_token}"
      }
    }
  }
}

Config formats checked against the official docs on Oct 7, 2026: modelcontextprotocol.io (opens in a new tab), code.claude.com (opens in a new tab), cursor.com (opens in a new tab), code.visualstudio.com (opens in a new tab).

Environment variables

Variables the server reads at startup.

NameRequiredDescription
NPM_CONFIG_IGNORE_SCRIPTSNoShown in the README's example configuration.
CHANNEL_ACCESS_TOKENsecretNoShown in the README's example configuration.
DESTINATION_USER_IDNoShown in the README's example configuration.

Tools (13)

Parsed from the Tools section of the README; check the repository for the current list.

  • message.text

    The plain text content to send to the user.

  • message.contents

    The contents of the flex message. This is a JSON object that defines the layout and components of the message.

  • message.contents.type

    Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.

  • actions

    The actions of the rich menu. You can specify minimum 1 to maximum 6 actions.

  • postback

    For sending a postback action

  • message

    For sending a text message

  • datetimepicker

    For opening a date/time picker

  • camera

    For opening the camera

  • location

    For sending the current location

  • richmenuswitch

    For switching to another rich menu

  • clipboard

    For copying text to clipboard

  • start

    Continuation token to get the next array of user IDs. Returned in the next property of a previous response.

  • limit

    The maximum number of user IDs to retrieve in a single request.

About Line Bot MCP Server

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

  • mcp
  • mcp-server
  • line
  • linebot

FAQ

Line Bot MCP Server FAQ

Still curious? Email info@appsgit.com.

What is Line Bot MCP Server?

Line Bot MCP Server is an MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account. It has 783 GitHub stars, is released under the Apache-2.0 license and runs locally with npx -y @line/line-bot-mcp-server. The source code is at github.com/line/line-bot-mcp-server.

How do I install the Line Bot MCP Server MCP server?

Add the command npx -y @line/line-bot-mcp-server to your MCP client: put it in claude_desktop_config.json for Claude Desktop, run claude mcp add for Claude Code, or add it to .cursor/mcp.json (Cursor) or .vscode/mcp.json (VS Code). The snippets on this page are ready to paste.

Is Line Bot MCP Server free?

The server is open source under the Apache-2.0 license, so running it is free. It needs credentials (CHANNEL_ACCESS_TOKEN) for the service it connects to, which may require a paid account.

Is Line Bot MCP Server actively maintained?

The most recent commit was on Oct 6, 2026. The latest release is v0.5.0, published May 29, 2026. appsgit only lists MCP servers with a commit in the last six months and re-checks every server daily.