Line Bot
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
What is Line Bot?
Line Bot is a Model Context Protocol (MCP) server that allows AI assistants like Claude, Cursor, and VS Code to mcp server that integrates the line messaging api to connect an ai agent to the line official account.
MCP server that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.
This server falls under the Communication category on MCPgee, the world's largest MCP server directory with 33,000+ servers.
Features
- MCP server that integrates the LINE Messaging API to connect
Use Cases
Maintainer
Works with
Installation
NPM
npx -y @line/line-bot-mcp-serverManual Installation
npx -y @line/line-bot-mcp-serverConfiguration
Configuration Details
claude_desktop_config.json
Performance
Response Metrics
Resource Usage
How to Set Up and Use Line Bot
Line Bot MCP Server connects AI agents to LINE Official Accounts through the LINE Messaging API. Send and receive messages, manage conversations, and automate customer interactions through Claude or Cursor, with native integration to the LINE platform.
Prerequisites
- Node.js 18+ installed
- An MCP client such as Claude Desktop or Cursor
- A LINE Official Account with Messaging API enabled
- LINE Channel Access Token and Channel Secret
Install Line Bot MCP Server
Install the official LINE package.
npx -y @line/line-bot-mcp-serverGet LINE credentials
Obtain your Channel Access Token and Channel Secret from the LINE Developers console.
Set environment variables
Configure LINE credentials for the server. Check the repository README for exact variable names (typically LINE_CHANNEL_ACCESS_TOKEN and LINE_CHANNEL_SECRET).
export LINE_CHANNEL_ACCESS_TOKEN="your_token_here"
export LINE_CHANNEL_SECRET="your_secret_here"Add to client configuration
Register the server in claude_desktop_config.json.
{
"mcpServers": {
"line-bot": {
"command": "npx",
"args": ["-y", "@line/line-bot-mcp-server"]
}
}
}Restart and test
Reload your MCP client and test sending a message through your LINE bot.
Line Bot Examples
Client configuration example
LINE Bot configuration in claude_desktop_config.json.
{
"mcpServers": {
"line-bot": {
"command": "npx",
"args": ["-y", "@line/line-bot-mcp-server"]
}
}
}Prompts to try
Manage your LINE bot through Claude.
Send a message to a LINE user with a specific ID
Reply to the latest message in my LINE Official Account
Manage customer conversations through my LINE botTroubleshooting Line Bot
Bot fails to authenticate or send messages
Verify your Channel Access Token and Channel Secret are set correctly as environment variables. Check the LINE Developers console to ensure the Messaging API is enabled and your token is not expired.
Messages are not being received
Confirm your webhook URL is correctly configured in the LINE Developers console. Ensure the server is running and accessible from LINE's servers.
Frequently Asked Questions about Line Bot
What is Line Bot?
Line Bot is a Model Context Protocol (MCP) server that mcp server that integrates the line messaging api to connect an ai agent to the line official account. It connects AI assistants to external tools and data sources through a standardized interface.
How do I install Line Bot?
Install via npm with the command: npx -y @line/line-bot-mcp-server. Then add the server configuration to your AI client's JSON config file (e.g., claude_desktop_config.json or .cursor/mcp.json).
Which AI clients work with Line Bot?
Line Bot works with all major MCP-compatible AI clients including Claude Desktop, Claude Code, Cursor, VS Code (GitHub Copilot), Windsurf, and Cline.
Is Line Bot free to use?
Yes, Line Bot is open source and available under the Apache-2.0 license. You can use it freely in both personal and commercial projects.
Line Bot Alternatives — Similar Communication Servers
Looking for alternatives to Line Bot? Here are other popular communication servers you can use with Claude, Cursor, and VS Code.
Slack
★ 86.1kEnables interaction with Slack workspaces through comprehensive channel management, messaging, user management, file uploads, and Block Kit formatting. Features secure credential storage via macOS Keychain and supports all major Slack operations incl
Apple
★ 3.1kEnables interaction with Apple apps like Messages, Notes, and Contacts through the MCP protocol to send messages, search, and open app content using natural language.
Slackdump MCP Server
★ 2.6kSave or export your private and public Slack messages, threads, files, and users locally without admin privileges.
Agent Deck MCP Server
★ 2.5kTerminal session manager for AI coding agents. One TUI for Claude, Gemini, OpenCode, Codex, and more.
Vexa
★ 2.1kOpen-source meeting transcription API for Google Meet, Microsoft Teams & Zoom. Auto-join bots, real-time WebSocket transcripts, MCP server for AI agents. Self-host or use hosted SaaS.
ElevenLabs
★ 1.4kProvides comprehensive access to ElevenLabs AI audio features including text-to-speech, voice cloning, sound generation, and audio isolation. Enables users to generate high-quality speech, manage voices, transform audio, and access ElevenLabs service
Browse More Communication MCP Servers
Explore all communication servers available in the MCPgee directory. Each server includes setup guides for Claude, Cursor, and VS Code.
Set Up Line Bot in Your Editor
Choose your AI client for step-by-step setup instructions.
Quick Config Preview
Add this to your claude_desktop_config.json or .cursor/mcp.json
Ready to use Line Bot?
Browse our complete directory of 33,000+ MCP servers, read setup guides for your editor, and start building with the Model Context Protocol.