line-bot-mcp-server  by line

MCP server for connecting AI agents to LINE Official Accounts

created 4 months ago
436 stars

Top 69.6% on sourcepulse

GitHubView on GitHub
Project Summary

This repository provides an MCP server that integrates the LINE Messaging API, enabling AI agents to connect with LINE Official Accounts. It allows for sending text and highly customizable flex messages, broadcasting messages, and retrieving user profiles, targeting developers building AI-powered LINE bots.

How It Works

The server acts as a bridge between an AI agent and the LINE platform. It exposes methods to interact with the LINE Messaging API, such as push_text_message, push_flex_message, broadcast_text_message, broadcast_flex_message, and get_profile. This approach simplifies the integration of AI logic with LINE's rich messaging capabilities, including dynamic content through flex messages.

Quick Start & Requirements

  • Installation: Clone the repository and run npm install && npm run build (Node.js) or build a Docker image.
  • Prerequisites: Node.js v20 or later. A LINE Official Account with the Messaging API enabled is required.
  • Configuration: Requires CHANNEL_ACCESS_TOKEN and optionally DESTINATION_USER_ID as environment variables or arguments.
  • Documentation: LINE Messaging API

Highlighted Details

  • Supports sending both plain text and complex, customizable Flex Messages.
  • Enables broadcasting messages to all followers of a LINE Official Account.
  • Provides functionality to retrieve detailed user profile information.
  • Offers integration options via Node.js or Docker.

Maintenance & Community

The project respects semantic versioning. Contribution guidelines are available in CONTRIBUTING.

Licensing & Compatibility

The repository does not explicitly state a license in the provided README. This may pose a restriction for commercial use or closed-source linking until clarified.

Limitations & Caveats

The repository is provided as a preview version for experimental purposes and may not include complete functionality or comprehensive support. The lack of a specified license is a significant caveat for adoption.

Health Check
Last commit

7 hours ago

Responsiveness

Inactive

Pull Requests (30d)
32
Issues (30d)
8
Star History
81 stars in the last 90 days

Explore Similar Projects

Feedback? Help us improve.