Py MCP Line MCP Server

A Model Context Protocol server implementation in Python that provides access to LINE Bot messages. This server enables Language Models to read and

Local serverstdioPython

What is the Py MCP Line MCP server?

Py MCP Line MCP server is a locally run integration for AI assistants that speak the Model Context Protocol. 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.

Configuration and credentials

You will need 4 environment variables: LINE_CHANNEL_SECRET, LINE_ACCESS_TOKEN, SERVER_PORT, MESSAGES_FILE. The server will not start without them, which is usually why the tools fail to appear on a first run. Keep credentials in your client's env block or a secrets manager rather than in a file you might commit.

  • Python 3.8+ * Required Python packages: * fastapi * pydantic * python-dotenv * mcp-server * line-bot-sdk * uvicorn

Setting it up

Setup follows the usual MCP pattern — install or clone the server, register it in your client's configuration file, restart the client.

Choosing this one

This sits in the developer tooling group, where several servers overlap in what they claim to do but differ sharply once you actually set them up. It is maintained by amornpan; worth a glance at recent repository activity before you build anything load-bearing on it.

This entry was verified against Py MCP Line's own documentation before publication; SyncDev keeps the directory reviewed rather than auto-generated.

Before you rely on it

  • It runs with your machine's permissions. That is convenient and also the reason to think about what you point it at before you approve a tool call.
  • Missing credentials fail quietly in some clients — if no tools show up, check the environment block first.
  • MCP clients confirm each tool call by default. Leave that on until you have watched what the py mcp line mcp server does with a few real requests.

Configuration

  • Python 3.8+ * Required Python packages: * fastapi * pydantic * python-dotenv * mcp-server * line-bot-sdk * uvicorn
VariableDescriptionRequired
LINE_CHANNEL_SECRETCredential the server authenticates with.Yes
LINE_ACCESS_TOKENCredential the server authenticates with.Yes
SERVER_PORTConfiguration value read at startup.Optional
MESSAGES_FILEConfiguration value read at startup.Optional

Frequently asked questions

It connects Py MCP Line to MCP-compatible AI assistants such as Claude and Cursor. Instead of copying data back and forth by hand, the assistant works with Py MCP Line directly.