Skip to main content
Glama

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
PLEX_URLNoPlex Media Server base URL (flag: --plex-url). Default: discovered from plex.tv.
PLEX_TOKENYesX-Plex-Token for the server (flag: --plex-token).
PLEX_SERVERSNoExtra servers for cross-server search.
MCP_HTTP_HOSTNoHTTP bind host (flag: --host).127.0.0.1
MCP_HTTP_PATHNoHTTP bind path (flag: --path)./mcp
MCP_HTTP_PORTNoHTTP bind port (flag: --port).3000
MCP_LOG_LEVELNoLog level: debug, info, warn, error (stderr only).info
MCP_TRANSPORTNoTransport to use: stdio or http (flag: --transport).stdio
MCP_AUTH_TOKENNoStatic bearer token for HTTP transport access control.
PLEX_MAX_ITEMSNoCap on items returned from one list endpoint.250
PLEX_READ_ONLYNoDo not register or allow anything that is not GET (flag: --read-only).off
PLEX_TOOL_MODENoTool registration mode: all = one tool per documented operation; curated = only the hand-written tools (flag: --tools).all
PLEX_TOOL_TAGSNoRestrict tools to these OpenAPI tags, e.g. Library,Status (flag: --tags).
MCP_OAUTH_ISSUERNoOAuth 2.1 issuer for HTTP transport access control (RS256, verified against the issuer's JWKS).
PLEX_CLOUD_TOKENNoplex.tv account token for account, watchlist and Discover access (flag: --cloud-token). Falls back to PLEX_TOKEN.
PLEX_CACHE_TTL_MSNoIn-memory GET cache TTL in milliseconds; 0 disables the cache.0
PLEX_TOOL_EXCLUDENoFilter tools by name substring to exclude (flag: --exclude).
PLEX_TOOL_INCLUDENoFilter tools by name substring to include (flag: --include).
MCP_OAUTH_AUDIENCENoOAuth 2.1 audience for HTTP transport access control.
PLEX_OUTPUT_FORMATNoOutput format: json, compact (tabular), or auto (shortest) (flag: --format).auto
PLEX_SERVERS_TOKENSNoTokens for the extra servers used for cross-server search.
OPENSUBTITLES_API_KEYNoEnables the subtitle tools.
PLEX_CLIENT_IDENTIFIERNoStable X-Plex-Client-Identifier (flag: --client-identifier). Default: generated once, then cached.
PLEX_REQUEST_TIMEOUT_MSNoHTTP request timeout in milliseconds.30000
PLEX_MAX_DESCRIPTION_LENGTHNoCap on generated tool descriptions.1200

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Server capabilities have not been inspected yet.

Tools

Functions exposed to the LLM to take actions

NameDescription

No tools

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources