npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2026 – Pkg Stats / Ryan Hefner

@studiotoonoo/mcp-line

v1.0.2

Published

MCP server for sending messages to LINE via LINE Messaging API

Downloads

386

Readme

mcp-line

MCP Server สำหรับส่งข้อความไปยัง LINE ผ่าน LINE Messaging API

ความสามารถ (Tools)

| Tool | คำอธิบาย | |------|---------| | send_text | ส่งข้อความ text ไปยัง LINE user ที่กำหนด | | send_image | ส่งรูปภาพไปยัง LINE user ที่กำหนด | | broadcast_text | broadcast ข้อความไปยังทุกคนที่เป็น friend ของ bot | | get_bot_info | ดึงข้อมูล LINE bot เช่น ชื่อ, รูปโปรไฟล์, จำนวน follower |

ความต้องการเบื้องต้น

การติดตั้ง

Claude Desktop

เพิ่มการตั้งค่าใน claude_desktop_config.json:

macOS: ~/Library/Application Support/Claude/claude_desktop_config.json Windows: %APPDATA%\Claude\claude_desktop_config.json

{
  "mcpServers": {
    "mcp-line": {
      "command": "npx",
      "args": ["-y", "@studiotoonoo/mcp-line@latest"],
      "env": {
        "LINE_CHANNEL_ACCESS_TOKEN": "your_channel_access_token_here",
        "LINE_DEFAULT_USER_ID": "Uxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
      }
    }
  }
}

Claude Code (CLI)

claude mcp add mcp-line -- npx -y @studiotoonoo/mcp-line@latest

จากนั้นตั้งค่า environment variables:

export LINE_CHANNEL_ACCESS_TOKEN="your_channel_access_token_here"
export LINE_DEFAULT_USER_ID="Uxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"

Smithery

ติดตั้งผ่าน Smithery Marketplace แล้วกรอก token ใน config form

Environment Variables

| Variable | Required | คำอธิบาย | |----------|----------|---------| | LINE_CHANNEL_ACCESS_TOKEN | ✅ | Channel Access Token จาก LINE Developers Console | | LINE_DEFAULT_USER_ID | ❌ | LINE userId ของผู้รับ default (ขึ้นต้นด้วย U...) |

วิธีหา LINE Channel Access Token

  1. ไปที่ LINE Developers Console
  2. เลือก Provider → Channel → Messaging API
  3. เลื่อนลงไปที่ Channel access token → กด Issue

วิธีหา LINE User ID

ส่ง message ใดๆ ให้ bot ก่อน จากนั้นดู User ID ได้จาก:

  • LINE Developers Console → Messaging API → Webhook
  • หรือใช้ tool get_bot_info เพื่อดู User ID ของตัวเอง

ตัวอย่างการใช้งาน

ส่งข้อความ "สวัสดี" ไปหา LINE ของฉัน
broadcast ข้อความ "แจ้งเตือน: ระบบจะ maintenance วันพรุ่งนี้ 02:00-04:00 น."
ดึงข้อมูล LINE bot ของฉัน

License

MIT