JM

javinfo/mcp

开发工具

本页由 AI 翻译,技术细节请以原文为准。 查看原文

1 stars 1 forks 质量 76 趋势 10MIT

从不同网站获取日本成人视频数据的完整基础设施

概览

Javinfo API的 MCP 服务器(stdio). 通过DVD代码,标题,或女演员查询JAV发布,并获取元数据,下载链接,或流回URL. 安装了javinfo CLI后,您也可以打开 a. 首先搜索找到代码,然后用它呼叫javinfo-movie. 在使用 CLI 的机器上,拨打 javinfo- open 用于 LAN 播放器 URL(可选播放器启动),或 javinfo- serve 来管理守护进程生命周期 。 提供者选择数据来源: - fanza, dmm-元数据(也做自由文本搜索)-javdb-下载链接和磁铁(仅含javinfo-movie)-missav-.m3u8流-jav数据库-描述和样本图像 电影输出跳过图像 URL,除非您通过包含图像: true. 每个结果都带有结构化的原始记录。 javinfo- search 也使用过滤器,排序,页面和num(页面大小,默认为10,最大为50). q 在设置过滤器时是可选的——浏览一个没有关键字的完整分类.

概述(AI 翻译)

Javinfo API的 MCP 服务器(stdio). 抬头找JAV 通过DVD代码、标题或女演员发布,并获得元数据、下载链接或 流回 URL 。 带着Javinfo CLI ,您也可以打开 ** 本地局域网 HLS 播放会话 **.

□ 工具

# 工具 # # 是否 # # # # #

|. QQ javinfo-search 以代码,标题,或女演员来搜索——带有可选的过滤,排序,和相接. 返回匹配的列表 。\\ x QQ javinfo-movie 以精确的 DVD 代号获取一个发行量。QQ QQ javinfo-random QQ一批随机DMM+FANZA标题(完整记录). QQ javinfo-open 通过 javinfo CLI 打开本地播放会话(自动启动服务守护进程;返回 [T4]) 。 | QQ javinfo-serve 控制本地服务守护进程 : [[T6] / [[T7] / [[T8] (需要CLI).

首先搜索找到代码,然后用它拨打javinfo-movie. 在机器上 与 CLI,调用 javinfo-open 用于局域网播放 URL(可选播放器启动), 或 javinfo-serve 管理守护进程生命周期。

providers 选择数据来源:

  • [[T13],[T14]]——元数据(也进行自由文本搜索)
  • javdb——仅限下载链接和磁铁([T16])
  • missav——[T18]]溪流

本页由 AI 翻译,技术细节请以原文为准。

README

以下为原文 README 节选,完整内容请查看原文。

@javinfo/mcp

An MCP server (stdio) for the javinfo API. Look up JAV releases by DVD code, title, or actress, and get metadata, download links, or stream URLs back. With the javinfo CLI installed, you can also open a local LAN HLS play session.

Tools

Tool Does
javinfo-search Search by code, title, or actress — with optional filter, sort, and pagination. Returns a list of matches.
javinfo-movie Fetch one release by exact DVD id.
javinfo-random A batch of random DMM+FANZA titles (full records).
javinfo-open Open a local play session via the javinfo CLI (auto-starts serve daemon; returns play_url).
javinfo-serve Control the local serve daemon: start / stop / status (CLI required).

Search first to find the code, then call javinfo-movie with it. On a machine with the CLI, call javinfo-open for a LAN play URL (optional player launch), or javinfo-serve to manage the daemon lifecycle.

providers picks where the data comes from:

  • fanza, dmm — metadata (also do free-text search)
  • javdb — download links and magnets (javinfo-movie only)
  • missav — .m3u8 streams
  • javdatabase — description and sample images

Movie output skips image URLs unless you pass includeImages: true. Every result also carries the raw record as structuredContent.

javinfo-search also takes filter, sort, page, and num (page size, default 10, max 50). q is optional when a filter is set — browse a whole category with no keyword.

filter fields (all optional): genre, actress, maker, series, director, label, actor, censored (censored/uncensored), runtimeMin, runtimeMax (minutes), releaseAfter, releaseBefore (YYYY-MM-DD), availability (playable/magnets/subtitle/single). sort is one of relevance (default), release, update, rating.

Not every provider supports every filter — e.g. runtime range is fanza/dmm/missav, release range and Japanese genres are missav, availability is javdb. Values pass through verbatim (exact match; English vs Japanese genres vary by source). Unpinned, the API skips a provider that can’t satisfy a filter and tries the next; pin a provider that can’t and you get a 422 with the reason.

Local open (javinfo-open)

Requires the javinfo CLI on PATH (or set JAVINFO_CLI to an absolute binary). Install:

curl -fsSL https://javinfo.dev/install.sh | bash
Arg Required Meaning
q yes DVD code (e.g. EBOD-391)
with no Player id/path — prefer asking the user, then vlc (javinfo open --with)
maxHeight no Prefer variants ≤ this height
ttl no Session TTL in hours (default: no expiry)
在 GitHub 查看完整 README

安装

npx -y @javinfo/mcp
新手?先看 mcpskill.org 教程 →

配置

{ "mcpServers": { "javinfo": { "command": "npx", "args": ["-y", "@javinfo/mcp"], "env": { "JAVINFO_API_KEY": "jvi_..." } } } }