LINE Official Account
MCP ServerFree** - Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Capabilities10 decomposed
mcp-to-line messaging api translation layer
Medium confidenceImplements a bidirectional protocol adapter that translates Model Context Protocol tool calls from AI agents (like Claude) into LINE Messaging API requests using the @line/bot-sdk. The server uses StdioServerTransport for stdio-based communication with the AI agent and converts structured MCP tool invocations into authenticated LINE API calls, handling schema validation via Zod before transmission.
Uses MCP's stdio-based transport protocol as the primary integration point rather than REST webhooks, enabling direct stdio communication between AI agents and the LINE server without requiring HTTP infrastructure or webhook URL exposure
Simpler than building custom REST API wrappers because it leverages MCP's standardized tool-calling interface, reducing boilerplate and making the integration portable across any MCP-compatible AI agent
targeted text message delivery to individual users
Medium confidenceImplements the push_text_message tool that sends plain-text messages to a specific LINE user by user ID. The tool accepts a message.text parameter and optional user_id, validates input via Zod schema, and invokes the LINE Bot SDK's client.pushMessage() method with the user ID and text message object, returning the LINE API response with message metadata.
Exposes LINE's pushMessage API as a discrete MCP tool with Zod-validated schemas, allowing AI agents to invoke messaging without understanding LINE SDK internals or managing authentication tokens
More direct than building a custom REST endpoint because it integrates directly into the agent's tool-calling interface, eliminating the need for agents to construct HTTP requests or parse LINE API documentation
rich interactive message delivery via flex messages
Medium confidenceImplements push_flex_message and broadcast_flex_message tools that send LINE's Flex Message format (JSON-based rich messages with buttons, carousels, and interactive components) to individual users or all followers. The tools accept message.altText (fallback text), message.content or message.contents (Flex message JSON structure), validate via Zod, and invoke the LINE Bot SDK's pushMessage() or broadcastMessage() methods with the Flex message object.
Exposes both targeted (push_flex_message) and broadcast (broadcast_flex_message) variants as separate tools, allowing agents to choose between individual delivery and mass distribution without conditional logic
Enables agents to send interactive UI elements (buttons, carousels) directly through the messaging interface, whereas plain text tools require agents to describe actions in prose or use external link generation
broadcast text messaging to all followers
Medium confidenceImplements the broadcast_text_message tool that sends a plain-text message to all followers of a LINE Official Account without requiring individual user IDs. The tool accepts message.text, validates via Zod, and invokes the LINE Bot SDK's broadcastMessage() method, which distributes the message to the entire follower base in a single API call.
Separates broadcast messaging into its own tool distinct from targeted push_text_message, forcing agents to explicitly choose between one-to-one and one-to-many delivery patterns rather than inferring intent from missing user IDs
Simpler than agents managing follower lists or pagination because LINE's broadcastMessage API handles distribution server-side, eliminating the need for agents to query user lists or batch messages
user profile retrieval and caching
Medium confidenceImplements the get_profile tool that retrieves a LINE user's profile information (display name, profile picture URL, status message) by user ID. The tool invokes the LINE Bot SDK's getProfile() method, which queries LINE's user profile API and returns structured profile data. The server does not implement caching, so repeated calls for the same user incur API latency.
Exposes LINE's getProfile API as a discrete MCP tool, allowing agents to fetch user metadata on-demand without managing SDK client initialization or error handling
Enables agents to personalize responses with user names and pictures without requiring agents to parse webhook payloads or maintain user databases, delegating profile storage to LINE
environment-based default user targeting
Medium confidenceImplements optional DESTINATION_USER_ID environment variable that serves as a fallback user ID when push_text_message or get_profile tools are invoked without an explicit user_id parameter. The server reads this variable at startup and uses it as the default target for message delivery, reducing boilerplate in agent configurations where a single primary user is the primary recipient.
Uses environment variables for runtime configuration rather than hardcoding or requiring agent-side configuration, enabling deployment-time customization without rebuilding the server
Simpler than agents managing user ID routing logic because the server centralizes default targeting, reducing conditional logic in agent tool calls
zod-based input validation and schema enforcement
Medium confidenceIntegrates Zod schema validation library to validate all tool parameters (message text, user IDs, Flex message structures) before invoking LINE Messaging API calls. The server defines Zod schemas for each tool's input, validates incoming MCP tool calls against these schemas, and returns validation errors to the agent if parameters are malformed or missing required fields.
Uses Zod for declarative schema validation rather than imperative if-checks, enabling reusable, composable validation logic that can be extended without modifying tool implementation code
More maintainable than manual parameter validation because Zod schemas serve as both validation logic and documentation, reducing the gap between spec and implementation
docker-based deployment packaging
Medium confidenceProvides a Dockerfile and Docker Compose configuration enabling the LINE Bot MCP Server to be containerized and deployed in Docker environments without requiring Node.js installation on the host. The Docker image includes Node.js v20+, installs dependencies via npm, and exposes the server via stdio for MCP client communication.
Provides both Dockerfile and Docker Compose templates, enabling both single-container deployments and multi-container orchestration without requiring users to write Docker configurations from scratch
Simpler than manual Node.js installation and dependency management because Docker encapsulates all runtime requirements, reducing deployment friction and environment-specific issues
mcp server lifecycle management via stdioservertransport
Medium confidenceImplements the Model Context Protocol server lifecycle using @modelcontextprotocol/sdk's StdioServerTransport, which manages stdio-based bidirectional communication between the MCP server and MCP client (AI agent). The server initializes the MCP server, registers all tools (push_text_message, push_flex_message, etc.), and handles incoming tool calls from the agent via stdin, returning results via stdout.
Uses MCP's StdioServerTransport for direct stdio communication rather than HTTP, eliminating the need for network configuration, reverse proxies, or webhook URL management
More direct than REST API wrappers because stdio communication is bidirectional and synchronous, enabling agents to invoke tools and receive results in a single round-trip without polling or callback mechanisms
tool discovery and schema advertisement via mcp
Medium confidenceImplements MCP's tool discovery mechanism by registering all available tools (push_text_message, push_flex_message, broadcast_text_message, broadcast_flex_message, get_profile) with the MCP server and advertising their schemas (parameter names, types, descriptions) to the MCP client. The client uses this schema information to understand which tools are available and how to invoke them with correct parameters.
Leverages MCP's built-in tool discovery protocol rather than requiring agents to hardcode tool names and parameters, enabling agents to adapt to server changes without code modifications
More flexible than REST API documentation because tool schemas are machine-readable and used by agents at runtime, enabling dynamic tool invocation and parameter validation
Capabilities are decomposed by AI analysis. Each maps to specific user intents and improves with match feedback.
Related Artifactssharing capabilities
Artifacts that share capabilities with LINE Official Account, ranked by overlap. Discovered automatically through the match graph.
@line/line-bot-mcp-server
MCP server for interacting with your LINE Official Account
@bolide-ai/mcp
Bolide AI MCP is a ModelContextProtocol server that provides tools for marketing automation.
Webex
** - A Model Context Protocol (MCP) server that provides AI assistants with comprehensive access to Cisco Webex messaging capabilities.
Telegram MCP Server
Send messages and manage Telegram chats and bots via MCP.
@mseep/airylark-mcp-server
AiryLark的ModelContextProtocol(MCP)服务器,提供高精度翻译API
@sigmacomputing/slack-mcp-server
MCP server for interacting with Slack
Best For
- ✓AI agent developers building LINE-integrated chatbots
- ✓Teams deploying Claude or other MCP-compatible LLMs to LINE messaging
- ✓Developers wanting to avoid direct LINE API management in agent code
- ✓Simple chatbot interactions requiring plain-text responses
- ✓Notification systems where rich formatting is unnecessary
- ✓Agents needing low-latency message delivery without Flex message overhead
- ✓E-commerce bots displaying product catalogs with purchase buttons
- ✓Customer service agents offering structured menu options
Known Limitations
- ⚠Currently unidirectional communication only — agents cannot receive webhook events or user messages from LINE
- ⚠Requires Node.js v20+ runtime; no Python or Go implementations available
- ⚠StdioServerTransport adds latency for each tool call round-trip between agent and server
- ⚠No built-in message queuing or retry logic — failures are synchronous and must be handled by the agent
- ⚠Text-only — no support for images, buttons, or interactive elements
- ⚠Requires explicit user_id or DESTINATION_USER_ID environment variable; no broadcast capability
Requirements
Input / Output
UnfragileRank
UnfragileRank is computed from adoption signals, documentation quality, ecosystem connectivity, match graph feedback, and freshness. No artifact can pay for a higher rank.
About
** - Integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
Categories
Alternatives to LINE Official Account
Are you the builder of LINE Official Account?
Claim this artifact to get a verified badge, access match analytics, see which intents users search for, and manage your listing.
Get the weekly brief
New tools, rising stars, and what's actually worth your time. No spam.
Data Sources
Looking for something else?
Search →