Skip to main content

Unified MCP server for Stremio: addon search/streams + Android TV control

Project description

stremio-mcp

Unified MCP server for Stremio. Two toolsets in one server:

  • Addon tools: search, metadata, catalogs, and stream listings via Stremio's public addon HTTP APIs.
  • Android TV tools: play content and control playback on an Android TV running Stremio, over adb.

Install

uvx (recommended)

uvx --from git+https://github.com/YoanWai/stremio-mcp stremio-mcp

pip

pip install git+https://github.com/YoanWai/stremio-mcp
stremio-mcp

Homebrew

brew install yoanwai/tap/stremio-mcp

MCP client configuration

{
  "mcpServers": {
    "stremio": {
      "command": "uvx",
      "args": ["--from", "git+https://github.com/YoanWai/stremio-mcp", "stremio-mcp"],
      "env": {
        "ANDROID_TV_HOST": "192.168.1.100",
        "ANDROID_TV_PORT": "5555",
        "STREMIO_AUTH_KEY": ""
      }
    }
  }
}

With a .env file instead of inline env:

{
  "mcpServers": {
    "stremio": {
      "command": "uvx",
      "args": ["--env-file", "/path/to/.env", "--from", "git+https://github.com/YoanWai/stremio-mcp", "stremio-mcp"]
    }
  }
}

Environment variables

Variable Default Required Purpose
ANDROID_TV_HOST (none) For TV tools IP or hostname of the Android TV
ANDROID_TV_PORT 5555 No adb TCP port on the TV
ADB_PATH adb No Path to the adb binary
STREMIO_AUTH_KEY (none) For library tools Stremio account auth key (or use stremio_login)

Copy .env.example to .env and fill in your values.

Tools

Addon tools

Tool Description
stremio_search Search movies and series across addon catalogs
stremio_get_meta Fetch full metadata for a title (seasons, episodes, cast)
stremio_browse_catalog Browse an addon catalog (popular, trending, genres)
stremio_get_addon_manifest Inspect an addon's manifest and capabilities
stremio_get_streams List available streams for a title or episode

Account and library tools

Tool Description
stremio_login Log in with email and password to obtain an auth key
stremio_get_library List the account's saved library titles
stremio_add_to_library Add a movie or series to the library
stremio_remove_from_library Remove a title from the library

Android TV tools

Tool Description
play Open and play a title on the TV's Stremio app
tv_control Remote-control actions: playback (play/pause/forward/rewind), navigation, volume, power
playback_status Report what is currently playing and its position

adb pairing

The TV tools require adb access to the Android TV:

  1. On the TV: Settings > Device Preferences > About > tap Build 7 times to enable Developer options.
  2. In Developer options, enable USB debugging (and Network debugging where available).
  3. From your machine: adb connect <TV_IP>:5555 and accept the authorization prompt on the TV screen.

The connection persists across reboots on most devices; re-run adb connect if the TV stops responding.

License

MIT, see LICENSE.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

stremio_mcp-0.1.0.tar.gz (13.0 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

stremio_mcp-0.1.0-py3-none-any.whl (13.7 kB view details)

Uploaded Python 3

File details

Details for the file stremio_mcp-0.1.0.tar.gz.

File metadata

  • Download URL: stremio_mcp-0.1.0.tar.gz
  • Upload date:
  • Size: 13.0 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for stremio_mcp-0.1.0.tar.gz
Algorithm Hash digest
SHA256 46e9a40ce69f5db9a14c91b21e0b0d41e9a150918e87899c0fe97fde6cad341c
MD5 28d17a90ee4de66f2056e1f6a97d70e2
BLAKE2b-256 8a10b047b60eb709e7552c96c3c9da4d6e7385f123c54692c13db5c4cc7c9024

See more details on using hashes here.

File details

Details for the file stremio_mcp-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: stremio_mcp-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 13.7 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.11.28 {"installer":{"name":"uv","version":"0.11.28","subcommand":["publish"]},"python":null,"implementation":{"name":null,"version":null},"distro":{"name":"macOS","version":null,"id":null,"libc":null},"system":{"name":null,"release":null},"cpu":null,"openssl_version":null,"setuptools_version":null,"rustc_version":null,"ci":null}

File hashes

Hashes for stremio_mcp-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 ff28ed2ee59e603dc3faaa0fbfbb54b84629136d1a9e7df86aa8352c28d0d8ad
MD5 cff9c61cad84513feed9d39f6dc2e126
BLAKE2b-256 35b1118dae5117c3800fa915656a147cf8a4f0e5540ab8826720a147a804858b

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page