关于 Trakt
Trakt 是用于搜索影视元数据、剧集和季信息,以及查询热门趋势内容的 MCP 服务,适合使用 Trakt 目录数据和发现信号的应用。
主要功能
- 01搜索电影和剧集
- 02获取电影及剧集详情
- 03列出季和单集信息
- 04浏览趋势内容
- 05浏览热门内容
适用场景
- 01查询电影或剧集信息
- 02查找剧集季和单集详情
- 03发现趋势或热门影视内容
MCP 相关
向 MCP 客户端提供 Trakt 搜索、元数据、季、单集、趋势和热门内容工具。只读接口需要 Trakt 客户端 ID,无需用户 OAuth 授权流程。
配置
远程服务无需本地安装。选择你使用的客户端,复制配置或使用一键安装。
https://gateway.pipeworx.io/trakt/mcpclaude mcp add --transport http pipeworx-io-trakt https://gateway.pipeworx.io/trakt/mcp{"mcpServers":{"pipeworx-io-trakt":{"type":"http","url":"https://gateway.pipeworx.io/trakt/mcp"}}}在 Cursor 中打开{"servers":{"pipeworx-io-trakt":{"type":"http","url":"https://gateway.pipeworx.io/trakt/mcp"}}}在 VS Code 中打开{"mcpServers":{"pipeworx-io-trakt":{"type":"http","url":"https://gateway.pipeworx.io/trakt/mcp"}}}{"mcpServers":{"pipeworx-io-trakt":{"serverUrl":"https://gateway.pipeworx.io/trakt/mcp"}}}命令在终端中运行;JSON 粘贴到对应客户端的 MCP 配置后重启。需要授权的服务会在首次连接时提示登录。
工具
详细介绍
@pipeworx/trakt
Trakt.tv MCP — 电视/电影元数据 + 趋势/热门信号。
属于 Pipeworx — 一个将 AI Agent 连接到 1476+ 个实时数据源的 MCP 网关。
工具
search(query, type?, fields?, years?, genres?, countries?, languages?, page?, limit?)get_movie(id, extended?)get_show(id, extended?)list_seasons(show_id, extended?)get_episode(show_id, season, episode, extended?)trending(type, limit?, page?)popular(type, limit?, page?)
身份验证
- 平台密钥: 网关环境变量
PLATFORM_TRAKT_KEY(来自已注册 Trakt 应用的 client_id)。 - 自带密钥: 在 https://trakt.tv/oauth/applications 注册后,添加
?_apiKey=<client_id>。
只需 client_id 即可使用只读端点(无需用户 OAuth)。
数据源
https://api.trakt.tv — 请求头 trakt-api-key + trakt-api-version: 2。
快速开始
添加到你的 MCP 客户端(Claude Desktop、Cursor、Windsurf 等):
{
"mcpServers": {
"trakt": {
"url": "https://gateway.pipeworx.io/trakt/mcp"
}
}
}
此端点实际提供的内容
https://gateway.pipeworx.io/trakt/mcp 上的 tools/list 会返回上表中的工具,以及 Pipeworx 共享元工具 — ask_pipeworx、
discover_tools、search_within、remember/recall 和网关范围内的其他工具。因此,你看到的工具数量会多于此表:单个工具包端点目前会列出大约 30 个共享工具,以及该工具包自身的工具。连接的 initialize 响应会说明其确切范围,是当天适用范围的权威说明。
这是有意为之,并非意外的多路复用。元工具让范围受限的连接也能回答此工具包未涵盖的问题 — 通过 ask_pipeworx 在整个目录中路由 — 无需你再添加第二个 MCP 服务。目前无法挂载不包含这些工具的工具包端点;如果额外的架构占用的上下文多于路由带来的价值,请连接一次完整网关,而不是连接多个工具包端点。
或者连接到完整的 Pipeworx 网关,直接列出所有工具包的工具,而不仅仅是此工具包的工具:
{
"mcpServers": {
"pipeworx": {
"url": "https://gateway.pipeworx.io/mcp"
}
}
}
两个 URL 都会连接到同一个网关和相同的 1476+ 个数据源。唯一的区别是哪些工具包的工具会被直接列出;无论使用哪个 URL,ask_pipeworx 都能访问所有工具。
使用 ask_pipeworx
你可以用通俗英语提问,而不是直接调用工具 — 在上面的工具包端点和完整网关上都可以使用:
ask_pipeworx({ question: "your question about Trakt data" })
网关会选择合适的工具并自动填写参数。
更多信息
许可证
MIT
评论
一个开放协议,规定了 AI 应用如何以统一方式连接外部工具与数据源。客户端负责与模型对话,MCP 服务负责提供工具、资源和提示模板,两者通过标准消息通信,同一个服务可以被不同客户端复用。