ต้นแบบ · รุ่นทดลอง: มีทุก server ในทะเบียนทางการ อัปเดตทุก 30 นาที รีวิวและบัญชีผู้ใช้จะมาในขั้นถัดไป
PopNx MCPที่รวม MCP สำหรับคนใช้ AI · อธิบายเป็นภาษาคน

Plex MCP

โดย dustinhansenรุ่น 0.9.1i★ –iรันบนเครื่อง
ชื่อใน registryio.github.dustinhansen/plex-mcp

ติดตั้ง

ภาพรวม

คำอธิบายจากผู้ทำ (ภาษาอังกฤษตามต้นฉบับ)

Full-library Plex access for AI agents: watched state, all-user watch history, safe curation writes.

สามเสาของ PopNx MCP

สามเรื่องนี้ไม่รวมเป็นคะแนนเดียว เพราะความเห็น การวัด และความนิยม เป็นคนละเรื่องกัน

ใช้ทำอะไรได้

ตัวนี้ยังไม่ได้เรียบเรียงเป็นภาษาไทย ด้านล่างคือข้อเท็จจริงที่เราอ่านจาก registry

  • การเชื่อมต่อ: รันบนเครื่อง
  • ช่องทาง (transport): stdio, Streamable HTTP
  • หมวด: อื่น ๆ
  • ต้องใส่ค่าเหล่านี้: PLEX_URL, PLEX_TOKEN, TAUTULLI_API_KEY

ติดตั้ง

เลือกโปรแกรม AI ที่คุณใช้ แล้วคัดลอกค่าตั้งไปวาง

ก่อนติดตั้ง

  • ผลตรวจเบื้องต้น: ผ่าน 1 จาก 1 ข้อ
  • รันในเครื่องคุณด้วยสิทธิ์ของผู้ใช้คุณ (ไฟล์ อินเทอร์เน็ต แอปต่าง ๆ)
  • ค่าที่คุณต้องใส่เอง: PLEX_URL, PLEX_TOKEN, PLEX_ALLOW_PLAYBACK, PLEX_READ_ONLY, TAUTULLI_URL, TAUTULLI_API_KEY

ค่าที่ติดป้ายความลับคือกุญแจของบัญชีคุณ อย่าส่งให้ใคร และอย่าวางในแชต

ต้องเตรียมก่อน

  • npmติดตั้ง Node.js (มีคำสั่ง npx) ในเครื่อง

คุณใช้แอปไหน

เลือกแอปด้านบน เราจำไว้ให้ ครั้งหน้าปุ่มจะขึ้นว่า “ติดตั้งลง …”

เปิด Claude Desktop → Settings → Developer → Edit Config แล้ววางค่านี้ในไฟล์ claude_desktop_config.json

{
  "mcpServers": {
    "plex": {
      "command": "npx",
      "args": [
        "-y",
        "@dustinhansen/plex-mcp"
      ],
      "env": {
        "PLEX_URL": "ใส่ค่าของคุณ",
        "PLEX_TOKEN": "ใส่ค่าของคุณ",
        "PLEX_ALLOW_PLAYBACK": "ใส่ค่าของคุณ",
        "PLEX_READ_ONLY": "ใส่ค่าของคุณ",
        "TAUTULLI_URL": "ใส่ค่าของคุณ",
        "TAUTULLI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

พิมพ์คำสั่งนี้ใน Terminal

claude mcp add plex --env PLEX_URL='ใส่ค่าของคุณ' --env PLEX_TOKEN='ใส่ค่าของคุณ' --env PLEX_ALLOW_PLAYBACK='ใส่ค่าของคุณ' --env PLEX_READ_ONLY='ใส่ค่าของคุณ' --env TAUTULLI_URL='ใส่ค่าของคุณ' --env TAUTULLI_API_KEY='ใส่ค่าของคุณ' -- npx -y @dustinhansen/plex-mcp

เติมค่าที่เว้นว่างไว้ก่อนรัน

เปิดใน Cursor

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .cursor/mcp.json ของโปรเจกต์ หรือ ~/.cursor/mcp.json

{
  "mcpServers": {
    "plex": {
      "command": "npx",
      "args": [
        "-y",
        "@dustinhansen/plex-mcp"
      ],
      "env": {
        "PLEX_URL": "ใส่ค่าของคุณ",
        "PLEX_TOKEN": "ใส่ค่าของคุณ",
        "PLEX_ALLOW_PLAYBACK": "ใส่ค่าของคุณ",
        "PLEX_READ_ONLY": "ใส่ค่าของคุณ",
        "TAUTULLI_URL": "ใส่ค่าของคุณ",
        "TAUTULLI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

เปิดใน VS Code

หรือคัดลอกค่าตั้งเอง

วางในไฟล์ .vscode/mcp.json ของโปรเจกต์

{
  "servers": {
    "plex": {
      "type": "stdio",
      "command": "npx",
      "args": [
        "-y",
        "@dustinhansen/plex-mcp"
      ],
      "env": {
        "PLEX_URL": "ใส่ค่าของคุณ",
        "PLEX_TOKEN": "ใส่ค่าของคุณ",
        "PLEX_ALLOW_PLAYBACK": "ใส่ค่าของคุณ",
        "PLEX_READ_ONLY": "ใส่ค่าของคุณ",
        "TAUTULLI_URL": "ใส่ค่าของคุณ",
        "TAUTULLI_API_KEY": "ใส่ค่าของคุณ"
      }
    }
  }
}

เบราว์เซอร์จะถามก่อนเปิดแอป จากนั้นแอปแสดงค่าตั้งให้ตรวจแล้วกดยืนยัน ช่อง key เว้นว่างไว้ให้คุณใส่เอง

ตัวนี้รันในเครื่องคุณ แต่ ChatGPT ต่อได้เฉพาะ server บนอินเทอร์เน็ต ลองเลือกแอปอื่น

ตัวเลือกเก็บในคุกกี้บนเครื่องนี้ ไม่ต้องมีบัญชี

ค่าที่ต้องใส่เอง

  • PLEX_URL จำเป็น env
    Plex server base URL, e.g. http:// :32400
  • PLEX_TOKEN ความลับ จำเป็น env
    Owner/admin X-Plex-Token (run `npx @dustinhansen/plex-mcp login`)
  • PLEX_ALLOW_PLAYBACK env
    Set to 1 to enable play-to-client tools
  • PLEX_READ_ONLY env
    Set to 1 to register no write or playback tools
  • TAUTULLI_URL env
    Optional Tautulli base URL
  • TAUTULLI_API_KEY ความลับ env
    Optional Tautulli API key

ค่าตั้งนี้สร้างจากข้อมูลใน registry ของผู้ทำ ถ้าไม่ตรงกับ README ให้เชื่อ README

ทำอะไรได้บ้าง

รันในเครื่องคุณ รายการเครื่องมือจะขึ้นในแอป AI หลังติดตั้ง

ผลตรวจเบื้องต้นi

เราตรวจจากข้อมูลที่ใครก็เปิดดูได้ ยังไม่ได้อ่านโค้ด ข้อที่ไม่เกี่ยวกับตัวนี้ไม่นับในตัวหาร · ตรวจเมื่อ 7 พ.ย. 2569

  • ✓ ผ่าน

    ตัวตนผู้ทำตรงกับ repo

    ชื่อใน registry ยืนยันด้วยบัญชี GitHub dustinhansen ซึ่งเป็นเจ้าของ repo

  • … ยังไม่ตรวจ

    ยังมีคนดูแล

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • … ยังไม่ตรวจ

    มีสัญญาอนุญาต (license)

    ยังไม่ได้อ่านข้อมูล repo จาก GitHub

  • – ไม่เกี่ยว

    endpoint ตอบ

    ตัวนี้รันบนเครื่องคุณ ไม่มี endpoint บนอินเทอร์เน็ต

  • – ไม่เกี่ยว

    ล็อกอินแบบ OAuth

    ตัวนี้รันบนเครื่อง ใช้ค่าที่ตั้งในเครื่องแทน

  • … ยังไม่ตรวจ

    คำอธิบายเครื่องมือไม่มีคำสั่งแอบแฝง

    รันในเครื่องคุณ เราอ่านรายการเครื่องมือได้เฉพาะตัวที่มี endpoint บนอินเทอร์เน็ต

เทียบกับตัวอื่นในหมวด อื่น ๆi

  • ดาวมากกว่า 0% ของอีก 32583 ตัวในหมวดนี้
  • ส่งรุ่นใหม่เข้า registry ล่าสุดกว่า 89% ของอีก 32583 ตัวในหมวดนี้
  • ผลตรวจเบื้องต้นดีกว่าหรือเท่ากับ 100% ของอีก 32583 ตัวในหมวดนี้

เทียบกับทุก server ที่ยังใช้งานในหมวดนี้ทั้งทะเบียน ดาวนับเฉพาะเมื่อผู้ลงทะเบียนเป็นเจ้าของ repo

คำถามที่พบบ่อย

Plex MCP ปลอดภัยไหม?

จากการตรวจเบื้องต้นของเรา ผ่าน 1 จาก 1 ข้อที่ตรวจได้ เรายังไม่ได้อ่านโค้ด ก่อนใส่กุญแจหรือ token ให้ดูว่า server ขอสิทธิ์อะไร และเลือกกุญแจที่ทำได้เท่าที่จำเป็น

ต้องใช้กุญแจหรือรหัสอะไรบ้าง?

ต้องใส่ค่าเหล่านี้: PLEX_URL, PLEX_TOKEN, TAUTULLI_API_KEY

ตัวนี้รันบนเครื่องหรือบนคลาวด์?

รันบนเครื่องของคุณ โปรแกรม AI จะเปิด server ขึ้นมาเองเมื่อใช้ ข้อมูลไม่ต้องผ่านเซิร์ฟเวอร์ของผู้ทำ (ยกเว้นตัวที่ไปเรียกบริการออนไลน์ต่อ)

ยังมีคนดูแลอยู่ไหม?

repo บน GitHub มีการแก้โค้ดล่าสุด – และส่งรุ่นล่าสุด (0.9.1) เข้า registry 4 วันที่ผ่านมา

ใช้กับโปรแกรมไหนได้บ้าง?

โปรแกรมที่รองรับ MCP เช่น Claude Desktop, Claude Code, Cursor และ VS Code ตัวนี้ต้องมี Node.js, Docker ในเครื่องด้วย

มีตัวไหนใช้แทนได้บ้าง?

ในหมวดเดียวกันมี Spec Driven Development, Remote Desktop Commander, sync. labs

ตัวที่ใช้แทนได้

server หมวดเดียวกันจากผู้ทำคนอื่น เรียงตามดาว

อ่านการ์ด:★ ดาว GitHubiสามเสา: รีวิว · ผลตรวจ · การใช้งานiอัปเดต = วันที่ส่งรุ่นล่าสุดเข้า registryi

Spec Driven Development

โดย formulahendry

MCP Server that facilitates spec-driven development workflows, not just Vibe Coding.

รันบนเครื่อง★ 440MITอัปเดต 14 เดือนที่ผ่านมา
ติดตั้ง

Remote Desktop Commander

โดย desktop-commander

Remote Desktop Commander: use files, terminal and processes on your own computers from any AI app.

รันบนคลาวด์★ 211อัปเดต เมื่อวาน
ติดตั้ง

sync. labs

โดย synchronicity-labs

Lipsync videos, dub them into other languages, make talking videos and open sync. Studio.

บนเครื่องหรือคลาวด์อัปเดต วันนี้
ติดตั้ง

README จากผู้ทำ

เปิดอ่าน README

ส่วนนี้คัดจาก repo ของผู้ทำตามต้นฉบับ PopNx MCP ไม่ได้ตรวจหรือรับรองเนื้อหา ตัด HTML รูปภาพ และสคริปต์ออกแล้ว ลิงก์จะพาออกนอกเว็บ

plex-mcp

An MCP server that gives your AI assistant a complete picture of your Plex Media Server: every library, watched and unwatched, every household member's watch history, plus safe curation writes (playlists, collections, watched state, ratings, the plex.tv watchlist).

It talks to Plex's HTTP API directly (no client library, 2 runtime dependencies), ships as an npm package and a Docker image, and is tested offline.

Nothing in this server can delete, move, or modify media files or metadata.

What you can ask

  • "Which Scorsese films haven't I seen?"
  • "Pick three unwatched 90s thrillers under 100 minutes."
  • "What should I continue tonight?" (the next unwatched episode of each show)
  • "Has anyone else watched Severance? Who's furthest along?"
  • "What did the kids watch this month?"
  • "What's new in the TV library this week?"
  • "Make a collection of everything Denis Villeneuve directed that I haven't rated."

Quick start

Requires Node 22+ and a Plex Media Server you own.

1. Sign in and get your credentials (plex.tv PIN flow, no token hunting):

npx @dustinhansen/plex-mcp login

It prints a link, waits for you to approve it in the browser, then prints PLEX_URL=… and PLEX_TOKEN=…. Add --write to append both lines to a file as well. The file holds your token, so on macOS and Linux a new one is created readable by you only. An existing file keeps its permissions. --write refuses a file name that starts with -, so pass it as ./-name. (Prefer the manual route? Plex Web → play any item → ⋮ → Get Info → View XML → X-Plex-Token in the URL.)

2. Add it to your client. Any MCP client that can launch a local (stdio) server works. Most of them take the server as a command, its arguments and an environment. Here are 2 CLIs, for example:

# Claude Code

claude mcp add plex -e PLEX_URL=http:// :32400 -e PLEX_TOKEN= -- npx -y @dustinhansen/plex-mcp

Codex

codex mcp add plex --env PLEX_URL=http:// :32400 --env PLEX_TOKEN= -- npx -y @dustinhansen/plex-mcp

Clients configured with a JSON file (Claude Desktop, Cursor, and any client that reads a .mcp.json) mostly use this shape. Your client's docs say where the file lives and whether it names the top-level key differently:

{

"mcpServers": { "plex": { "command": "npx", "args": ["-y", "@dustinhansen/plex-mcp"], "env": { "PLEX_URL": "http:// :32400", "PLEX_TOKEN": " " } } } }

Assistants that run in a browser or on a phone (claude.ai, ChatGPT) can't launch a local process. They need the server in HTTP mode, reachable from the vendor's cloud. See HTTP mode and Docker and docs/remote-access.md.

Use the server owner's admin token if you want every user's watch history.

Tools

The server registers 22 tools by default, and the optional ones below add up to 4 more. Each tool declares a title and all 4 MCP annotations (read-only, destructive, idempotent, open-world). The spec tells clients to treat annotations as hints, so the Safety model rests on what the server registers.

Browse & read
toolwhat it does
list_librariesAll sections with libraryType (Movies / TV Shows / Music / Photos / Other Videos), scanner type, agent, and whether a scan is running.
list_mediaAny library, any kind (movie/show/season/episode/artist/album/track/collection). Filters: watched, rated, genre, year, decade, contentRating, collection, country, studio, label, maxDurationMin, addedSince, lastViewedBefore, lastViewedAfter. The last-viewed filters take an ISO date or a relative value like -3y. A never-watched item counts as last viewed before any date, so pair lastViewedBefore with watched: "watched" to leave those out. Sorts: title, year, rating, audienceRating, userRating, addedAt, lastViewedAt, viewCount, duration, random. A filters object names what each genre, collection, country, studio or label filter matched, so you can see when a name matched a longer one. collection with no kind lists the kind the collection holds, so an episode collection in a TV library lists episodes. A smart collection with no tag is an error naming the ratingKey to pass to get_children. Paginated (offset/limit/nextOffset). fields projects each record to the keys you need. detail: true adds fields such as cast, crew and a summary to each record, and caps limit at 25.
searchGlobal search across libraries incl. people, collections, playlists. externalId (imdb:tt0113277, tmdb:949, tvdb:12345) looks a movie or show up by the id Plex holds for it instead.
get_itemFull metadata + file info (paths, codecs, sizes, every version) by ratingKey. labels names the item's Plex labels, and is an empty array when it has none.
get_childrenChildren of a show (seasons), season (episodes), artist (albums), album (tracks), collection (items) or playlist (items, with playlist: true). A movie, episode or track has no children, and the call fails saying so. Paginated (offset/limit/nextOffset). fields projects each record to the keys you need. detail: true adds fields such as cast, crew and a summary to each record, and caps limit at 25.
get_extrasTrailers, featurettes, behind-the-scenes for an item.
person_creditsFilmography by director/actor/writer/composer, with watched filter. Paginated (offset/limit/nextOffset). fields projects each record to the keys you need. detail: true adds fields such as cast, crew and a summary to each record, and caps limit at 25.
library_changesWhat's new or updated since a cutoff (-7d or ISO date), as an added and an updated list, each capped by limit. detail: true adds fields such as cast, crew and a summary to each record, and caps limit at 25 for each list.
library_statsTotals watched and unwatched, with genre/decade/rating breakdowns and optional per-user play counts.
Discover
toolwhat it does
similar_itemsPlex's "more like this" for an item, with a watched filter.
random_pickN random items matching any list_media filter set ("surprise me, unwatched, 80s, under 2h"). Each pick is the same record list_media returns. filters names what the tag filters matched, as in list_media, and collection with no kind picks the kind the collection holds. A smart collection with no tag is an error naming the ratingKey to pass to get_children. detail: true adds fields such as cast, crew and a summary to each record. user picks as a Plex Home user, so unwatched means unwatched by them.
continue_watchingPlex's Continue Watching row: the next unwatched episode per in-progress show and any partially watched movie, with how far into each you are. detail: true returns full item records instead, and caps limit at 25.
get_watchlistThe server owner's plex.tv watchlist, with whether each title is in a library here and its ratingKey if so. Paginated (offset/limit).

There are also two MCP prompts, movie_night and whats_new, and a plex://libraries resource.

History & household
toolwhat it does
watch_historyWho watched what, and when. Filter by user, library, time window, or item.
now_playing / list_usersLive sessions and every account on the server.

continue_watching, list_media, random_pick and library_stats accept a user argument to see the library as a Plex Home user (their watched state, their on-deck). Plex only allows this for Home (managed) users. For friends, watch_history is the view that works for everyone.

Curate (writes)

Registered unless PLEX_READ_ONLY=1.

toolwhat it does
set_watchedMark items watched/unwatched (explicit ratingKeys only).
rate_itemSet or clear the server owner's star rating.
manage_playlist / manage_collectionCreate, add, remove, delete. Deleting removes only the grouping, never media.
manage_watchlistAdd movies and shows in the library to the server owner's plex.tv watchlist, or remove them (explicit ratingKeys only).
scan_libraryTrigger "Scan Library Files" for a section, optionally one folder.

manage_watchlist resolves each ratingKey to the Plex GUID plex.tv identifies the item by. It takes movies and shows only, the kinds a Plex watchlist offers, and refuses an item matched by a legacy agent (which has no Plex GUID). Both checks run before anything is sent.

Optional: playback (off by default)

Set PLEX_ALLOW_PLAYBACK=1 to register list_clients and play_item ("play this album on my phone"). Both tools use Plex's player-control API, so the target must be a player that advertises itself to the server. We have tested playback with Plexamp. Current Plex apps for TVs and desktops may not show up in list_clients at all: Plex for Apple TV and Plex for Mac did not, even with the app open. Off by default because it's the one thing here that touches the real world. PLEX_READ_ONLY=1 keeps them unregistered even when this is set.

Optional: Tautulli

Set TAUTULLI_URL and TAUTULLI_API_KEY to add tautulli_stats (home stats: most watched, most active users, popular items over a period) and tautulli_history (per-play records with platform, player, and percent watched). Plex's own history covers the basics. Tautulli adds the detail most admins already collect. They need Tautulli 2.18.0 or later, the first release that reads the API key from a request header.

Safety model

  • No media mutations. There is no code path that deletes, moves, renames, or edits media files or metadata. Playlist/collection deletion removes the grouping only.
  • Writes are explicit. Every write names its targets: items by ratingKey, a playlist or collection by id, and a library by title. A library scan can narrow to one folder. Creating a collection names its library too: several read tools default to Movies because a read changes nothing, but a write never picks its own target. The collection's kind is not a target: it follows the named library (movie, show, or album for a music library), so it always agrees with where the collection goes. A kind that contradicts the library is refused before the write, and so is a library type that holds no collection kind the tool offers. Nothing operates on "all matches".
  • Playback is opt-in via an environment variable. The tools aren't registered without it.
  • `PLEX_READ_ONLY=1` removes every write. The curation writes and the playback tools are not registered, whatever PLEX_ALLOW_PLAYBACK says, so a client sees only reads. The Tautulli tools are reads and stay. The restriction wins over the opt-in because a server set up to change nothing should not start changing things when another variable is added. Any value other than 1, 0 or empty stops the server rather than starting it with writes.
  • Ids are a run of digits. A tool refuses any ratingKey, playlist id or collection id with anything else in it before the request reaches Plex (the client also refuses a request path that does not resolve to itself). We made this decision because a tool puts the id into the request path, and Plex marks an item watched, rates it and refreshes a library over GET. An id carrying .. or ? could turn a read into one of those writes, even with PLEX_READ_ONLY=1. We refuse a bad id rather than encode it, because no real Plex id needs encoding.
  • Errors never echo upstream response bodies from Plex, plex.tv or Tautulli, which can contain server paths and configuration. A failed request names the upstream, the path and either the HTTP status or the network cause, such as `Plex unreachable (E

ตัดมาแค่ช่วงต้น อ่านต่อใน repo

ถาม PopNx