LocalFree server, account needed

Plex MCP server

dustinhansen/plex-mcp

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

0 GitHub stars

Install Plex in Claude Code

Claude Code
claude mcp add plex -e PLEX_URL=... -e PLEX_TOKEN=... -- npx -y @dustinhansen/plex-mcp
mcp.json (Claude Desktop, Cursor, VS Code, Windsurf)
{
  "mcpServers": {
    "plex": {
      "command": "npx",
      "args": [
        "-y",
        "@dustinhansen/plex-mcp"
      ],
      "env": {
        "PLEX_URL": "...",
        "PLEX_TOKEN": "..."
      }
    }
  }
}

Replace each ... with your own value.

Frequently asked questions

What does the Plex MCP server do?

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

Is the Plex MCP server free?

The server is free, but you will likely need an account. The server itself is free, but it connects to a service that needs an account or API key, which may have paid tiers. Check the provider for current pricing.

Does Plex run locally or remotely?

Local. Runs on your machine (stdio). You install it with npx, uvx, Docker or from source.

How do I add Plex to Claude Code?

Run: claude mcp add plex -e PLEX_URL=... -e PLEX_TOKEN=... -- npx -y @dustinhansen/plex-mcp

More ai agents & coding agents MCP servers

View all