Lanzou MCP
Lanzou MCP
Model Context Protocol (MCP) 기반의 란조우 클라우드(Lanzou Cloud) 도구 서비스로, 로그인, 웹하드 목록, 파일 다운로드 정보 및 공유 페이지 다이렉트 링크 파싱 기능을 제공합니다.
기능
lanzou_login: 란조우 클라우드에 로그인하고 재사용 가능한cookieHeader를 반환합니다.lanzou_get_mydisk_content:uid를 사용하여 웹하드 파일 목록을 가져옵니다(기본값task=5).lanzou_get_file_link:file_id를 사용하여 다운로드 정보를 가져옵니다(task=22).lanzou_get_direct_link: 비밀번호가 없거나 있는 공유 페이지를 지원하며, 다이렉트 링크를 파싱합니다.
Related MCP server: MCP Filesystem Server
환경 요구 사항
Node.js 18+
npm
설치
npm install실행
npm start서비스 진입점: src/server.js
MCP 클라이언트 연결 예시 (Codex)
codex mcp add lanzou -- node C:/Users/16417/Desktop/lanzou/src/server.js도구 인터페이스 요약
1) lanzou_login
입력 매개변수:
username: 계정password: 비밀번호
주요 반환값:
isLoginSuccesscookieHeadersetCookies
2) lanzou_get_mydisk_content
입력 매개변수:
uidcookieHeaderrequestBody(선택 사항, 기본값task=5)
주요 반환값:
zt/infototalFilesfiles[](id,name,size,downs등 포함)
3) lanzou_get_file_link
입력 매개변수:
fileIdcookieHeaderuid(선택 사항)
주요 반환값:
ztfIdisNewddownloadUrl
4) lanzou_get_direct_link
입력 매개변수:
shareUrlcookieHeader(선택 사항)password(비밀번호가 있는 공유 페이지인 경우 필수)
주요 반환값:
mode(fn또는share_password)directUrltelecomDownloadUrlunicomDownloadUrlnormalDownloadUrl
권장 호출 순서
lanzou_login을 통해cookieHeader획득lanzou_get_mydisk_content로 파일 목록 가져오기lanzou_get_file_link로 공유 주소 가져오기lanzou_get_direct_link로 최종 다이렉트 링크 파싱
프로젝트 구조
.
├─ src/
│ └─ server.js
├─ package.json
└─ README.md면책 조항
본 프로젝트는 인터페이스 연구 및 자동화 테스트 목적으로만 사용되며, 란조우 클라우드 서비스 약관 및 현지 법률과 규정을 준수하십시오.
Available Tools
4 toolslanzou_get_direct_link蓝奏云直链获取C
支持无密码与带密码分享页;自动提取 /fn 或分享页脚本中的 ajaxm/sign,并请求 downprocess 获取直链。
Inputs: shareUrl (required), cookieHeader, password. Returns: mode, status, ok, contentType, +21 more
lanzou_get_file_link蓝奏云文件链接C
调用 doupload.php task=22,按 file_id 获取文件下载信息与下载链接。
Inputs: fileId (required), cookieHeader (required), uid. Returns: status, ok, contentType, requestUrl, +14 more
lanzou_get_mydisk_content蓝奏云网盘内容C
调用 doupload.php?uid=... 接口,默认以 task=5 获取网盘内容。
Inputs: uid (required), cookieHeader (required), requestBody. Returns: status, ok, contentType, requestUrl, +9 more
lanzou_login蓝奏云登录C
调用蓝奏云登录接口,并按响应头中是否存在 Set-Cookie 判断登录成功。
Inputs: username (required), password (required).
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
Loading tool schema changelog…
TDQS
Scored across 4 tools
The tools are mostly distinct with clear purposes: get_direct_link handles share pages, get_file_link uses file IDs, get_mydisk_content lists disk contents, and login manages authentication. There is minor potential confusion between get_direct_link and get_file_link as both retrieve download links, but their descriptions clarify different input methods (share pages vs. file IDs).
All tool names follow a consistent lanzou_verb_noun pattern (e.g., lanzou_get_direct_link, lanzou_login), using snake_case throughout. This predictability makes it easy for an agent to understand and select tools based on their naming convention.
With 4 tools, the count is reasonable for a server focused on Lanzou cloud storage operations. It covers key actions like authentication, content listing, and link retrieval, though it might benefit from additional tools for uploads or deletions to be more comprehensive.
The toolset covers authentication, content listing, and link retrieval, which are essential for basic interactions with Lanzou. However, there are notable gaps such as upload, delete, move, or rename operations, limiting the server's ability to handle full file management workflows.
Maintenance
Related MCP Connectors
An MCP server that provides read access to your cloud storage providers, bank accounts and more.
A comprehensive Model Context Protocol (MCP) server that enables AI assistants to interact with yo…
Model Context Protocol server for the Apideck Unified API. Connect any MCP-compatible agent framework to 100+ accounting systems, HRIS platforms, file storage providers, and more through one integration. More information https://www.apideck.com/mcp-server
Cloud file relay: chunked uploads, folders, share links, inline text reads, ZIP packing.
Related MCP Servers
- AlicenseBqualityDmaintenanceA Model Context Protocol server that provides seamless access to multiple storage services including S3, Azure Blob Storage, and Google Cloud Storage through Apache OpenDAL™.335Apache 2.0
- AlicenseAqualityFmaintenanceA Model Context Protocol server that provides secure and intelligent interaction with files and filesystems, offering smart context management and token-efficient operations for working with large files and complex directory structures.2167MIT
- AlicenseAqualityBmaintenanceA Model Context Protocol server that provides integration with LeetCode APIs, enabling automated interaction with programming problems, contests, solutions, and user data across both leetcode.com and leetcode.cn platforms.9727 npm158MIT
- AlicenseAqualityDmaintenanceA Model Context Protocol server that enables AI assistants to interact with Proton Drive files, supporting operations like listing, reading, creating, and deleting files and folders.7388 npm16MIT