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 获取直链。
| Name | Required | Description | Default |
|---|---|---|---|
| shareUrl | Yes | ||
| cookieHeader | No | ||
| password | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| mode | Yes | |
| status | Yes | |
| ok | Yes | |
| contentType | Yes | |
| shareUrl | Yes | |
| fnPath | Yes | |
| fnUrl | Yes | |
| ajaxmPath | Yes | |
| ajaxmUrl | Yes | |
| requestBody | Yes | |
| cookieHeader | Yes | |
| parseSuccess | Yes | |
| zt | Yes | |
| info | Yes | |
| wpSign | Yes | |
| ajaxdata | Yes | |
| downprocessSign | Yes | |
| kdns | Yes | |
| dom | Yes | |
| url | Yes | |
| directUrl | Yes | dom + /file/ + url |
| telecomDownloadUrl | Yes | 电信下载链接 |
| unicomDownloadUrl | Yes | 联通下载链接 |
| normalDownloadUrl | Yes | 普通下载链接(通常带 toolsdown) |
| rawResponseText | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries full burden for behavioral disclosure. It describes the technical process (extracting ajaxm/sign, requesting downprocess) but lacks critical behavioral information: authentication requirements (cookieHeader parameter usage), rate limits, error handling, what constitutes a valid shareUrl, or whether this operation has side effects. For a tool with 3 parameters and no annotation coverage, this leaves significant gaps in understanding how the tool behaves in practice.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately concise - one sentence that efficiently describes the tool's functionality without unnecessary words. It's front-loaded with the core capability and follows with implementation details. However, the technical jargon ('ajaxm/sign', 'downprocess') assumes domain knowledge without explanation, slightly reducing clarity for non-specialist agents.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has 3 parameters with 0% schema coverage, no annotations, but does have an output schema, the description is moderately complete. It explains what the tool does technically but misses important context: parameter usage, authentication needs, error conditions, and relationship to sibling tools. The output schema existence means return values documentation isn't needed, but other contextual gaps remain significant for proper tool selection and invocation.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the schema provides no parameter documentation. The description mentions support for '无密码与带密码分享页' (password/no-password sharing pages) which relates to the 'password' parameter, and implies URL processing for 'shareUrl', but doesn't explain the 'cookieHeader' parameter at all or provide format examples, validation rules, or relationship between parameters. With 3 undocumented parameters, the description adds minimal semantic value beyond what's inferable from parameter names.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: '蓝奏云直链获取' (LanZou Cloud direct link acquisition) with specific actions - supports password/no-password sharing pages, extracts ajaxm/sign from /fn or sharing page scripts, and requests downprocess to get direct links. It uses specific verbs ('支持', '自动提取', '请求获取') and identifies the resource (direct links from LanZou Cloud). However, it doesn't explicitly differentiate from sibling tools like 'lanzou_get_file_link' which might have overlapping functionality.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives like 'lanzou_get_file_link' or 'lanzou_get_mydisk_content'. It mentions support for password/no-password scenarios but doesn't specify prerequisites, constraints, or comparative use cases. The agent must infer usage from the tool name and description alone without explicit when/when-not instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
lanzou_get_file_link蓝奏云文件链接C
调用 doupload.php task=22,按 file_id 获取文件下载信息与下载链接。
| Name | Required | Description | Default |
|---|---|---|---|
| fileId | Yes | ||
| cookieHeader | Yes | ||
| uid | No |
Output Schema
| Name | Required | Description |
|---|---|---|
| status | Yes | |
| ok | Yes | |
| contentType | Yes | |
| requestUrl | Yes | |
| requestBody | Yes | |
| setCookieCount | Yes | |
| setCookies | Yes | |
| parseSuccess | Yes | |
| zt | Yes | |
| pwd | Yes | 提取码 |
| onof | Yes | 是否需要密码 |
| onofRaw | Yes | 原始 onof 值 |
| fId | Yes | 下载路径 ID |
| isNewd | Yes | 下载域名 |
| taoc | Yes | |
| downloadUrl | Yes | 拼接后的下载链接 |
| infoMessage | Yes | 当响应 info 不是对象时的原始信息 |
| rawResponseText | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
With no annotations provided, the description carries the full burden of behavioral disclosure. It mentions the API call and parameters but fails to describe key traits such as authentication needs (implied by cookieHeader), rate limits, error handling, or what the output includes. This leaves significant gaps in understanding the tool's behavior.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is a single, efficient sentence that front-loads the API call and key parameters. It avoids unnecessary details, though it could be slightly more informative without losing conciseness.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the tool has an output schema, the description doesn't need to explain return values. However, with no annotations, 3 parameters (2 required), and 0% schema coverage, the description is incomplete—it lacks context on authentication, errors, and sibling tool differentiation, making it only minimally adequate.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It references file_id and implies cookieHeader usage but doesn't explain what these parameters mean (e.g., fileId as identifier, cookieHeader for authentication) or the optional uid. This adds minimal semantic value beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool calls a specific API endpoint (doupload.php task=22) to get file download information and links by file_id, which clarifies the action and resource. However, it doesn't distinguish this from sibling tools like 'lanzou_get_direct_link' or 'lanzou_get_mydisk_content', leaving the purpose somewhat vague in context.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No explicit guidance is provided on when to use this tool versus alternatives like 'lanzou_get_direct_link'. The description implies usage based on file_id and cookieHeader, but there's no mention of prerequisites, exclusions, or comparisons to sibling tools, offering minimal context for selection.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
lanzou_get_mydisk_content蓝奏云网盘内容C
调用 doupload.php?uid=... 接口,默认以 task=5 获取网盘内容。
| Name | Required | Description | Default |
|---|---|---|---|
| uid | Yes | ||
| cookieHeader | Yes | ||
| requestBody | No | task=5 |
Output Schema
| Name | Required | Description |
|---|---|---|
| status | Yes | |
| ok | Yes | |
| contentType | Yes | |
| requestUrl | Yes | |
| requestBody | Yes | |
| setCookieCount | Yes | |
| setCookies | Yes | |
| parseSuccess | Yes | |
| zt | Yes | |
| info | Yes | |
| totalFiles | Yes | |
| files | Yes | |
| rawResponseText | No |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It mentions calling an API endpoint with a default parameter (task=5), but doesn't disclose behavioral traits like authentication requirements (implied by cookieHeader parameter), rate limits, error handling, or what 'disk content' includes. The description is minimal and leaves critical behavior unspecified.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is very concise with just one sentence, front-loaded with the API call. There's no wasted text, but it may be overly terse given the complexity. Every word earns its place, though more detail would improve utility without sacrificing brevity.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given 3 parameters with 0% schema coverage, no annotations, and an output schema exists, the description is incomplete. It doesn't explain parameter meanings or behavioral context, though the output schema may cover return values. For a tool with authentication and API interaction, more guidance is needed despite the output schema.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It only mentions the requestBody parameter having a default value of 'task=5', but doesn't explain what uid or cookieHeader are for, their formats, or how they relate to the operation. With 3 parameters and no schema descriptions, this adds minimal value beyond the bare schema.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description states the tool calls a specific API endpoint (doupload.php) to get disk content, which provides a basic purpose. However, it's vague about what 'disk content' means (files, folders, metadata?) and doesn't distinguish from sibling tools like lanzou_get_file_link or lanzou_get_direct_link. The description lacks specificity about the resource being retrieved.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
No guidance is provided on when to use this tool versus alternatives. The description doesn't mention sibling tools like lanzou_get_file_link or lanzou_get_direct_link, nor does it explain prerequisites (e.g., needing to log in first with lanzou_login). There's no context about when this tool is appropriate versus other methods.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
lanzou_login蓝奏云登录C
调用蓝奏云登录接口,并按响应头中是否存在 Set-Cookie 判断登录成功。
| Name | Required | Description | Default |
|---|---|---|---|
| username | Yes | ||
| password | Yes |
TDQS
Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?
No annotations are provided, so the description carries full burden. It discloses one behavioral trait: success is determined by checking for 'Set-Cookie' in response headers. However, it lacks critical details: what happens on failure (error handling), whether credentials are stored/persisted, rate limits, authentication scope, or what the tool returns beyond the success check. For a login tool with zero annotation coverage, this is insufficient.
Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.
Is the description appropriately sized, front-loaded, and free of redundancy?
The description is appropriately sized and front-loaded: a single sentence that directly states the tool's action and success criterion. There's no wasted text, and it efficiently conveys the core functionality without unnecessary elaboration.
Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.
Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?
Given the complexity (authentication tool with 2 parameters), no annotations, no output schema, and 0% schema coverage, the description is incomplete. It doesn't explain return values, error cases, or how the login state integrates with sibling tools. For a tool that likely enables other operations, this leaves significant gaps in understanding its role and behavior.
Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.
Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?
Schema description coverage is 0%, so the description must compensate. It adds no meaning beyond the input schema—it doesn't explain what 'username' and 'password' represent (e.g., LanZou account credentials), format expectations, or constraints. With 2 undocumented parameters and no description enhancement, this fails to meet the baseline.
Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.
Does the description clearly state what the tool does and how it differs from similar tools?
The description clearly states the tool's purpose: '调用蓝奏云登录接口' (call the LanZou cloud login interface). It specifies the verb ('调用' - call/execute) and resource ('蓝奏云登录接口' - LanZou cloud login interface), making the action explicit. However, it doesn't differentiate from sibling tools (which are all file/link retrieval tools), so it doesn't fully distinguish its authentication purpose from their data access purposes.
Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.
Does the description explain when to use this tool, when not to, or what alternatives exist?
The description provides no guidance on when to use this tool versus alternatives. It doesn't mention prerequisites (e.g., needing login before using sibling tools), exclusions, or contextual triggers. The only implied usage is for authentication, but this is basic and lacks explicit when/when-not instructions.
Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.
Tool Schema Changelog
Recent tool additions, removals, and schema changes observed during successful MCP inspections.
4 tool updates
v0.1.0- First observed
lanzou_get_direct_link - First observed
lanzou_get_file_link - First observed
lanzou_get_mydisk_content - First observed
lanzou_login
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…
A Model Context Protocol (MCP) server for Selise Blocks Cloud integration
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
Related MCP Servers
- AlicenseBqualityCmaintenanceA 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
- AlicenseAqualityAmaintenanceA 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.9255 npm144MIT
- 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.777 npm17MIT