Skip to main content
Glama

Lanzou MCP

Ein auf dem Model Context Protocol (MCP) basierender Lanzou Cloud-Tool-Dienst, der Funktionen für Anmeldung, Auflistung des Cloud-Speichers, Datei-Download-Informationen und die Analyse von Direktlinks für Freigabeseiten bietet.

Funktionen

  • lanzou_login: Meldet sich bei Lanzou Cloud an und gibt einen wiederverwendbaren cookieHeader zurück

  • lanzou_get_mydisk_content: Ruft die Dateiliste des Cloud-Speichers nach uid ab (Standard task=5)

  • lanzou_get_file_link: Ruft Download-Informationen nach file_id ab (task=22)

  • lanzou_get_direct_link: Unterstützt Freigabeseiten mit oder ohne Passwort und analysiert Direktlinks

Related MCP server: MCP Filesystem Server

Systemanforderungen

  • Node.js 18+

  • npm

Installation

npm install

Start

npm start

Service-Einstiegspunkt: src/server.js

Beispiel für die Anbindung an einen MCP-Client (Codex)

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

Kurzübersicht der Tool-Schnittstellen

1) lanzou_login

Eingabeparameter:

  • username: Benutzername

  • password: Passwort

Wichtige Rückgabewerte:

  • isLoginSuccess

  • cookieHeader

  • setCookies

2) lanzou_get_mydisk_content

Eingabeparameter:

  • uid

  • cookieHeader

  • requestBody (optional, Standard task=5)

Wichtige Rückgabewerte:

  • zt / info

  • totalFiles

  • files[] (enthält id, name, size, downs usw.)

3) lanzou_get_file_link

Eingabeparameter:

  • fileId

  • cookieHeader

  • uid (optional)

Wichtige Rückgabewerte:

  • zt

  • fId

  • isNewd

  • downloadUrl

4) lanzou_get_direct_link

Eingabeparameter:

  • shareUrl

  • cookieHeader (optional)

  • password (erforderlich bei Freigabeseiten mit Passwort)

Wichtige Rückgabewerte:

  • mode (fn oder share_password)

  • directUrl

  • telecomDownloadUrl

  • unicomDownloadUrl

  • normalDownloadUrl

Empfohlene Aufrufreihenfolge

  1. lanzou_login zum Abrufen des cookieHeader

  2. lanzou_get_mydisk_content zum Abrufen der Dateiliste

  3. lanzou_get_file_link zum Abrufen der Freigabe-URL

  4. lanzou_get_direct_link zum Analysieren des endgültigen Direktlinks

Projektstruktur

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

Haftungsausschluss

Dieses Projekt dient ausschließlich der Schnittstellenforschung und automatisierten Tests. Bitte halten Sie sich an die Nutzungsbedingungen von Lanzou Cloud sowie an die geltenden lokalen Gesetze und Vorschriften.

Available Tools

4 tools
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

    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 recent community 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
      B
      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
      727 npm
      158
      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
      388 npm
      16
      MIT