LL

line/line-bot-mcp-server

Developer tools

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요. 원문 보기

794 stars 156 forks 품질 89 트렌드 42Apache-2.0

LINE 메시징 API를 통합하여 AI 에이전트를 LINE 공식 계정에 연결하는 MCP 서버입니다.

개요

모델 컨텍스트 프로토콜(MCP) 서버 구현으로, LINE 메시징 API를 통합하여 AI 에이전트를 LINE 공식 계정에 연결합니다. 이 저장소는 미리보기 버전으로 제공됩니다. 실험 목적으로 제공하지만, 완전한 기능이나 포괄적인 지원을 포함하지 않을 수 있음을 유의해 주십시오. 1. - LINE을 통해 사용자에게 간단한 텍스트 메시지를 푸시합니다. - - userId(문자열?): 메시지를 받기 위한 사용자 ID. 기본값은 DESTINATION_USER_ID입니다. userID 또는 DESTINATION_USER_ID 중 하나를 설정해야 합니다. - message.text (문자열): 사용자에게 보낼 일반 텍스트 콘텐츠입니다. 2. - LINE을 통해 사용자에게 매우 맞춤화 가능한 플렉스 메시지를 전송합니다. - - userId(문자열?): 메시지를 받을 사용자 ID. 기본값은 DESTINATION_USER_ID입니다. userID 또는 DESTINATION_USER_ID 중 하나를 설정해야 합니다. - message.altText (문자열): 플렉스 메시지를 표시할 수 없는 대체 텍스트입니다. - message.contents (任意): 플렉스 메시지의 내용.

개요(AI 번역)

일본版 README는 こちら

LINE 봇 MCP 서버

모델 컨텍스트 프로토콜(MCP) 서버 구현으로, LINE 메시징 API를 통합하여 AI 에이전트를 LINE 공식 계정에 연결합니다.

[! 참고] 이 저장소는 미리보기 버전으로 제공됩니다. 실험적 목적으로 제공하지만, 완전한 기능이나 포괄적인 지원이 포함되지 않을 수 있음을 유의해 주십시오.

도구

  1. push_text_message
  • LINE을 통해 사용자에게 간단한 문자 메시지를 전송합니다.
  • 입력:
  • userId (문자열?): 메시지를 수신하는 사용자 ID. 기본값은 DESTINATION_USER_ID. userId 또는 DESTINATION_USER_ID 중 하나를 설정해야 합니다.
  • message.text (문자열): 사용자에게 보내는 일반 텍스트 콘텐츠.
  1. push_flex_message
  • LINE을 통해 사용자에게 고도로 맞춤화 가능한 플렉스 메시지를 푸시 전송.
  • 입력:
  • userId (문자열?): 메시지를 수신하는 사용자 ID. 기본값은 DESTINATION_USER_ID. userId 또는 DESTINATION_USER_ID 중 하나를 설정해야 합니다.
  • message.altText (문자열): 플렉스 메시지를 표시할 수 없을 때 표시되는 대체 텍스트.
  • message.contents (any): 플렉스 메시지의 내용입니다. 이는 메시지의 레이아웃과 구성 요소를 정의하는 JSON 객체입니다.
  • '메시지.

이 페이지는 AI로 자동 번역되었습니다. 기술적인 세부 사항은 원문을 확인하세요.

README

원문 README의 일부입니다. 원문 보기.

日本語版 READMEはこちら

LINE Bot MCP Server

Model Context Protocol (MCP) server implementation that integrates the LINE Messaging API to connect an AI Agent to the LINE Official Account.

[!NOTE] This repository is provided as a preview version. While we offer it for experimental purposes, please be aware that it may not include complete functionality or comprehensive support.

Tools

  1. push_text_message
    • Push a simple text message to a user via LINE.
    • Inputs:
      • userId (string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. Either userId or DESTINATION_USER_ID must be set.
      • message.text (string): The plain text content to send to the user.
  2. push_flex_message
    • Push a highly customizable flex message to a user via LINE.
    • Inputs:
      • userId (string?): The user ID to receive a message. Defaults to DESTINATION_USER_ID. Either userId or DESTINATION_USER_ID must be set.
      • message.altText (string): Alternative text shown when flex message cannot be displayed.
      • message.contents (any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.
      • message.contents.type (enum): Type of the container. ‘bubble’ for single container, ‘carousel’ for multiple swipeable bubbles.
  3. broadcast_text_message
    • Broadcast a simple text message via LINE to all users who have followed your LINE Official Account.
    • Inputs:
      • message.text (string): The plain text content to send to the users.
  4. broadcast_flex_message
    • Broadcast a highly customizable flex message via LINE to all users who have added your LINE Official Account.
    • Inputs:
      • message.altText (string): Alternative text shown when flex message cannot be displayed.
      • message.contents (any): The contents of the flex message. This is a JSON object that defines the layout and components of the message.
      • message.contents.type (enum): Type of the container. ‘bubble’ for single container, ‘carousel’ for multiple swipeable bubbles.
  5. get_profile
    • Get detailed profile information of a LINE user including display name, profile picture URL, status message and language.
    • Inputs:
      • userId (string?): The ID of the user whose profile you want to retrieve. Defaults to DESTINATION_USER_ID.
  6. get_message_quota
    • Get the message quota and consumption of the LINE Official Account. This shows the monthly message limit and current usage.
    • Inputs:
      • None
  7. get_rich_menu_list
    • Get the list of rich menus associated with your LINE Official Account.
    • Inputs:
      • None
  8. delete_rich_menu
    • Delete a rich menu from your LINE Official Account.
GitHub에서 전체 README 보기

설치

npx @line/line-bot-mcp-server
MCP 초보자라면? mcpskill.org 가이드부터 시작하세요 →

설정

{ "mcpServers": { "line-bot": { "command": "npx", "args": [ "@line/line-bot-mcp-server" ], "env": { "NPM_CONFIG_IGNORE_SCRIPTS": "true", "CHANNEL_ACCESS_TOKEN" : "FILL_HERE", "DESTINATION_USER_ID" : "FILL_HERE" } } } }