Bring Media Server
to LlamaIndex
Create your Vinkius account to connect Plex to LlamaIndex 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 LlamaIndex?
LlamaIndex agents combine Plex tool responses with indexed documents for comprehensive, grounded answers. Connect 15 tools through Vinkius and query live data alongside vector stores and SQL databases in a single turn. ideal for hybrid search, data enrichment, and analytical workflows.
- —
Data-first architecture: LlamaIndex agents combine Plex tool responses with indexed documents for comprehensive, grounded answers
- —
Query pipeline framework lets you chain Plex tool calls with transformations, filters, and re-rankers in a typed pipeline
- —
Multi-source reasoning: agents can query Plex, a vector store, and a SQL database in a single turn and synthesize results
- —
Observability integrations show exactly what Plex tools were called, what data was returned, and how it influenced the final answer
Plex in LlamaIndex
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 LlamaIndex 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 LlamaIndex
Every request between LlamaIndex 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 LlamaIndex connect to MCP servers?
Use the MCP client adapter to create a connection. LlamaIndex discovers all tools and wraps them as query engine tools compatible with any LlamaIndex agent.
Can I combine MCP tools with vector stores?
Yes. LlamaIndex agents can query Plex tools and vector store indexes in the same turn, combining real-time and embedded data for grounded responses.
Does LlamaIndex support async MCP calls?
Yes. LlamaIndex's async agent framework supports concurrent MCP tool calls for high-throughput data processing pipelines.
BasicMCPClient not found
Install: pip install llama-index-tools-mcp
Explore More MCP Servers
View all →
Amazon DSP
7 toolsDemand-Side Platform orchestration — manage display campaigns, audiences, and creatives via AI.

Sergipe Dados Abertos
4 toolsAccess public data from the State of Sergipe, Brazil—including expenditures, revenues, personnel, and budget execution—directly from any AI agent.

Gigs
12 toolsManage mobile subscriptions, track data usage, and oversee eSIMs via AI agents with Gigs.

Design Pickle
10 toolsEquip your AI agent to manage graphic design requests, track brand profiles, and monitor your production queue via the Design Pickle API.
