← Back to Leaderboard
Lline

line/line-bot-mcp-server

TypeScript MCP bridge for sending messages and managing menus on LINE Official Accounts

View on GitHub ↗
Engineering Health (Methodology)
A+ · 88/100
Maintenance Activity
● Updated 4d ago
Latest Release
v0.5.0
Commercial License Check
Apache-2.0 · Commercial Friendly

Automated SPDX check for reference only — not legal advice. Disclaimer

Maintenance35/35
Fork Adoption19/25
Release Cadence14/20
License Clarity20/20
DockerMCPCLIAPI
Total Stars
★ 809
24h Growth
+0
7d Growth
+2
Forks
160

GitHub Star History

Full-history star trajectory from GitHub official history. Switch ranges or hover any point for exact counts.

line/line-bot-mcp-server Star History (2025-04-09 - 2026-12-04) ALL-TIME STAR HISTORY (2025-04 – 2026-12) +808 in 604d · avg +1/day 854 427 0 2025-04-09: ★ 12025-05-17: ★ 3682025-06-28: ★ 4052025-08-09: ★ 4272025-09-20: ★ 4502025-11-01: ★ 4782025-12-13: ★ 4932026-01-24: ★ 5012026-03-07: ★ 5132026-04-18: ★ 5602026-05-30: ★ 5802026-07-11: ★ 6002026-08-22: ★ 7612026-10-03: ★ 7782026-11-09: ★ 7982026-12-04: ★ 809 ★ 809 2025-04 2026-02 2026-12

Evidence-Backed Technical Brief

AI Deep Review

Architecture & Core Mechanics

The server is a TypeScript adapter between an MCP client and the LINE Messaging API. In the documented setup, clients such as Claude Desktop and Cline launch the CLI with npx or docker run -i and exchange MCP traffic over stdio. The server uses the channel access token for LINE API calls; the client supplies the agent and decides when to invoke a tool.

The package exposes the line-bot-mcp-server binary. Its dependencies include @modelcontextprotocol/server, @line/bot-sdk, and Zod for the tool-facing stack, plus @marp-team/marp-core and Puppeteer for rendering-related work. The Docker runtime includes Chromium and CJK fonts. That creates two distinct workloads: ordinary API calls and browser-backed rendering for generated menus.

Key Capabilities & Differentiators

The tools can push plain text or Flex messages to one user, or broadcast either format to the Official Account's followers. A per-user call can take userId explicitly or fall back to DESTINATION_USER_ID. Flex messages take altText and a JSON payload with a bubble or carousel container. The contents field is broadly typed, so callers should not count on MCP input validation to catch every invalid Flex layout.

get_profile can retrieve details such as display name, picture URL, status message, and language. Rich-menu creation can turn action definitions into a menu without a supplied image. v0.5.0 adds get_follower_ids, which requires a paid premium Official Account; that entitlement is separate from the ability to send a broadcast.

Trade-offs & Limitations

Compared with integrating @line/bot-sdk directly, this server removes the need to write your own MCP wrappers for the covered operations. It is a good fit when the client already owns the agent workflow. A direct SDK integration is the better starting point when the application must receive webhooks or enforce its own recipient rules, approval flow, and retry policy. Do not assume those controls are provided by the preview server.

Running the adapter locally keeps model inference out of this process, but delivery still depends on LINE connectivity and account permissions. Rich-menu rendering adds browser and font dependencies that simple message sending does not need. Broadcast is also a separate risk from a test push: use a test account or require explicit approval in the surrounding workflow rather than treating the default recipient or tool annotations as safeguards.

Hardware & Deployment Guide

Start with a LINE Official Account that has Messaging API enabled and supply CHANNEL_ACCESS_TOKEN. For a native setup, use Node.js 22 or newer and launch npx @line/line-bot-mcp-server; the documented client configuration sets NPM_CONFIG_IGNORE_SCRIPTS=true. Set DESTINATION_USER_ID only if per-user calls need a default. Keep the real token out of configuration files that will be committed or shared.

For Docker, build line/line-bot-mcp-server from the repository and run it with -i --rm, passing the required environment variables. The multi-stage Alpine build installs Chromium and fonts in the runtime image; containerization does not make LINE calls offline. Local development can use npm run build and MCP Inspector against dist/index.js. Rich-menu creation arrived in v0.4.0, v0.4.2 fixed that tool under npx, and v0.5.0 added follower IDs and tool annotations.

Integration: A TypeScript CLI exposes LINE operations over MCP stdio to clients such as Claude Desktop and Cline.
Message scope: Text and Flex messages support both individual pushes and account-wide broadcasts.
Flex payloads: Messages require altText and accept bubble or carousel containers.
Rich menus: Action definitions drive image generation without a supplied image; the Docker runtime includes Chromium and CJK fonts.
Account data: get_profile reads user details; v0.5.0 adds get_follower_ids for eligible premium accounts.
Tool testing: MCP Inspector can exercise the built dist/index.js entrypoint before it is wired into an agent.
Best For

Teams adding LINE notifications, Flex messages, or rich-menu creation to an existing MCP agent, with a test account or operator approval for broadcasts.

Skip If

You need an inbound webhook backend, offline delivery, or application-enforced controls for unattended production messaging.

Reviewed on 2026-12-04 · Grounded in GitHub README, root file tree & releasesMethodology

Quick Start & Installation

DockerMCPCLIAPI
docker build -t line/line-bot-mcp-server .

Comparison vs. Top Coding, Skills & MCP Alternatives

Full comparison →
RepositoryStars7d TrendStackLicenseCore Positioning
line-bot-mcp-server ★809+2TypeScriptApache-2.0TypeScript MCP bridge for sending messages and managing menus on LINE Official A
chrome-devtools-mcp60.4k+760TypeScriptApache-2.0Chrome DevTools via MCP and CLI for live browser debugging and performance analy
context765.8k+333TypeScriptMITA hosted documentation index with MCP and CLI access for coding agents
rea488.8k+7.6kTypeScriptMITA local CLI and MCP server for evidence-backed app and binary analysis

AI Context Briefing (for Claude / Cursor / Windsurf)

Standardized architecture summary & quickstart commands ready to paste into coding agents.

Raw .md ↗
curl -sL https://repoforai.com/repo/line/line-bot-mcp-server.md

Embed Star History Chart & Badges in README.md

Full-history Star History SVGs and velocity cards on GitHub Camo: drop-in replacement for OSSInsight and Star History widgets.

line/line-bot-mcp-server Star History on RepoForAI

Active README embeds unlock Hot-Tier 6h Telemetry Refresh automatically (zero pay-to-rank).

Frequently Asked Questions about line-bot-mcp-server

How does an MCP client connect, and how is the recipient selected?

The npx and Docker configurations launch the server as an MCP subprocess over stdio. The server calls the LINE Messaging API using CHANNEL_ACCESS_TOKEN. For tools that target an individual user, pass userId explicitly or configure DESTINATION_USER_ID as a fallback. That fallback is not a recipient allowlist and does not narrow broadcasts.

Does it need a GPU, and what drives runtime overhead?

The server does not run model inference, and LINE API calls do not imply a dedicated GPU or VRAM requirement. Rich-menu generation is the path to size separately: browser rendering, installed fonts, and concurrent renders can increase CPU and memory use. Measure that workload on the intended host.

Can we self-host it for commercial use?

Apache-2.0 permits commercial use and self-hosting; retain the applicable license and notices when redistributing. Self-hosting covers the MCP adapter, not LINE delivery. LINE's service terms and account entitlements still apply, and teams should control access to the channel token and any profile or follower data.

When should we use the LINE SDK directly instead?

Use the MCP server when the documented tool set fits and the main goal is to give an agent access to LINE actions. Use @line/bot-sdk directly when your application must handle incoming webhooks, enforce recipient policy, or give outbound actions application-controlled approvals and retries.

Upstream README & Documentation

This profile focuses on independent engineering analysis and live telemetry. Read the full upstream README, changelog, and examples directly on GitHub.

Maintaining line/line-bot-mcp-server? Pin to Homepage + competitor /alternatives pages with a custom Cloud/Demo CTA.Feature line/line-bot-mcp-server on Homepage & Alternatives ($19)
WEEKLY BREAKOUT DIGEST

Top 10 Breakout Open-Source AI Repos, Every Thursday

Signal-only digest of fast-growing AI repos, SPDX license alerts, and architecture picks. Zero spam.

Zero spam · 1-click unsubscribe · Privacy Policy

Saved in your browser · Export Markdown RFC tables or jump into /vs compare