1. Conduid
  2. Communication
  3. Line Oa MCP Ultimate
MCP server · Communication

Line Oa MCP Ultimate

Talk to your LINE Official Account through AI. 27 tools for broadcasts, audiences, rich menus, Flex messages, coupons & insights — works with Claude Cowork, Claude Code, Cursor, and any MCP-compatible host. Zero infrastructure, free-tier ready.

69Good

Scored 22 hours ago · breakdown

About Line Oa MCP Ultimate

Line Oa MCP Ultimate is an MCP server published by wasintoh in the Communication category: talk to your LINE Official Account through AI. 27 tools for broadcasts, audiences, rich menus, Flex messages, coupons & insights — works with Claude Cowork, Claude Code, Cursor, and any MCP-compatible host. Zero infrastructure, free-tier ready. Conduid read 51 tools from its source: line_audit_user_menu, line_build_audience_from_csv, line_build_audience_from_engagement, line_build_rich_menu, line_cancel_order, line_check_token and 45 more. It is published to npm as line-oa-mcp-ultimate and starts with npx.

The repository has 102 stars and 30 forks, and its last commit was on 24 Aug 2026. Conduid has no tagged release on record for it. Its topics include claude-mcp, line, line-bot, line-messaging-api, line-oa and line-official-account.

Install

Claude Code
claude mcp add line-oa-mcp-ultimate -- npx -y line-oa-mcp-ultimate
npx
npx -y line-oa-mcp-ultimate
From source
git clone https://github.com/wasintoh/line-oa-mcp-ultimate

Tools (51)

line_audit_user_menuDiagnose "why is user X seeing menu Y?" — inspects the rich-menu priority chain: a per-user link (line_link_rich_menu) overrides the account-wide default, and LINE OA Manager-built menus silently override API-built ones. Pass user_id. Returns { user_id, visible_rich_menu_id?, source:'per_user'|'default'|'none', per_user_link?, default_id?, explanation (Thai) }.
line_build_audience_from_csvCreate a LINE audience by uploading user IDs (or IFAs) — the "CSV from Google Sheets → retargeting audience" flow most Thai SMBs need. LINE indexes for ~5-10 min after creation (line_list_audiences shows IN_PROGRESS then READY). user_ids max 10,000/call; is_ifa true for IFA values instead of LINE user IDs. Region-gated to JP/TW/TH OAs (+premium). Returns { audience_group_id, name, type, created_unix_ms }. Example: "สร้าง audience ลูกค้าเดือนก่อน" → { name:"buyers_last_month", user_ids:[...] }.
line_build_audience_from_engagementCreate a LINE audience from people who clicked or opened a previous broadcast/narrowcast — retarget without a CRM. source_request_id is the request_id returned by a prior line_send_message; type 'clicks' (default, optional click_url filter) or 'opens'. The source message must be ≥24h old before the audience is reliable, needs ~50+ users to be usable in narrowcast, and is region-gated to JP/TW/TH (+premium). Feed the resulting audience back into line_send_message target.audience. Returns { audience_group_id, name, type }.
line_build_rich_menuCreate a LINE Rich Menu from an already-hosted image in one call: validate → create → upload image → set as default. Collapses 4 LINE API calls into one, incl. the api-data.line.me domain switch for image upload (the #1 cause of failed implementations). Single-panel menus only. To RENDER the image from labels instead of hosting your own, use line_design_rich_menu_image. image_url must be public HTTPS JPEG/PNG, width 800–2500px, aspect ≥1.45, ≤1MB (validated client-side before upload). areas are tappable regions with postback/message/uri/richmenuswitch actions and must fit inside the image bounds. size 'large' (2500x1686, default) or 'compact' (2500x843). set_as_default default true. Max 1,000 rich menus per OA. Returns { rich_menu_id, name, set_as_default, warnings[] }.
line_cancel_orderCancel an order. PUT /myshop/v1/orders/{orderNo}/cancel. IRREVERSIBLE — requires confirm=true. Example: - "ยกเลิกออเดอร์ 100023" → { order_no: "100023", confirm: true }
line_check_tokenVerify the active OA's channel access token (GET /oauth2/v2.1/verify) — reports bound client_id, remaining lifetime, and granted scope; warns (Thai) when <7 days remain. Run before a campaign: a token expiring mid-send fails silently. An invalid/expired token surfaces a 401 error (no { valid:false } shape). Returns { valid, client_id, expires_in_seconds, expires_in_days, scope?, warning? }.
line_create_checkout_linkGenerate a checkout (payment) link for a set of items. POST /myshop/v1/checkout-link. Paste the returned link into the customer's chat to close the sale — no external OMS needed. Each item maps to MyShop's CheckoutLinkItem (e.g. variantId + quantity); extra keys pass through. Example: - "ลูกค้าอยากได้ variant V9 จำนวน 2 ชิ้น สร้างลิงก์จ่ายเงิน" → { items: [{ variant_id: "V9", quantity: 2 }] }
line_create_productCreate a product in LINE Shopping (MyShop). POST /myshop/v1/products. Simple: name + price (+ on_hand, sku, weight) → one default variant. Multi-variant: pass variants[] = [{ price, weight?, sku?, on_hand_number? }]. image_urls[] must be public HTTPS JPEG/PNG (no upload API — host first). New products are created HIDDEN (isDisplay=false) — publish with line_set_product_visibility. Example: "เพิ่มเสื้อยืด 299 สต็อก 50" → { name:"เสื้อยืด", price:299, on_hand:50 }.
line_delete_audienceDelete an audience group. Irreversible — requires confirm=true. audience_group_id (numeric) from line_list_audiences. Returns { success, deleted_id }.
line_delete_productPermanently delete a product. DELETE /myshop/v1/products/{id}. IRREVERSIBLE — requires confirm=true. To merely take a product off sale without deleting it, use line_set_product_visibility (status="hide") instead. Example: - "ลบสินค้า P123" → { id: "P123", confirm: true }
line_delete_rich_menuDelete a rich menu by ID. Requires confirm=true (guards against prompt drift). If the menu is linked to specific users those links break silently — consider line_audit_user_menu first. Returns { success, deleted_id }.
line_design_cardBuild a validated LINE Template message (LINE OA Manager calls it a "Card Message") and return it as JSON to hand to line_send_message via message.message_json. DESIGN ONLY — never calls the LINE API. `kind` (required) picks the subtype and enforces LINE limits: - buttons → title?, text, thumbnail_image_url?, actions (1..${TEMPLATE_BUTTONS_MAX_ACTIONS} buttons; text ≤60 chars with title/thumb, else ≤160) - confirm → text + exactly ${TEMPLATE_CONFIRM_ACTIONS} buttons (e.g. ตกลง / ยกเลิก) - carousel → columns (≤${TEMPLATE_CAROUSEL_MAX_COLUMNS}, each ≤${TEMPLATE_CAROUSEL_MAX_ACTIONS_PER_COLUMN} buttons); EVERY column must have the SAME number of buttons (LINE rule) - image_carousel → columns of { image_url (HTTPS), action } (≤${TEMPLATE_IMAGE_CAROUSEL_MAX_COLUMNS}) Actions: uri | message | postback; label ≤20 chars. alt_text (1..400) required. Returns { message, usage_hint }. Example: "การ์ดยืนยันการจอง ตกลง/ยกเลิก" → { kind:"confirm", alt_text:"ยืนยันการจอง", text:"ยืนยันคิว 14:00 ไหม?", actions:[{type:"postback",label:"ตกลง",data:"confirm=1"},{type:"message",label:"ยกเลิก",text:"ยกเลิก"}] }.
line_design_flexCompose a validated Flex Message for line_send_message. Modes: template mode { template, data } (Thai-localized, recommended; templates: ${FLEX_TEMPLATE_NAMES.join(", ")}); raw mode { flex_json, alt_text } (advanced); or { list_templates: true } to get the catalog with Thai descriptions + required fields per template. DESIGN ONLY — never calls the LINE API. Feed the result to line_send_message via message.flex_json, or pass { template, data } straight to line_send_message (same templates). Returns { flex_json, alt_text, preview_url (Flex Simulator), size_bytes, warnings[] } (warns near the 30KB bubble limit). Example: "ออกแบบคูปอง 20% หมด 31 ส.ค." → { template:"voucher", data:{ title:"ส่วนลดวันแม่", code:"MOM20", discount:"ส่วนลด 20%", valid_until:"31 ส.ค. 2026" } }.
line_design_imagemapBuild a validated Imagemap message (LINE OA Manager calls it a "Rich Message") and return it as JSON to hand to line_send_message via message.message_json. DESIGN ONLY — never calls the LINE API. Image hosting — two paths: (1) RECOMMENDED: run line_prepare_image first and pass its prepared_key here (hosting + the 5 size variants + verification all handled; base_height auto-derived). (2) Self-hosted: pass base_url of a public HTTPS host serving `${base_url}/1040`, `/700`, `/460`, `/300`, `/240` (LINE has NO upload API) plus base_height. Canvas width is always forced to ${IMAGEMAP_BASE_WIDTH}; all area coordinates are px on that ${IMAGEMAP_BASE_WIDTH}-wide canvas and must fit inside ${IMAGEMAP_BASE_WIDTH} × base_height. Optional video area supported. Returns { message, usage_hint }. Example (prepared): "ส่งรูปนี้เป็น Rich Message ครึ่งบน-ครึ่งล่าง" → line_prepare_image first, then { prepared_key:"ab12…", alt_text:"โปรเดือนนี้", areas:[{bounds:{x:0,y:0,width:1040,height:520},action:{type:"uri",uri:"https://shop.example.com/a"}},{bounds:{x:0,y:520,width:1040,height:520},action:{type:"uri",uri:"https://shop.example.com/b"}}] }. Example (self-hosted): same but { base_url:"https://cdn.example.com/promo", base_height:1040 } instead of prepared_key.
line_design_rich_menu_imageDesign a professional LINE rich menu PNG from labels alone — pure-JS renderer with Thai typography (LINE Seed / Prompt / Noto), then optionally deploy to LINE in the same call. No design tool or headless browser. ALWAYS preview first: mode="preview" (default) returns the PNG as an image block — LOOK at it, iterate with the user, then call again mode="deploy". mode="save" writes the PNG to disk. Templates (cells filled in reading order; tap areas auto-derived from the same geometry, pixel-perfect): ${templateList} cells[] length MUST equal the template's cell count; per-cell action is required only for deploy. brand auto-corrects label contrast for readability. deploy needs deploy:{ name, set_default?, alias? } and auto-deletes the orphaned menu on any post-create failure; LINE caps the PNG at <1MB (gradients auto-flatten to solid once). Returns preview → PNG image block + { width, height, bytes, template, font_used, warnings[] }; deploy → { rich_menu_id, areas_count, set_default, alias? }. Example: "ทำเมนูร้านกาแฟ 6 ปุ่ม สีเขียว" → { template:"grid_6", brand:{primary:"#06C755"}, cells:[{label:"สั่งเลย", icon_emoji:"☕", action:{type:"uri", uri:"https://shop.line.me/@cafe"}}, ...5 more] }.
line_estimate_send_costEstimate how many quota messages a planned send will consume, without sending. Useful before confirmation, especially for narrowcast/broadcast. target uses the same shapes as line_send_message; message_count (1-5, default 1) — LINE charges message_count × recipients. Recipients are exact for user_id(s), looked up for a numeric audience, and unknown for filter/everyone (recommends a line_send_message dry_run instead). Returns { estimated_recipients?, estimated_cost_messages?, quota, cost_share_percent?, notes[] }.
line_find_stickerFind LINE stickers from a curated catalog by mood or keyword (Thai or English). Bots may only send stickers from LINE's limited official list, so this picks by intent ("celebration", "ขอบคุณ", "sorry") instead of guessing IDs. Pass the chosen package_id + sticker_id to line_send_message via message.sticker. Returns { query, count, stickers:[{ package_id, sticker_id, moods, keywords_th, keywords_en, description }] }.
line_fulfill_orderMove an order through fulfillment. One tool, four modes: - ship: mark as shipped (optional tracking_number). Auto-sends a LINE message to the buyer. - paid: mark COD order as paid (call after ship → order becomes COMPLETED). - update_tracking: update the tracking number after shipping (tracking_number required). - parcel_label: get/print the parcel label. Examples: - "ส่งของออเดอร์ 100023 เลขพัสดุ TH123" → { mode: "ship", order_no: "100023", tracking_number: "TH123" } - "ออกใบปะหน้าออเดอร์ 100023" → { mode: "parcel_label", order_no: "100023" }
line_get_coupon_statsRead available stats for a LINE coupon. LINE has no dedicated redemption endpoint, so this combines signals: raw coupon detail (some accounts include usage inline) plus, if you pass click_audience_id, the click-audience size as a clickthrough proxy. coupon_id comes from line_manage_coupon. Caveat (surfaced in notes): click-audience size approximates clickthroughs, NOT actual redemptions — for real counts build the coupon Flex with a postback action and listen via webhook. Returns { coupon_id, raw, click_audience?, estimated_redemptions?, notes[] }.
line_get_message_statsFetch per-broadcast engagement for a request_id (from a prior line_send_message): impressions, opens, clicks, CTR, and per-URL click breakdown. Caveats (in notes): ~24h data lag (stats stabilize ~T+1); below ~20 unique users LINE returns null for privacy; available only for narrowcast/multicast/broadcast, not reply or push-to-single-user. Returns { request_id, delivered?, unique_impression?, unique_click?, ctr_percent?, per_url_clicks[], notes[] }.
line_get_narrowcast_progressPoll the delivery progress of an async narrowcast (GET /v2/bot/message/progress/narrowcast). Narrowcast runs in the background — the send returns a request_id and this reports how far it got. Pass that request_id. Returns { request_id, phase (waiting|sending|succeeded|failed), status_text, success_count?, failure_count?, target_count?, error_code?, accepted_time?, completed_time? }.
line_get_oa_reportDigest of LINE OA performance over a date range — bundles 8+ Insight API calls into one Thai-friendly markdown report. range: a preset ('today'|'yesterday'|'this-week'|'last-week'|'this-month'|'last-month', default 'last-week') or { from, to } as YYYY-MM-DD. LINE insight data lags T-2 (yesterday is the latest reliable date) and is masked below the ~20-user privacy floor; demographics populate only with enough consented friends (report surfaces these in notes). Returns { oa_id, range, delivery{total,daily[]}, followers, demographic_available, quota, notes[] }.
line_get_oa_statusQuick health check of a LINE OA — friend count, monthly quota usage, webhook status, and current default rich menu, aggregating 4 LINE API calls into one card. Good as the first call of a session: current quota and webhook state inform every later decision (send, schedule, switch OA). Returns { oa, friends?, quota, webhook, default_rich_menu?, region?, health:'OK'|'WARNING'|'ERROR', warnings[] }.
line_get_orderFetch full detail of one order (customer, items, amounts, statuses). GET /myshop/v1/orders/{orderNo}. Example: - "ดูรายละเอียดออเดอร์ 100023" → { order_no: "100023" }
line_get_settlementGet the settlement (income + fees, net payout) for an order. GET /myshop/v1/settlements/{orderNo}. Returns orderIncomeDetail + settlementDetail. Example: - "ออเดอร์ 100023 ได้เงินจริงเท่าไหร่หลังหักค่าธรรมเนียม" → { order_no: "100023" }
line_get_user_profileFetch a LINE user's profile (display name, picture, status message, language) by user_id. Only works if the user has added the bot, has not blocked it, and consented to share profile — any failure returns an ambiguous 404, surfaced as a clear Thai explanation. Returns { user_id, display_name, picture_url?, status_message?, language? }.
line_image_host_statusReport the Image Hosting Layer's current state: which provider line_prepare_image would use (self / local-tunnel / handoff), whether a cloudflared tunnel is live (URL + expiry), how the cloudflared binary would be obtained, and in-memory store usage. READ-ONLY — never starts a tunnel or downloads anything. Use when line_prepare_image fell back to handoff, a verify failed, or the user asks "why can't it host automatically?". Returns { providers, tunnel, store }.
line_link_rich_menuAttach (mode='link') or detach (mode='unlink') a rich menu for specific LINE users. A per-user menu overrides the account-wide default — this is how you show different menus to different segments (e.g. paying vs. free). Unlinking falls the user back to the account default. Pass user_id (single) or user_ids[] (bulk, auto-chunked at 500/batch). rich_menu_id required for link. To set the account-wide default instead, use line_set_default_rich_menu. Returns { mode, linked_count?/unlinked_count?, rich_menu_id?, chunks? }. Example: "ผูก rich menu R123 ให้สมาชิก 800 คน" → { mode:"link", rich_menu_id:"R123", user_ids:[...800 ids] }.
line_list_audiencesList audience groups on the OA — including ones created in LINE OA Manager UI (chat-tag, friend-path, web-traffic) that CANNOT be created via Messaging API. status: READY (usable in narrowcast now) | IN_PROGRESS (indexing, wait ~10 min) | FAILED | EXPIRED (both need recreate). Filter with status_filter (default 'all') and name_contains (case-insensitive); paginate with limit/page (default 20). Returns { total, count, page, audiences:[{ audience_group_id, name, status, audience_count?, created, type? }], has_more }.
line_list_followersPage through every user that has added the OA as a friend. Region-gated: only TH/JP/TW OAs on premium tier — others get LINE 403. page_size 1-1000 (default 300); continuation_token for cursor pagination. For very large OAs (50k+), prefer an engagement audience via line_build_audience_from_engagement over pulling all IDs. Returns { user_ids[], count, has_more, next_continuation_token? }.
line_list_oasList all LINE Official Accounts available to this MCP instance (from the multi-OA config file, or single-OA env mode). Call before line_use_oa to discover OA IDs. Returns { active_oa, oas:[{ id, display_name?, region?, is_premium?, is_active }] }.
line_list_ordersList/search orders in LINE Shopping (MyShop). GET /myshop/v1/orders. No order webhook in this server (by design) — to detect new orders, poll on a schedule with a status/time filter, e.g. { payment_status:["PAID"], start_at:"<last run ISO>" }. Filters: search, order_status[], payment_status[], payment_method, shipment_status, start_at/end_at (ISO), sort_by, order_by, pagination. Example: "ออเดอร์ที่จ่ายแล้ววันนี้" → { payment_status:["PAID"], start_at:"2026-06-03T00:00:00+07:00" }.
line_list_productsList products in your LINE Shopping (MyShop) store. GET /myshop/v1/products. - Paginated (page, per_page 1..${MYSHOP_MAX_PER_PAGE}). Optionally filter by ids[] or skus[]. - Returns id, name, and the full product payload in structuredContent. Examples: - "ดูสินค้าทั้งหมด" → {} - "สินค้าหน้า 2 หน้าละ 50" → { page: 2, per_page: 50 }
line_list_rich_menusList all rich menus on an OA and identify the account-wide default. OAs hold up to 1,000 rich menus — run this before line_build_rich_menu to avoid the cap, and line_delete_rich_menu to clean up. Returns { total, default_id?, rich_menus:[{ rich_menu_id, name, chat_bar_text?, size?, is_default, is_selected }] }.
line_manage_couponCoupon CRUD on a LINE OA (POST /v2/bot/coupon). modes: create (maps friendly inputs to LINE's schema — dates to UNIX seconds, visibility, etc.), list, get (by coupon_id), discontinue (ends a live coupon; irreversible — requires confirm=true). Deliver a created coupon via line_send_message message.coupon_id. Rate limit: shared 200 req/sec bucket with multicast. create data: title (≤60, required); discount_type 'percentage'(default)|'fixed'|'explicit' with discount_value (or price_before/price_after for explicit); valid_from/valid_to accept UNIX seconds | 'YYYY-MM-DD' | ISO; visibility PUBLIC|UNLISTED (default UNLISTED); acquisition_type normal|lottery. Example: "Early Bird ลด 20% 1–8 มิ.ย." → { mode:"create", data:{ title:"Early Bird", discount_type:"percentage", discount_value:20, valid_from:"2026-06-01", valid_to:"2026-06-08", coupon_code:"EARLYBIRD" } }. "ปิด coupon C123" → { mode:"discontinue", coupon_id:"C123", confirm:true }.
line_manage_inventoryAdjust stock for a product variant. PUT /myshop/v1/inventory/{id}/{adjust|increase|decrease}. - set: overwrite to an absolute number (adjust) - increase: add to current stock - decrease: subtract from current stock amount must be 1..${MYSHOP_INVENTORY_MAX.toLocaleString()}. Examples: - "ตั้งสต็อก V9 เป็น 100" → { id: "V9", mode: "set", amount: 100 } - "เติมสต็อก V9 อีก 50" → { id: "V9", mode: "increase", amount: 50 }
line_manage_liff_appLIFF app lifecycle CRUD. modes: create (needs config.view {type,url}), list, update (liff_id + partial config), delete (liff_id + confirm=true). Auth note: LIFF Server API uses LINE Login channel tokens; this uses the same Messaging API token — for separate-channel setups see docs. Example: "สร้าง LIFF tall https://my.app" → { mode:"create", config:{ view:{ type:"tall", url:"https://my.app" } } }.
line_manage_product_variantCreate/update a product variant, or delete a variant option. - create: { product_id, price, sku?, weight?, on_hand_number? } - update: { product_id, variant_id, ...fields to change (price/sku/weight/barcode/image_url/on_hand_number) } - delete_option: { product_id, option_name, option_value } (e.g. remove size "XL") Examples: - "เพิ่มไซส์ XL ให้สินค้า P123 ราคา 390" → { mode: "create", product_id: "P123", price: 390, sku: "XL" } - "แก้ราคา variant V9 เป็น 350" → { mode: "update", product_id: "P123", variant_id: "V9", price: 350 }
line_manage_rich_menu_aliasRich menu alias CRUD. Aliases power tab-switching rich menus: a 'richmenuswitch' action references a richMenuAliasId, and repointing that alias at a different rich menu swaps the displayed panel instantly — no per-user re-linking. modes: create (bind alias_id→rich_menu_id), update (repoint), delete (removes alias, not the underlying menu), get, list. alias_id required except for list; rich_menu_id required for create/update. Returns create/update/delete → { mode, alias_id, rich_menu_id? }; get → { richMenuAliasId, richMenuId }; list → { aliases[] }. Example: "เปลี่ยน alias tab-a ไปที่ R456" → { mode:"update", alias_id:"tab-a", rich_menu_id:"R456" }.
line_prepare_imageMake any image sendable to LINE with ZERO hosting knowledge: resizes to the imagemap widths (1040/700/460/300/240), hosts them via the best available provider, HEAD-verifies every size, and returns a `prepared_key` that line_design_imagemap / line_send_message accept directly. Provider chain (auto-selected, user never configures): self (HTTP deployments with MCP_PUBLIC_URL) → local-tunnel (default for stdio installs; free cloudflared quick tunnel, outbound-only so it works behind NAT) → handoff (a zip + Thai step-by-step manual instructions — nobody dead-ends). Why this exists: LINE has no upload API for message images; they must sit on public HTTPS. IMPORTANT (live-verified 2026-07-31): LINE fetches the image when each recipient FIRST VIEWS the message — NOT at send time. Keep this MCP process (and the machine) running until most recipients have opened the message; once viewed, LINE's cache serves the image permanently (survives host shutdown and even device restarts). Default keep-alive: 24h. Returns { prepared_key, provider, base_url?, image_url?, preview_image_url?, verified, expires_at?, handoff?, warnings }. NEVER claims false success: every returned URL was verified reachable; if verification fails (e.g. the network blocks the tunnel), the tool automatically tears the tunnel down and returns the handoff package instead. Example: "ส่งรูปนี้เป็น Rich Message" → 1) line_prepare_image { image: { file_path: "/Users/me/promo.png" } } → 2) line_design_imagemap { prepared_key, alt_text, areas } → 3) line_send_message { message: { message_json } }.
line_run_on_many_oasAgency feature — run any read-only line_* tool across many OAs in parallel; per-OA errors are isolated (one bad token doesn't break the run). tool must be one of the supported read-only tools below; oa_ids an array or 'all' (default); parallel concurrency 1-10 (default 5). Supported tools: ${SUPPORTED_TOOLS.map((t) =>
line_send_messageUniversal LINE sender. Auto-picks the API (reply/push/multicast/narrowcast/broadcast) from the `target` shape; `message` shape selects text/template/flex/sticker/coupon/image/video. Feed pre-built objects from line_design_imagemap/line_design_card/line_design_flex via message.message_json; native coupons from line_manage_coupon via message.coupon_id; images hosted by line_prepare_image via message.image.prepared_key (no URLs needed). mode: send_now (default) sends immediately; draft returns a LINE OA Manager handoff package (URL + Flex JSON + steps) — use when the user wants to SCHEDULE, since the Messaging API can't schedule but the OA Manager UI can; dry_run validates + estimates cost without sending. Safety: pre-flight /validate before spending quota; Quota Guardian blocks if projected cost >95% of remaining quota unless confirm=true; broadcast { everyone:true } requires confirm=true; quiet-hours 22:00–08:00 BKK warns unless force=true; quiet_push silences the recipient device; reply tokens expire ~1 min (falls back to a push hint). Returns send_now → { success, transport, request_id?, recipient_count_estimated, quota, warnings[] }; draft and dry_run return their own shapes. Narrowcast needs ~24h before line_get_message_stats shows engagement. Example: "ส่งโปรให้ผู้หญิง 25-44 กรุงเทพ" → target.filter { genders:["female"], ages:["age_25","age_30"], areas:["bangkok"] }.
line_set_default_rich_menuSet or clear the OA's default rich menu — shown to every follower without a per-user menu linked (per-user links via line_link_rich_menu override it). mode 'set' (needs rich_menu_id) or 'clear'. Returns { mode, rich_menu_id? }.
line_set_product_visibilityPublish (onsale) or unpublish (hide) a product without deleting it. POST /myshop/v1/products/{id}/display-status/{status}. New products start hidden, so call this with status="onsale" to put them on sale. Examples: - "เปิดขายสินค้า P123" → { id: "P123", status: "onsale" } - "ซ่อนสินค้าที่หมด P456" → { id: "P456", status: "hide" }
line_set_webhook_endpointRead or write the LINE OA's webhook URL (PUT/GET /v2/bot/channel/webhook/endpoint). mode 'set' (needs endpoint: public HTTPS, ≤500 chars) or 'get'. Complements line_test_webhook — set here, then ping with line_test_webhook. Returns { endpoint, active } (re-read after a 'set' to confirm).
line_test_webhookPing the OA's webhook URL from LINE servers and report HTTP status + latency; LINE checks it returns 200 within timeout and that signature verification works. Use this FIRST whenever a bot stops responding, before debugging anything else. Pass override_endpoint to test a URL other than the configured one. reason surfaces LINE's result: INVALID_REPLY | UNAUTHORIZED (bad channel_secret signature) | SERVER_ERROR (5xx) | TIMEOUT (>10s) | SSL_ERROR. Returns { success, status_code, latency_ms?, reason, configured_endpoint?, tested_endpoint }.
line_update_audienceMutate an existing LINE audience group. modes: add_users (append user_ids) | rename (set description). audience_group_id from line_list_audiences. Only Messaging-API-created (upload) audiences accept mutation — audiences built in LINE OA Manager UI (chat-tag, friend-path, web-traffic) are read-only and LINE will reject changes. Returns add_users → { mode, audience_group_id, added_count }; rename → { mode, audience_group_id, new_description }. Example: "เพิ่ม 3 คนเข้า audience 12345" → { mode:"add_users", audience_group_id:12345, user_ids:["U1","U2","U3"] }.
line_update_productUpdate a product's detail fields. PATCH /myshop/v1/products/{id}. Only provided fields are changed. For price use line_update_product_price; for stock use line_manage_inventory; for show/hide use line_set_product_visibility. Example: - "เปลี่ยนชื่อสินค้า P123 เป็น เสื้อยืดพรีเมียม" → { id: "P123", name: "เสื้อยืดพรีเมียม" }
line_update_product_priceUpdate a product's price (and optional instant discount). PATCH /myshop/v1/products/{id}/prices. NOTE: LINE blocks price edits while a promotion is active on the product. Examples: - "ตั้งราคาสินค้า P123 เป็น 350" → { id: "P123", price: 350 } - "ลดสินค้า P123 เหลือจ่ายจริง 299 (ลด 51)" → { id: "P123", price: 350, instant_discount: 51 }
line_upload_rich_menu_imageReplace the image on an EXISTING rich menu without recreating it — richMenuId, tappable areas, and per-user links are preserved. Downloads from a public HTTPS URL, validates JPEG/PNG ≤1MB, then uploads to the api-data.line.me content endpoint (the domain switch that trips up most implementations). Private/internal addresses are blocked by an SSRF guard. Returns { rich_menu_id, uploaded, bytes }. Example: "เปลี่ยนรูป rich menu R123" → { rich_menu_id:"R123", image_url:"https://.../banner.png" }.
line_use_oaSwitch which OA all subsequent tool calls default to (until changed or process restart). In-memory only — does not edit config.json. oa_id from line_list_oas. Returns { active_oa, display_name }.

Security checks

6 checks have not been run yet.

Questions

About Line Oa MCP Ultimate

How do I install Line Oa MCP Ultimate?

In Claude Code, run claude mcp add line-oa-mcp-ultimate -- npx -y line-oa-mcp-ultimate. Other MCP clients take the command after "--" in their server configuration.

Is Line Oa MCP Ultimate safe to use with an AI agent?

Its trust score is 69 out of 100 (good). Conduid hasn't run static security checks on this repository yet, so review the source yourself before granting it credentials. It has no ConduID identity yet, so agent calls to it are not receipted.

Is Line Oa MCP Ultimate still maintained?

Yes — the last commit was 3 months ago. The repository has 102 stars and 30 forks.

What tools does Line Oa MCP Ultimate provide?

Conduid read 51 tools from the source: line_audit_user_menu, line_build_audience_from_csv, line_build_audience_from_engagement, line_build_rich_menu, line_cancel_order, line_check_token, line_create_checkout_link, line_create_product and 43 more.