Bring Media Server
to LangChain
Create your Vinkius account to connect Plex to LangChain and start using all 15 AI tools in minutes. Fully managed, enterprise secure, and ready to use without writing a single line of code. No hosting, no server setup — just connect and start using.
Compatible with every major AI agent and IDE
What is the Plex MCP Server?
Connect to your Plex Media Server and manage your entire media library through natural conversation.
What you can do
- Server Info — Check server status, version and connected clients
- Active Sessions — See who's watching what right now with playback progress
- Libraries — Browse all your media libraries (movies, shows, music, photos)
- Search — Find any movie, episode, artist or album by name
- Recently Added — Discover the newest additions to your library
- On Deck — See what's next to continue watching
- Metadata — Get full details on any media item including cast, file info and streams
- Playlists — Browse and manage your playlists
- Watch Status — Mark items as watched or unwatched
How it works
- Subscribe to this server
- Enter your Plex Token and Server URL
- Start managing your media library from Claude, Cursor, or any MCP-compatible client
Who is this for?
- Home Media Users — search your library, check what's playing and find new content to watch
- Server Admins — monitor active sessions, manage libraries and check server health
- Family Managers — see what family members are watching and manage playlists
Built-in capabilities (15)
Useful for getting the complete episode list for a series. Get all episodes of a TV show
For TV shows this returns seasons. For artists this returns albums. Requires the parent item's rating key. Get children of a media item (seasons or albums)
Each library includes its key (ID), type (movie, show, music, photo), title, agent, scanner and updated/created timestamps. Use the library key with other library tools. Get all libraries (sections) on the Plex server
Filter by type: type=1 for movies, type=2 for TV shows, type=8 for artists, type=13 for photos. Requires the library key from get_libraries. Get all content from a specific library
Returns title, summary, year, runtime, rating, genres, director, cast, media streams, file path and more. Get detailed metadata for a specific item
Returns the next unwatched episode for each in-progress show. Get "On Deck" items (continue watching)
Returns the items with their titles, types, durations and metadata. Requires the playlist ID. Get items in a specific playlist
Each playlist includes its ID, title, type (video, audio, photo), item count and duration. Get all playlists on the Plex server
Returns movies, episodes and albums with their titles, addition dates and metadata. Get recently added media to the library
Useful for verifying server connectivity and checking server health. Get Plex Media Server information
Each session includes the user, the media being watched (movie/episode), playback progress, player device, bandwidth and transcoding info. Get currently active streaming sessions
This resets the item's watch status. Requires the item's rating key. Mark a media item as unwatched
This affects the item's watch status and removes it from "On Deck". Requires the item's rating key. Mark a media item as watched
Useful after adding or removing files from your media folders. Requires the library key. Trigger a library scan/refresh
Returns matching movies, shows, episodes, artists and albums with their titles, types and metadata. Search the Plex media library
Why LangChain?
LangChain's ecosystem of 500+ components combines seamlessly with Plex through native MCP adapters. Connect 15 tools via Vinkius and use ReAct agents, Plan-and-Execute strategies, or custom agent architectures. with LangSmith tracing giving full visibility into every tool call, latency, and token cost.
- —
The largest ecosystem of integrations, chains, and agents. combine Plex MCP tools with 500+ LangChain components
- —
Agent architecture supports ReAct, Plan-and-Execute, and custom strategies with full MCP tool access at every step
- —
LangSmith tracing gives you complete visibility into tool calls, latencies, and token usage for production debugging
- —
Memory and conversation persistence let agents maintain context across Plex queries for multi-turn workflows
Plex in LangChain
Why run Plex with Vinkius?
The Plex connection runs on our fully managed, secure cloud infrastructure. We handle the hosting, maintenance, and security so you don't have to deal with servers or code. All 15 tools are ready to work instantly without any complex setup.
You stay in complete control of your data. Your AI only accesses the information you approve, keeping your sensitive passwords and private details completely safe. Plus, with automatic optimizations, your AI works faster and more efficiently.

* Every connection is hosted and maintained by Vinkius. We handle the security, updates, and infrastructure so you don't have to write code or manage servers. See our infrastructure
Over 4,000 integrations ready for AI agents
Explore a vast library of pre-built integrations, optimized and ready to deploy.
Connect securely in under 30 seconds
Generate tokens to authenticate and link external services in a single step.
Complete visibility into every agent action
Audit live requests, latency, success rates, and active security compliance policies.
Optimize spending and track token ROI
Analyze real-time token consumption and cost metrics detailed by connection.




Explore our live AI Agents Analytics dashboard to see it all working
This dashboard is included when you connect Plex using Vinkius. You will never be left in the dark about what your AI agents are doing with your tools.
Plex and 4,000+ other AI tools. No hosting, no code, ready to use.
Professionals who connect Plex to LangChain through Vinkius don't need to write code, manage servers, or worry about security. Everything is pre-configured, secure, and runs automatically in the background.
Raw MCP | Vinkius | |
|---|---|---|
| Ready-to-use MCPs | Find and configure each manually | 4,000+ MCPs ready to use |
| Connection Setup | Manual coding & server setup | 1-click instant connection |
| Server Hosting | You host it yourself (needs 24/7 uptime) | 100% hosted & managed by Vinkius |
| Security & Privacy | Stored in plaintext config files | Bank-grade encrypted vault |
| Activity Visibility | Blind execution (no logs or tracking) | Live dashboard with real-time logs |
| Cost Control | Runaway AI token spend risk | Automatic budget limits |
| Revoking Access | Must delete files or code to stop | 1-click disconnect button |
How Vinkius secures
Plex for LangChain
Every request between LangChain and Plex is protected by our secure gateway. We automatically keep your sensitive data private, prevent unauthorized access, and let you disconnect instantly at any time.
Frequently asked questions
How do I get my Plex Token?
Log in to your Plex account at plex.tv, go to Settings > Server > General and look for 'X-Plex-Token'. Alternatively, check your browser's network tab when loading the Plex web app.
What is my Server URL?
For local access: http://YOUR_SERVER_IP:32400 (e.g. http://192.168.1.100:32400). For remote access: https://YOUR_PLEX_SUBDOMAIN.plex.direct:32400. The IP is your Plex server's local network address.
Can I see what's currently playing?
Yes! Use get_sessions to see all active playback sessions. Each session shows the user, media title, playback position, player device and whether it's direct playing or transcoding.
Can I search for specific media?
Yes! Use search_library with any title. Results include movies, TV shows, episodes, artists and albums matching your query. Optionally filter by library key to search in a specific library only.
How does LangChain connect to MCP servers?
Use langchain-mcp-adapters to create an MCP client. LangChain discovers all tools and wraps them as native LangChain tools compatible with any agent type.
Which LangChain agent types work with MCP?
All agent types including ReAct, OpenAI Functions, and custom agents work with MCP tools. The tools appear as standard LangChain tools after the adapter wraps them.
Can I trace MCP tool calls in LangSmith?
Yes. All MCP tool invocations appear as traced steps in LangSmith, showing input parameters, response payloads, latency, and token usage.
MultiServerMCPClient not found
Install: pip install langchain-mcp-adapters
Explore More MCP Servers
View all →
Appfigures
11 toolsAnalyze app store performance with Appfigures — track downloads, revenue, reviews, and rankings via AI.

Foxentry
12 toolsValidate and autocomplete addresses, emails, and phone numbers in forms to eliminate bad data before it enters your systems.

FatSecret
2 toolsAccess millions of food items with calorie tracking, macro data, and serving sizes from the FatSecret platform used by 30M+ users worldwide.

Daftra
12 toolsRun your Arabic-first business with invoicing, inventory, CRM, and accounting designed for the Middle East and North Africa.
