C411 MCP Server
C411 MCP 服务器
一个用于在 c411.org 上搜索种子、获取种子元数据和评论,以及下载 .torrent 文件的 MCP (Model Context Protocol) 服务器。
目录
Related MCP server: RuTracker MCP Server
功能
在 c411.org 上搜索种子
通过
infoHash获取详细的种子元数据通过
infoHash获取分页的种子评论通过
infoHash下载.torrent文件自动重用已认证的会话
在认证过期时进行带小延迟和有限重试次数的重试
区分凭据缺失、凭据无效和维护模式故障
返回结构化的搜索结果,包含标题、大小、做种数以及可用的
infoHash
安装
npm install使用
运行服务器
服务器默认使用 stdio 传输:
npm run dev或者构建并运行:
npm run build
npm start身份验证
c411.org 需要身份验证才能访问种子列表。要启用登录:
设置以下环境变量:
C411_USERNAME: 您的 c411.org 用户名C411_PASSWORD: 您的 c411.org 密码
服务器将自动登录并维护会话。
如果没有凭据,服务器可能无法检索搜索结果。
认证失败行为
当身份验证失败时,服务器会尝试返回更具体的错误:
凭据缺失:要求提供
C411_USERNAME和C411_PASSWORD凭据无效:报告用户名/密码被拒绝
维护模式:报告 c411.org 暂时不可用
网络或超时问题:返回经过脱敏的传输错误,不记录凭据
HTTP 请求在 10 秒后超时。
MCP 客户端配置
要将此服务器与 MCP 客户端(如 Claude Desktop)一起使用,请添加到您的客户端配置中:
{
"mcpServers": {
"c411": {
"command": "node",
"args": ["/path/to/c411-mcp-server/build/index.js"],
"env": {
"C411_USERNAME": "your_username",
"C411_PASSWORD": "your_password"
}
}
}
}对于 OpenCode,请在 OpenCode 配置的 mcp 下使用本地 MCP 条目配置服务器:
{
"$schema": "https://opencode.ai/config.json",
"mcp": {
"c411": {
"type": "local",
"command": ["node", "/path/to/c411-mcp-server/build/index.js"],
"enabled": true,
"environment": {
"C411_USERNAME": "your_username",
"C411_PASSWORD": "your_password"
}
}
}
}OpenCode 在 mcp 键下记录 MCP 服务器,本地服务器使用 type: "local"、command 数组和用于环境变量的 environment。
您也可以通过 OpenCode CLI 添加它:
opencode mcp add然后选择一个本地 MCP 服务器并输入等效值:
name:
c411type:
localcommand:
node /path/to/c411-mcp-server/build/index.jsenvironment:
C411_USERNAME=your_usernameC411_PASSWORD=your_password
之后,您可以使用以下命令验证它是否已添加:
opencode mcp list工具
search_c411
在 c411.org 上搜索种子。
参数:
query(string, 必填): 搜索查询,已修剪,1 到 200 个字符category(string, 可选): 分类过滤器。1,2,3,4,5,6,7,10之一。subcat(string, 可选): 子分类过滤器。仅在category为1时有效。sortBy(string, 可选): 排序标准。relevance,seeders,leechers,size,createdAt,name,completions,comments,category之一。默认为relevance。sortOrder(string, 可选): 排序顺序。asc,desc之一。默认为desc。page(number, 可选): 结果页码。默认为1。perPage(number, 可选): 每页结果数。默认为25,最大100。
返回: 包含标题、大小、做种数以及可用 infoHash 的种子结果列表。
list_my_c411_uploads
列出当前已认证的 c411.org 用户上传的种子。
参数:
query(string, 可选): 搜索查询,已修剪,1 到 200 个字符。category(string, 可选): 分类过滤器。1,2,3,4,5,6,7,10之一。subcat(string, 可选): 子分类过滤器。仅在category为1时有效。sortBy(string, 可选): 排序标准。relevance,seeders,leechers,size,createdAt,name,completions,comments,category之一。默认为relevance。sortOrder(string, 可选): 排序顺序。asc,desc之一。默认为desc。page(number, 可选): 结果页码。默认为1。perPage(number, 可选): 每页结果数。默认为100,最大100。
返回: 当前用户上传的种子结果列表,使用与 search_c411 相同的结构。
get_c411_torrent_info
获取 c411.org 上种子的详细元数据。
参数:
infoHash(string, 必填): 种子的 40 字符十六进制infoHash
返回: 结构化的种子元数据,包括标题、分类、大小、做种者和下载者数量、完成数、上传者、创建日期、文件列表、可用的 TMDB 数据以及信任信息。
get_c411_torrent_comments
获取 c411.org 上种子的分页评论。
参数:
infoHash(string, 必填): 种子的 40 字符十六进制infoHashpage(number, 可选): 评论页码。默认为1。limit(number, 可选): 每页评论数。默认为20,最大100。
返回: 带有分页元数据和标准化评论条目的结构化评论结果,包括 HTML 内容、纯文本内容、作者信息、时间戳以及(如果存在)回复目标。
download_c411_torrent
从 c411.org 下载 .torrent 文件并保存到磁盘。
参数:
infoHash(string, 必填): 种子的 40 字符十六进制 infoHashoutputDir(string, 可选): 保存.torrent文件的目录。默认为/tmp。
返回: 已保存 .torrent 文件的完整路径。
示例:
infoHash: "178a3516f248e45f9857abbc2cbc8a8b20f29815"
outputDir: "/tmp"项目结构
src/index.ts: 仅引导;创建 MCP 服务器并启动 stdiosrc/c411-client.ts: c411 认证、重试、搜索、种子信息、评论和下载逻辑src/register-tools.ts: MCP 工具注册src/formatters.ts: 用于搜索、种子信息和评论的格式化和标准化辅助工具src/http-response-utils.ts: 响应解析和维护检测辅助工具src/http-client.ts: 隔离的 Axios + cookie-jar 设置src/schemas.ts: Zod 工具模式src/types.ts: 共享的 TypeScript 类型
开发
npm run dev: 在开发模式下运行并热重载npm run build: 将 TypeScript 编译为 JavaScriptnpm start: 运行已编译的服务器
注意事项
此服务器仅供个人使用
请遵守 c411.org 的服务条款
请妥善保管您的凭据
如果网站结构发生变化,爬虫可能需要更新
Maintenance
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
- FlicenseAqualityDmaintenanceEnables interaction with qBittorrent through its Web API to search for torrents using search plugins and manage downloads. Supports torrent searching, downloading via URLs/magnet links, and torrent management operations like pause, resume, and delete.473
- Flicense-qualityBmaintenanceAllows users to search and browse torrents on rutracker.org, retrieving detailed metadata including magnet links and file lists. It automatically handles authentication by extracting session cookies from the Brave browser on macOS.
- AlicenseAqualityCmaintenanceEnables AI assistants to interact with the M-Team private torrent tracker API for searching resources, retrieving torrent details, and downloading torrent files. It provides a bridge for Model Context Protocol clients to manage and access private tracker content through natural language.38MIT
- Flicense-qualityDmaintenanceEnables searching and downloading torrents from iptorrents.com using browser cookie-based authentication, with features like filtering, sorting, and freeleech detection.
Related MCP Connectors
x402-gated web extraction gateway. Tools: extract, extract_batch.
Source-first URL clone, capture, rebuild, and fidelity verification tools.
Search MusicBrainz artists, releases, works, labels; resolve ISRC/ISWC/barcode; fetch cover art.
Latest Blog Posts
- Who's Calling? MCP Hosts Are an Identity Blind Spot (And the Spec Knows It)By Om-Shree-0709 on .mcpAgent IdentityOAuth 2.1
- Your AI Chatbot Just Exposed Your CEO's Salary to an InternBy Om-Shree-0709 on .Agent IdentityMCP SecurityOAuth Delegation
- Why MCP Servers Need Execution Sandboxing (And Why Your Current Stack Isn't Enough)By Om-Shree-0709 on .Agentic AiPrompt InjectionWebAssembly
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/julien-nc/mcp-server-c411'
If you have feedback or need assistance with the MCP directory API, please join our Discord server