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?

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

Configuration and credentials

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

More MCP options

Compare MCP servers by category, or browse hosted MCP servers if you prefer an endpoint over a local process.

Maintainer setup documentation.

How to install the Py MCP Line MCP Server

{
  "mcpServers": {
    "line": {
      "command": "python",
      "args": [
        "server.py"
      ],
      "env": {
        "LINE_CHANNEL_SECRET": "YOUR_LINE_CHANNEL_SECRET",
        "LINE_ACCESS_TOKEN": "YOUR_LINE_ACCESS_TOKEN",
        "SERVER_PORT": "8000",
        "MESSAGES_FILE": "data/messages.json"
      }
    }
  }
}

From the project documentation. Replace placeholders and example paths before connecting.

Configuration

  • Python 3.8+ * Required Python packages: * fastapi * pydantic * python-dotenv * mcp-server * line-bot-sdk * uvicorn
VariableDescriptionRequired
LINE_CHANNEL_SECRETDeclared in the maintainer’s client configuration.Check documentation
LINE_ACCESS_TOKENDeclared in the maintainer’s client configuration.Check documentation
SERVER_PORTDeclared in the maintainer’s client configuration.Check documentation
MESSAGES_FILEDeclared in the maintainer’s client configuration.Check documentation

Frequently asked questions

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 Confirm the tools offered by your installed version in the connected client. Tool availability and permissions depend on the server and account configuration.