Communication · AI Chatbot

Python Line Server logo

Python Line Server

amornpan/py-mcp-line

A Model Context Protocol server implementation in Python that provides access to LINE Bot messages. This server enables Language Models to read and analyze LINE conversations through a standardized interface.

Install

Client configuration

{
  "mcpServers": {
    "line": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "LINE_CHANNEL_SECRET": "<LINE_CHANNEL_SECRET>",
        "LINE_ACCESS_TOKEN": "<LINE_ACCESS_TOKEN>",
        "SERVER_PORT": "<SERVER_PORT>",
        "MESSAGES_FILE": "<MESSAGES_FILE>"
      }
    }
  }
}

Environment variables

LINE_CHANNEL_SECRETLINE_ACCESS_TOKENSERVER_PORTMESSAGES_FILE
GitHub stars
15
Author
@amornpan
Category
Communication, AI Chatbot
License
MIT
Updated
Oct 6, 2026

Features

  • Asynchronous operation using Python's asyncio

  • Environment-based configuration using python-dotenv

  • Comprehensive logging system

  • LINE Bot webhook event handling

  • Message storage in JSON format

  • FastAPI integration for API endpoints

  • Pydantic models for data validation

  • Support for text, sticker, and image messages

Details on this page are taken from the project's README. Open README

Supported clients

Clients mentioned in this server's README:

View all
Claude Desktop logo

Claude Desktop

Desktop · Freemium · Proprietary

Anthropic's official Claude AI desktop application. Supports MCP servers to extend functionality.

WindowsMacOS

Related MCP servers

More servers
Inbox Zero AI MCP logo

Inbox Zero AI MCP

elie222/inbox-zero

7.1k

To help you spend less time in your inbox, so you can focus on what matters most.

Communication
whatsapp logo

whatsapp

lharries/whatsapp-mcp

3.6k

This is a Model Context Protocol (MCP) server for WhatsApp.

Communication
Apple MCP Server logo

Apple MCP Server

Dhravya/apple-mcp

1.5k

Apple MCP toolset is a collection of Apple native tools based on the MCP protocol, providing integration services for Messages, Notes, Contacts, Mail, Reminders, Calendar and other Apple ecosystem features.

Communication
supergateway logo

supergateway

supercorp-ai/supergateway

1.1k

Supergateway runs MCP stdio-based servers over SSE (Server-Sent Events) or WebSockets (WS) with one command. This is useful for remote access, debugging, or connecting to clients when your MCP server only supports stdio.

Communication
Line Bot MCP Server logo

Line Bot MCP Server

line/line-bot-mcp-server

338

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

Communication
MCP Send Email logo

MCP Send Email

resend/mcp-send-email

325

Connect your AI agent to the Resend platform. Send and receive emails, manage contacts, broadcasts, domains, and more, directly from any MCP client like Claude, Cursor, or Claude Code.

Communication