Skip to main content
Glama

Lanzou MCP

A Lanzou Cloud tool service based on the Model Context Protocol (MCP), providing capabilities for login, cloud drive listing, file download information, and direct link parsing for shared pages.

Features

  • lanzou_login: Log in to Lanzou Cloud and return a reusable cookieHeader

  • lanzou_get_mydisk_content: Get the cloud drive file list by uid (default task=5)

  • lanzou_get_file_link: Get download information by file_id (task=22)

  • lanzou_get_direct_link: Support for password-protected/non-password-protected shared pages, parsing direct links

Related MCP server: MCP Filesystem Server

Requirements

  • Node.js 18+

  • npm

Installation

npm install

Startup

npm start

Service entry point: src/server.js

MCP Client Integration Example (Codex)

codex mcp add lanzou -- node C:/Users/16417/Desktop/lanzou/src/server.js

Tool Interface Summary

1) lanzou_login

Parameters:

  • username: Account username

  • password: Password

Key returns:

  • isLoginSuccess

  • cookieHeader

  • setCookies

2) lanzou_get_mydisk_content

Parameters:

  • uid

  • cookieHeader

  • requestBody (optional, default task=5)

Key returns:

  • zt / info

  • totalFiles

  • files[] (contains id, name, size, downs, etc.)

3) lanzou_get_file_link

Parameters:

  • fileId

  • cookieHeader

  • uid (optional)

Key returns:

  • zt

  • fId

  • isNewd

  • downloadUrl

4) lanzou_get_direct_link

Parameters:

  • shareUrl

  • cookieHeader (optional)

  • password (required for password-protected shared pages)

Key returns:

  • mode (fn or share_password)

  • directUrl

  • telecomDownloadUrl

  • unicomDownloadUrl

  • normalDownloadUrl

  1. lanzou_login to obtain cookieHeader

  2. lanzou_get_mydisk_content to pull the file list

  3. lanzou_get_file_link to obtain the share address

  4. lanzou_get_direct_link to parse the final direct link

Project Structure

.
├─ src/
│  └─ server.js
├─ package.json
└─ README.md

Disclaimer

This project is intended for interface research and automated testing only. Please comply with Lanzou Cloud's terms of service and local laws and regulations.

Available Tools

4 tools
lanzou_get_mydisk_content蓝奏云网盘内容C

调用 doupload.php?uid=... 接口,默认以 task=5 获取网盘内容。

ParametersJSON Schema
NameRequiredDescriptionDefault
uidYes
cookieHeaderYes
requestBodyNotask=5

Output Schema

ParametersJSON Schema
NameRequiredDescription
statusYes
okYes
contentTypeYes
requestUrlYes
requestBodyYes
setCookieCountYes
setCookiesYes
parseSuccessYes
ztYes
infoYes
totalFilesYes
filesYes
rawResponseTextNo

TDQS

C2.6/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness3/5

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.

Parameters2/5

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.

Purpose3/5

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.

Usage Guidelines2/5

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 判断登录成功。

ParametersJSON Schema
NameRequiredDescriptionDefault
usernameYes
passwordYes

TDQS

C2.7/5.0
Behavior2/5

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.

Conciseness4/5

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.

Completeness2/5

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.

Parameters2/5

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.

Purpose4/5

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.

Usage Guidelines2/5

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.

  1. 4 tool updatesv0.1.0
    • First observedlanzou_get_direct_link
    • First observedlanzou_get_file_link
    • First observedlanzou_get_mydisk_content
    • First observedlanzou_login

TDQS

B3.1/5.0

Scored across 4 tools

Disambiguation4/5

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).

Naming Consistency5/5

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.

Tool Count4/5

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.

Completeness3/5

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

ActivityInactive
ResponsivenessNo issues

Related MCP Connectors

Related MCP Servers

  • A
    license
    A
    quality
    F
    maintenance
    A 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.
    21
    67
    MIT
  • A
    license
    A
    quality
    A
    maintenance
    A 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.
    9
    255 npm
    144
    MIT
  • A
    license
    A
    quality
    D
    maintenance
    A 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.
    7
    77 npm
    17
    MIT