Skip to main content
Glama
rakeshgangwar

TMDB MCP Server

TMDB MCP 服务器

一个模型上下文协议 (MCP) 服务器,提供对电影数据库 (TMDB) API 的访问。该服务器使 AI 助手能够通过 MCP 界面搜索和检索电影信息。

特征

  • 按标题、年份和其他条件搜索电影

  • 检索详细电影信息

  • 轻松与兼容 MCP 的 AI 助手集成

Related MCP server: MCP TMDB

先决条件

  • Node.js >= 18

  • TMDB API 密钥(从TMDB获取)

安装

  1. 克隆存储库:

git clone https://github.com/rakeshgangwar/tmdb-mcp-server.git
cd tmdb-mcp-server
  1. 安装依赖项:

npm install
  1. 构建服务器:

npm run build

配置

在您的 MCP 设置文件(通常是cline_mcp_settings.json )中配置 MCP 服务器:

{
  "mcpServers": {
    "tmdb": {
      "command": "node",
      "args": ["/path/to/tmdb-mcp-server/dist/index.js"],
      "env": {
        "TMDB_API_KEY": "your-api-key-here"
      },
      "disabled": false,
      "autoApprove": []
    }
  }
}

将your-api-key-here替换为您的 TMDB API 密钥,并将/path/to/替换为实际路径。

可用工具

搜索电影

使用电影数据库 API 搜索电影。

参数:

  • query (必需):搜索查询字符串

  • year (可选):按发布年份过滤

  • page (可选):页码(默认值:1)

例子:

{
  "query": "Inception",
  "year": 2010,
  "page": 1
}

发展

  1. 在src目录中进行更改

  2. 构建项目:

npm run build
  1. 通过在您的设置中配置 MCP 服务器来测试您的更改

贡献

  1. 分叉存储库

  2. 创建你的功能分支( git checkout -b feature/amazing-feature )

  3. 提交您的更改( git commit -am 'Add some amazing feature' )

  4. 推送到分支( git push origin feature/amazing-feature )

  5. 打开拉取请求

执照

该项目根据 MIT 许可证获得许可 - 有关详细信息,请参阅LICENSE文件。

致谢

Related MCP Connectors

Related MCP Servers

  • A
    license
    B
    quality
    D
    maintenance
    Enables AI assistants like Claude to interact with The Movie Database (TMDB) API, providing capabilities for searching movies, retrieving movie details, and generating customized movie reviews and recommendations.
    4
    87 npm
    4
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    An implementation of the Model Context Protocol that provides tools to interact with The Movie Database (TMDB), allowing users to search for movie collaborations, actor filmographies, and other film industry data.
    6
    MIT
  • A
    license
    Not graded
    quality
    D
    maintenance
    Provides integration with The Movie Database (TMDB) API for searching movies, TV shows, and people, accessing detailed information, and discovering popular and trending content. Enables AI assistants to access comprehensive movie and television metadata including ratings, cast, crew, and overviews.
    51 npm
    1
    MIT
  • F
    license
    Not graded
    quality
    D
    maintenance
    Provides access to IMDB movie and person data, including searches, cast details, and top-rated lists through the Model Context Protocol. It enables LLMs to fetch structured cinematic metadata and filmographies using the Cinemagoer backend.
    1
    -