Skip to main content
Glama
keithah

Plex MCP Account Finder

by keithah

Plex MCP Account Finder

Model Context Protocol server that connects to multiple Plex accounts, aggregates server user access, and exposes tools for fuzzy user lookup and login token generation. Built on the official Plex APIs using the smithery TypeScript runtime.

Features

  • Discover Plex Media Servers across every configured account token.

  • Fuzzy search for users by email, username, or display name across all servers.

  • Validate account connectivity and list owned/shared servers with plex_status.

  • Generate Plex authentication URLs (PIN-based) and poll them to capture new tokens via MCP tools.

  • Configurable caching to avoid hammering Plex endpoints when running repeated queries.

Related MCP server: gmail-multi-mcp

Configuration

smithery.yaml already points to src/index.ts. Provide a config object that matches configSchema:

{
  "log_level": "info",
  "cache_ttl_seconds": 300,
  "accounts": [
    { "label": "primary", "token": "<plex-token>" },
    { "label": "secondary", "token": "<plex-token>" }
  ]
}
  • log_level: debug, info, warn, or error (default: info).

  • cache_ttl_seconds: cache duration for server/user lookups (30–3600 seconds, default 300).

  • accounts: list of Plex account API tokens plus optional client identifiers. Each token should be an account-level token retrieved from Plex Web or the pin flow.

Tools

  • plex_status – Summarizes account validity, servers, and optionally user counts.

  • plex_lookup_user – Fuzzy query across all server users (query, optional max_results, refresh).

  • plex_generate_auth_url – Produces a PIN-based login URL (client_identifier optional) for generating new tokens.

  • plex_check_auth_pin – Polls a previously issued PIN (pin_id, client_identifier) and reports whether an auth token is ready.

Development

npm install
npm run dev  # runs smithery dev with hot reload

Type checking & builds:

npm run typecheck
npm run build:stdio
npm run build:shttp

The generated bundles are stored in .smithery/ and can be deployed directly to Smithery.

Notes

  • Logging is structured JSON; sensitive values (tokens) are redacted automatically.

  • The manager caches server and user snapshots for the configured TTL. Use refresh: true in tool inputs to bypass caches when needed.

  • Plex PIN URLs expire quickly; poll with plex_check_auth_pin until authToken is populated, then store that token for future use.

Tool Schema Changelog

Recent tool additions, removals, and schema changes observed during successful MCP inspections. Dates show when Glama detected each change.

No tool schema history has been recorded yet.

Maintenance

ActivityMaintained
ResponsivenessNo issues

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    D
    maintenance
    Connect multiple Gmail accounts to any MCP client, enabling search, read, draft, send, label, and organize mail across unlimited accounts with local-only OAuth token storage.
    22
    23
    5
    MIT
  • F
    license
    Not graded
    quality
    C
    maintenance
    Enables interacting with multiple Gmail accounts through a single MCP server, supporting search, labels, drafts, and thread management with per-account OAuth.
    -
  • A
    license
    Not graded
    quality
    A
    maintenance
    Enables username reconnaissance across 480+ platforms, generating HTML reports and footprint scores, accessible via AI agents.
    MIT

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/keithah/plex-mcp-account-finder'

If you have feedback or need assistance with the MCP directory API, please join our Discord server