Skip to main content
Glama
Adarsh2001-dot

IMDB MCP Server

IMDB MCP Server

一个可在云端运行的 JSON-RPC 服务,提供对 IMDB 数据的访问。专为通过 MCP(Model Context Protocol)与 LLM 协同工作而设计。

工作原理

  1. LLM 配置:将 MCP 服务器 URL 添加到你的 LLM 配置中

  2. 发现:LLM 查询服务器 URL 以了解可用工具

  3. 查询:LLM 发送 JSON-RPC 请求以获取 IMDB 数据

  4. 响应:服务器返回结构化数据,由 LLM 解读并向用户解释

Related MCP server: IMDB MCP Server

端点

端点

方法

说明

/

GET

HTML 文档(人类可读)

/info

GET

服务信息(JSON)

/jsonrpc

POST

JSON-RPC 2.0 端点

/mcp

POST

用于 LLM 工具调用的 MCP 协议端点

/health

GET

云端部署的健康检查

可用工具

工具

说明

参数

search_movies

按电影标题搜索

querylimit

get_movie_details

获取完整电影信息

movie_id

search_people

搜索演员/导演

querylimit

get_person_details

获取人物信息/电影作品列表

person_id

get_top_250_movies

获取 IMDB Top 250

limit

get_movie_cast

获取电影演员阵容

movie_idlimit

JSON-RPC 用法

/jsonrpc 发送 POST 请求:

{
    "jsonrpc": "2.0",
    "method": "search_movies",
    "params": {"query": "The Matrix", "limit": 5},
    "id": 1
}

响应:

{
    "jsonrpc": "2.0",
    "result": [
        {"id": "0133093", "title": "The Matrix", "year": 1999},
        {"id": "0234215", "title": "The Matrix Reloaded", "year": 2003}
    ],
    "id": 1
}

LLM MCP 配置

将其添加到你的 LLM 的 MCP 服务器配置中:

{
    "mcpServers": {
        "imdb": {
            "url": "https://your-deployed-url.com/mcp",
            "transport": "http"
        }
    }
}

本地开发

本地运行

pip install -r requirements.txt
python app.py

服务器运行于 http://localhost:8080

使用 Docker 运行

docker build -t imdb-mcp .
docker run -p 8080:8080 imdb-mcp

云端部署

Cloud Foundry

cf push

使用 manifest.yaml 配置。

SAP BTP (Cloud Foundry)

# Build MTA archive
mbt build

# Deploy
cf deploy mta_archives/imdb-mcp-server_1.0.0.mtar

使用 mta.yaml 配置。

Heroku

heroku create imdb-mcp-server
git push heroku main

使用 Procfileruntime.txt

Docker(任意云)

# Build
docker build -t imdb-mcp .

# Run
docker run -p 8080:8080 imdb-mcp

# Push to registry
docker tag imdb-mcp your-registry/imdb-mcp:latest
docker push your-registry/imdb-mcp:latest

Google Cloud Run

gcloud run deploy imdb-mcp \
    --source . \
    --platform managed \
    --allow-unauthenticated

AWS App Runner / ECS

使用 Dockerfile 配合你偏好的 AWS 容器服务。

项目结构

imdb-mcp/
├── app.py              # FastAPI JSON-RPC server
├── imdb_backend.py     # Cinemagoer wrapper
├── server.py           # FastMCP server (for local MCP)
├── requirements.txt    # Python dependencies
├── pyproject.toml      # Project metadata
├── Dockerfile          # Container image
├── Procfile            # Heroku/PaaS process file
├── runtime.txt         # Python version
├── manifest.yaml       # Cloud Foundry manifest
├── mta.yaml            # SAP BTP MTA descriptor
├── .dockerignore       # Docker ignore patterns
└── .cfignore           # Cloud Foundry ignore patterns

环境变量

变量

默认值

说明

PORT

8080

服务器端口

注意事项

  • Cinemagoer 通过网页抓取方式查询 IMDB,响应速度可能比基于 API 的解决方案慢

  • 仅供非商业用途(根据 IMDB 服务条款)

  • 无需 API 密钥

F
license - not found
Not graded
quality - not tested
D
maintenance

Maintenance

Maintainers
Response time
Release cycle
Releases (12mo)
Commit activity

Resources

Unclaimed servers have limited discoverability.

Looking for Admin?

If you are the server author, to access and configure the admin panel.

Related MCP Servers

  • A
    license
    Not graded
    quality
    D
    maintenance
    Enables AI assistants to search and retrieve movie information from The Movie Database (TMDB) API through the Model Context Protocol interface.
    20
    2
    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
  • F
    license
    A
    quality
    D
    maintenance
    An MCP server that wraps The Movie Database (TMDB) API, enabling search for movies and TV shows, retrieval of movie details, recommendations, similar movies, trending content, streaming providers, and movie discovery.
    8
  • A
    license
    A
    quality
    C
    maintenance
    MCP server for the OMDb API - search movies, series, and episodes from any MCP-compatible client.
    5
    MIT

View all related MCP servers

Related MCP Connectors

  • MCP server for Clipkit — gives AI agents a video toolbox via the Clipkit schema.

  • Real-time Amazon, WIPO & PACER data for AI agents — 19 tools via the MCP protocol.

  • A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…

View all MCP Connectors

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/Adarsh2001-dot/imdb-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server