{"type":"mcp_server","name":"py-mcp-line","description":"This repository provides a Python implementation of a Model Context Protocol (MCP) server for LINE Bot messages, enabling Language Models to analyze LINE conversations through a standardized interface, using FastAPI and Pydantic.","category":"Communication","language":"Python","stars":20,"forks":0,"owner":"amornpan","github_url":"https://github.com/amornpan/py-mcp-line","homepage":null,"setup":"## Setup\n1. Clone the repository: `git clone https://github.com/amornpan/py-mcp-line.git`\n2. Change directory: `cd py-mcp-line`\n3. Install dependencies: `pip install -r requirements.txt`\n4. Create a `.env` file in the project root with the following variables:\n   ```env\n   LINE_CHANNEL_SECRET=your_channel_secret\n   LINE_ACCESS_TOKEN=your_access_token\n   SERVER_PORT=8000\n   MESSAGES_FILE=data/messages.json\n   ```\n5. Add the server to your Claude Desktop configuration by modifying the `claude_desktop_config.json` file.","tools":"## Available Tools\n\n1. Asynchronous operation using Python's `asyncio` (enables concurrent execution).\n2. Environment-based configuration using `python-dotenv` (manages environment variables).\n3. Comprehensive logging system (records server activities and errors).\n4. LINE Bot webhook event handling (processes events from the LINE Bot).\n5. Message storage in JSON format (stores LINE messages).\n6. FastAPI integration for API endpoints (provides API endpoints using FastAPI).\n7. Pydantic models for data validation (validates data using Pydantic).\n8. Support for text, sticker, and image messages (handles different types of LINE messages).\n9. Resource Listing (lists available message types from the LINE Bot).\n10. Resource Reading (reads messages of the specified type).\n","faq":null,"created_at":"2025-02-27T15:11:22+00:00","updated_at":"2025-03-27T14:03:08+00:00","source_url":"https://model-context-protocol.com/servers/python-mcp-line-bot-language-model","related_articles":[]}