# Line Bot MCP Server (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.

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

## Key facts

| Fact | Value |
|---|---|
| Repository | https://github.com/line/line-bot-mcp-server |
| GitHub stars | 783 |
| License | Apache-2.0 |
| Language | TypeScript |
| Transport | stdio |
| Packages | npm: @line/line-bot-mcp-server |
| Remote URL | none |
| Needs API key | yes |
| Official | yes |
| Works with | Claude Desktop, Claude Code, Cursor, VS Code |
| Category | Communication |
| Latest release | v0.5.0 (May 29, 2026) |
| Last commit | Oct 6, 2026 |

## Install

### Claude Desktop (claude_desktop_config.json)

```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

```sh
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)

```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)

```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 2026-10-07.

## Environment variables

- `NPM_CONFIG_IGNORE_SCRIPTS`: Shown in the README's example configuration.
- `CHANNEL_ACCESS_TOKEN` (secret): Shown in the README's example configuration.
- `DESTINATION_USER_ID`: Shown in the README's example configuration.

## Tools

- `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.

## Similar MCP servers

- [Strata](https://appsgit.com/mcp-servers/strata): MCP server for progressive tool usage at any scale (see https://klavis.ai). (5,807 stars, Apache-2.0, official)
- [Vexa](https://appsgit.com/mcp-servers/vexa): Meeting bot and transcripts for Google Meet, Teams and Zoom. (2,856 stars, Apache-2.0, official, needs API key)
- [MCP Server for WinDbg Crash Analysis](https://appsgit.com/mcp-servers/mcp-server-for-windbg-crash-analysis): A Model Context Protocol server for Windows crash dump analysis using WinDbg/CDB. (1,607 stars, MIT)
- [Rocketmq Rust](https://appsgit.com/mcp-servers/rocketmq-rust): 🚀 Apache RocketMQ built in Rust 🦀 — faster, safer, and more memory-efficient. (1,524 stars, Apache-2.0)
- [Wassette](https://appsgit.com/mcp-servers/wassette): Wassette: A security-oriented runtime that runs WebAssembly Components via MCP. (957 stars, MIT, official)
- [FLUJO](https://appsgit.com/mcp-servers/flujo): Multi-Agent + Automation Harness: Graph-based Workflows, MCP, Self-Improving Agents. (656 stars, MIT)

---

Canonical page: https://appsgit.com/mcp-servers/line-bot-mcp-server
Source: appsgit (https://appsgit.com), the app store for github. Data from the GitHub API, refreshed nightly.
Machine access: JSON API https://appsgit.com/api/v1/apps (OpenAPI: https://appsgit.com/openapi.json), MCP server https://mcp.appsgit.com/mcp, full index https://appsgit.com/llms-full.txt.
