messaging
LINE Messaging MCP, CLI, and Lua Integration for AI Agents
LINE Messaging integration docs for AI agents: MCP gateway setup, LINE Messaging CLI commands, Lua API reference, credentials, and function schemas.
5 functions 3 read 2 write Bearer token auth
LINE Messaging for agents
Credentials can be configured manually in web or CLI hosts.
Use this integration from Lua code mode, the headless integrations CLI, or the KosmoKrator MCP gateway. The same package metadata powers all three surfaces.
Machine-Readable Metadata
- integration_slug
line- route_slug
line- package
line- auth_strategy
bearer_tokenBearer token- cli_setup_supported
true- cli_runtime_supported
true- mcp_gateway_supported
true- lua_supported
true- supports_multi_account
true
Quick Links
Lua APIAgent-facing namespace and function reference. LINE Messaging CLIHeadless setup and direct function calls. LINE Messaging MCPMCP gateway setup for external clients. Submit feedbackReport missing tools, auth problems, wrong docs, or runtime issues. ContributeAdd tools or improve metadata in the integrations repo.
LINE Messaging MCP Client Matrix
Use these pages when a specific agent client or framework needs copy-pasteable MCP setup for LINE Messaging.
Claude Code LINE Messaging MCP setup for Claude Code. Cursor LINE Messaging MCP setup for Cursor. Codex LINE Messaging MCP setup for Codex. OpenAI Agents LINE Messaging MCP setup for OpenAI Agents SDK. Claude Agent SDK LINE Messaging MCP setup for Claude Agent SDK. Vercel AI SDK LINE Messaging MCP setup for Vercel AI SDK. LangChain LINE Messaging MCP setup for LangChain. LangGraph LINE Messaging MCP setup for LangGraph. CrewAI LINE Messaging MCP setup for CrewAI. MCP clients LINE Messaging MCP setup for Generic MCP Clients.
LINE Messaging CLI Matrix
Use these pages for direct LINE Messaging CLI workflows in scripts, CI, cron, and agent wrappers.
CI LINE Messaging CLI for CI. Cron Jobs LINE Messaging CLI for cron jobs. Shell Scripts LINE Messaging CLI for shell scripts. Headless Automation LINE Messaging CLI for headless automation. Coding Agents LINE Messaging CLI for coding agents.
Function Catalog
| Function | Type | Parameters | Description |
|---|---|---|---|
line.line_send_message | Write write | 3 | Send a push message to a specific LINE user, group, or room. Supports text, image, video, sticker, location, flex, and other message types. |
line.line_broadcast_message | Write write | 2 | Broadcast a message to all users who have added the LINE Official Account as a friend. Supports all message types. |
line.line_get_profile | Read read | 1 | Get the profile information of a LINE user, including display name, profile image URL, status message, and language. |
line.line_list_friends | Read read | 2 | List the friends (followers) of the LINE Official Account. Returns user IDs that can be used with send_message and get_profile. |
line.line_get_current_user | Read read | 0 | Get the profile of the LINE Official Account (bot) itself, including display name, icon URL, and basic info. |