Atlas / MCP servers / line / LINE Bot

LINE BotSAFE

mcp/line/line-bot

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

Verdict
SAFE
Grade
B
Trust score
89 /100
Exposed tools
13 8r · 4w · 1d
Transport
—
License
Apache-2.0
Stars
783
01

Overview

From the repository's own README, as read at the audited commit. Badges and raw HTML are left out.

日本語版 READMEはこちら

[](https://www.npmjs.com/package/@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.

[!NOTE] This repository is provided as a preview version. While we offer it for experimental purposes, please be aware that it may not include complete functionality or comprehensive support.

Tools

  1. push_text_message
  2. Push a simple text message to a user via LINE.
  3. Inputs:
  4. userId (string?): The user ID to receive a message. Defaults to DESTINATIONUSERID. Either userId or DESTINATION_USER_ID must be set.
  5. message.text (string): The plain text content to send to the user.
  6. push_flex_message
  7. Push a highly customizable flex message to a user via LINE.
  8. Inputs:
  9. userId (string?): The user ID to receive a message. Defaults to DESTINATIONUSERID. Either userId or DESTINATION_USER_ID must be set.
  10. message.altText (string): Alternative text shown when flex message cannot be displayed.
  11. message.contents (any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.
  12. message.contents.type (enum): Type of the container. 'bubble' for single container, 'carousel' for multiple swipeable bubbles.
  13. broadcast_text_message
  14. Broadcast a simple text message via LINE to all users who have followed your LINE Official Account.
  15. Inputs:
  16. message.text (string): The plain text content to send to the users.
  17. broadcast_flex_message
  18. Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account.
  19. Inputs:
  20. message.altText (string): Alternative text shown
Read from source at commit 600c41c913c5OBSERVED · 2026-09-27
02

Connect

Built from this server's own package name, version and transport as found in its source — not copied from anyone's documentation, so it cannot drift against a page we do not control. Replace the environment placeholders with a token scoped to the least it needs.

claude-code
claude mcp add line-bot-mcp-server --env CHANNEL_ACCESS_TOKEN=${CHANNEL_ACCESS_TOKEN} -- npx -y @line/[email protected]
claude-desktop
{
  "mcpServers": {
    "line-bot-mcp-server": {
      "command": "npx",
      "args": [
        "-y",
        "@line/[email protected]"
      ],
      "env": {
        "CHANNEL_ACCESS_TOKEN": "${CHANNEL_ACCESS_TOKEN}"
      }
    }
  }
}
03

Exposed tools (13)

8 read · 4 write · 1 destructive. Blast radius: 1 tool can delete or overwrite — an agent that can be talked into calling a tool can be talked into calling this one.

ToolRiskDescription
broadcast_flex_messageread
broadcast_text_messageread
cancel_rich_menu_defaultread
create_rich_menuwrite
delete_rich_menudestructive
get_follower_idsread
get_group_summaryread
get_message_quotaread
get_profileread
get_rich_menu_listread
push_flex_messagewrite
push_text_messagewrite
set_rich_menu_defaultwrite
04

Trust audit

SAFEgrade B · trust 89/100 Nothing in the source contradicts what it says it does. Grade A is reserved for packages that have also passed the behavioural sandbox.

LayerWhat it checksResult
L0Provenance & inventoryPASS
L1Static analysis of the codePASS
L2Instruction surface (what it tells the agent)PASS
L3Class-specific surfaceWARN
L4Behavioural (sandbox)SKIPPED

What the source does

Filesystem
declared (1 observation(s))
Network
declared (4 observation(s))
Shell
none-observed
Dependencies
not all pinned
Secrets in source
none-found

Findings (9)

MEDIUMFilesystem / path · mcp.destructive_tools · CWE-22, CWE-59
delete_rich_menu
Why it matters. 1 tool(s) can delete or overwrite
Fix. prefer a read-only mode or scoped tokens; the page states the blast radius
LOWInventory / provenance · inv.hidden_file · CWE-1104
.prettierrc.json
.prettierrc.json
Why it matters. hidden member outside the usual dotfiles
Fix. review its purpose
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/common/schema/flexMessage.test.ts:2
import { flexMessageSchema } from "../../../src/common/schema/flexMessage.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/e2e/pushTextMessage.e2e.test.ts:6
import { USER_AGENT } from "../../src/version.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/e2e/pushTextMessage.e2e.test.ts:16
new URL("../../dist/index.js", import.meta.url),
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/tools/broadcastFlexMessage.test.ts:5
import BroadcastFlexMessage from "../../src/tools/broadcastFlexMessage.js";
LOWFilesystem / path · fs.traversal · CWE-22, CWE-59
test/tools/broadcastTextMessage.test.ts:5
import BroadcastTextMessage from "../../src/tools/broadcastTextMessage.js";
LOWNetwork egress · net.raw_ip · CWE-200, CWE-319
test/e2e/pushTextMessage.e2e.test.ts:85
baseUrl: `http://127.0.0.1:${address.port}`,
LOWSupply chain · supply.unpinned · CWE-829, CWE-1357
package.json
@line/bot-sdk, @marp-team/marp-core, puppeteer, zod, @modelcontextprotocol/server, @modelcontextprotocol/client, @types/node, prettier
Why it matters. 11 dependency range(s) float
Fix. pin exact versions or ship a lockfile

Gates applied: no_behavioural_pass.

Audited 2026-09-27 · audit v0.4.1 · source sha 600c41c913c5full audit observations/trust-audit/mcp-server/line__line-bot.json · Report an issue / request a re-scan
05

Audit history

Every audit this server has had. A grade with a past is a grade somebody is still checking.

DateSourceVerdictGradeScoreChange
2026-09-27600c41c913c5SAFEB89first audit
06

Questions

What is the LINE Bot MCP server?

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

What tools does LINE Bot expose?

13 in total: 8 read-only, 4 that write, and 1 that can delete or overwrite (delete_rich_menu). Every one is listed on this page with its risk.

Is LINE Bot safe to connect to an agent?

The audit found nothing in the source that contradicts what it says it does, and graded it B (89/100). Grade A is held back for packages that have also passed a sandboxed behavioural run, which is why a clean server reads B. Separately from the audit: 1 of its tools can destroy data, so scope the token you give it to what you actually need.

What credentials does LINE Bot need?

It reads CHANNEL_ACCESS_TOKEN from the environment. Give it a token scoped to the least it needs — an agent that can be talked into calling a tool can be talked into calling it with your credentials.

How current is this page?

The grade is for one exact copy of the source (600c41c913c5), read on 2026-09-27. The repository is watched and re-audited when it changes.

Advertisement