Back to Home
line icon

line-bot-mcp-server

Verified Safe

by line

Overview

Integrates LINE Messaging API with AI Agents to enable automated communication and rich menu management for LINE Official Accounts.

Installation

Run Command
npx @line/line-bot-mcp-server

Environment Variables

  • CHANNEL_ACCESS_TOKEN
  • DESTINATION_USER_ID

Security Notes

The server correctly uses environment variables for sensitive tokens. However, the `create_rich_menu` tool utilizes Puppeteer with the `--no-sandbox` argument to render rich menu images, where user-provided `chatBarText` and action `label` fields are embedded into an HTML template. While input validation (Zod) is present for general structure, if malicious HTML/JavaScript is injected into these text fields and not sufficiently sanitized by the Marp rendering process, it could potentially be executed within the unsandboxed Puppeteer instance, posing a security risk. This is noted as a preview version, suggesting it may not be production-hardened.

Similar Servers

Stats

Interest Score97
Security Score6
Cost ClassMedium
Avg Tokens500
Stars503
Forks86
Last Update2025-12-10

Tags

LINEBotMessagingAI AgentCommunication