WT

wwiens/trakt_mcpserver

Developer tools

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。 原文を見る

51 stars 19 forks 品質 83 トレンド 14MIT

wwiens/trakt mcpserver は [https://github.com/wwiens/trakt_mcpserver.] からインポートされた MCP サーバーの候補です

概要

wwiens/trakt mcpserver は [https://github.com/wwiens/trakt_mcpserver.] からインポートされた MCP サーバーの候補です

概要(AI 翻訳)

AI の言語モデルと Trakt.tv API 間でブリッジを作成するモデル・コンテキスト・プロトコル (MCP) サーバーで、LM がリアルタイムのエンターテインメント・データとパーソナル・トラクト・ビューイング履歴にアクセスできるようにします。 FastMCP を使用してドメイン重視のアーキテクチャで構築され、認証、ショー、季節、エピソード、映画、人、ユーザーデータ、コメント、検索、およびチェックイン機能に関する問題のクリーンな分離を提供します。

宇宙飛行士AI実験

この段落以外は、コードを含むAIによって生成されたものすべてです。 MCPについてもっと知りたいという目標があり、Cursorでたくさん遊んでいたので、一緒に持って来るために自然な次の動きのように思えました。 結果はこのプロジェクトでした。 今後は、AIによる変更も行います。

MCP & Traktについて

モデルコンテクストプロトコル(MCP)は、標準化されたツールとリソースを通じて、AIモデルが外部システムと相互作用することを可能にします。 Trakt.tvは、テレビの番組や映画を追跡するための包括的なプラットフォームです 14+万人のユーザーと開発者のための広範なAPI.

すぐにスタート

##Trackkt APIアプリを作成する

クライアント ID を取得するには、独自の Trakt API アプリが必要です。

1.Developer.trakt.tvにアクセスし、アプリを作成します.

このページは AI により自動翻訳されています。技術的な詳細は原文をご確認ください。

README

以下は原文 README の抜粋です。原文を見る。

🎬 MCP Trakt: Your AI’s Gateway to Entertainment Data

A Model Context Protocol (MCP) server that creates a bridge between AI language models and the Trakt.tv API, allowing LLMs to access real-time entertainment data and personal Trakt viewing history. Built with a domain-focused architecture using FastMCP, providing clean separation of concerns across authentication, shows, seasons, episodes, movies, people, user data, comments, search, and check-in functionality.

🖥️ An AI Experiment

Other than this paragraph, everything here has been generated by AI, including the code. I had a goal to learn more about MCP and have been playing a lot with Cursor, so it seemed like a natural next move to bring these together. The result was this project. All changes moving forward will also be done by AI.

📚 About MCP & Trakt

Model Context Protocol (MCP) enables AI models to interact with external systems through standardized tools and resources. Trakt.tv is a comprehensive platform for tracking TV shows and movies with 14+ million users and extensive APIs for developers.

🚀 Quick Start

Create a Trakt API app

You need your own Trakt API app to get a Client ID:

  1. Go to developer.trakt.tv and create an app. Trakt requires a verified GitHub account for this.
  2. App type: choose Development for personal use. Only you and the people you add can sign in.
  3. Redirect URIs: enter http://localhost. The server signs in with the device code flow and never receives a callback, but Trakt requires at least one URI on the app.
  4. Allowed origins: leave blank. They only apply to code running in a web browser.
  5. Copy the Client ID into TRAKT_CLIENT_ID. If Trakt issued your app a Client Secret (older apps have one), set it as TRAKT_CLIENT_SECRET. New apps don’t get one, so leave it unset.

Docker Quickstart

docker run -d --rm --name trakt_mcpserver \
  -e TRAKT_CLIENT_ID=your_client_id \
  -v trakt_auth:/data \
  -p 8080:8080 \
  ghcr.io/wwiens/trakt_mcpserver:latest

Run with uvx (no clone, no install)

Requires uv installed.

The installed package reads credentials from environment variables only. It does not load a .env file, so set TRAKT_CLIENT_ID in the shell or in your MCP client’s env block (see below).

TRAKT_CLIENT_ID=your_client_id uvx trakt-mcp

Pin to a release for reproducibility:

TRAKT_CLIENT_ID=your_client_id uvx [email protected]

Claude Desktop / MCPhub configuration:

{
  "mcpServers": {
    "trakt": {
      "command": "uvx",
GitHub で README 全文を見る

インストール

uvx trakt-mcp
MCP 初心者?mcpskill.org のガイドから始めましょう →

設定

{ "mcpServers": { "trakt": { "command": "uvx", "args": ["trakt-mcp"], "env": { "TRAKT_CLIENT_ID": "your_client_id" } } } }