Lanzou MCP

Lanzou MCP

A Model Context Protocol server for interacting with Lanzou Cloud storage. It provides authentication, file listing, download information retrieval, and direct link parsing capabilities for Lanzou Cloud services.

Category
Visit Server

README

Lanzou MCP

一个基于 Model Context Protocol (MCP) 的蓝奏云工具服务,提供登录、网盘列表、文件下载信息和分享页直链解析能力。

功能

  • lanzou_login:登录蓝奏云并返回可复用的 cookieHeader
  • lanzou_get_mydisk_content:按 uid 获取网盘文件列表(默认 task=5)
  • lanzou_get_file_link:按 file_id 获取下载信息(task=22)
  • lanzou_get_direct_link:支持无密码/带密码分享页,解析直链

环境要求

  • 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:密码

关键返回:

  • isLoginSuccess
  • cookieHeader
  • setCookies

2) lanzou_get_mydisk_content

入参:

  • uid
  • cookieHeader
  • requestBody(可选,默认 task=5)

关键返回:

  • zt / info
  • totalFiles
  • files[](包含 id、name、size、downs 等)

3) lanzou_get_file_link

入参:

  • fileId
  • cookieHeader
  • uid(可选)

关键返回:

  • zt
  • fId
  • isNewd
  • downloadUrl

4) lanzou_get_direct_link

入参:

  • shareUrl
  • cookieHeader(可选)
  • password(带密码分享页时必填)

关键返回:

  • mode(fn 或 share_password)
  • directUrl
  • telecomDownloadUrl
  • unicomDownloadUrl
  • normalDownloadUrl

推荐调用顺序

  1. lanzou_login 获取 cookieHeader
  2. lanzou_get_mydisk_content 拉取文件列表
  3. lanzou_get_file_link 获取分享地址
  4. lanzou_get_direct_link 解析最终直链

项目结构

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

免责声明

本项目仅用于接口研究与自动化测试,请遵守蓝奏云服务条款及当地法律法规。

Recommended Servers

playwright-mcp

playwright-mcp

A Model Context Protocol server that enables LLMs to interact with web pages through structured accessibility snapshots without requiring vision models or screenshots.

Official
Featured
TypeScript
Magic Component Platform (MCP)

Magic Component Platform (MCP)

An AI-powered tool that generates modern UI components from natural language descriptions, integrating with popular IDEs to streamline UI development workflow.

Official
Featured
Local
TypeScript
Audiense Insights MCP Server

Audiense Insights MCP Server

Enables interaction with Audiense Insights accounts via the Model Context Protocol, facilitating the extraction and analysis of marketing insights and audience data including demographics, behavior, and influencer engagement.

Official
Featured
Local
TypeScript
VeyraX MCP

VeyraX MCP

Single MCP tool to connect all your favorite tools: Gmail, Calendar and 40 more.

Official
Featured
Local
graphlit-mcp-server

graphlit-mcp-server

The Model Context Protocol (MCP) Server enables integration between MCP clients and the Graphlit service. Ingest anything from Slack to Gmail to podcast feeds, in addition to web crawling, into a Graphlit project - and then retrieve relevant contents from the MCP client.

Official
Featured
TypeScript
Kagi MCP Server

Kagi MCP Server

An MCP server that integrates Kagi search capabilities with Claude AI, enabling Claude to perform real-time web searches when answering questions that require up-to-date information.

Official
Featured
Python
Neon Database

Neon Database

MCP server for interacting with Neon Management API and databases

Official
Featured
E2B

E2B

Using MCP to run code via e2b.

Official
Featured
Exa Search

Exa Search

A Model Context Protocol (MCP) server lets AI assistants like Claude use the Exa AI Search API for web searches. This setup allows AI models to get real-time web information in a safe and controlled way.

Official
Featured
Qdrant Server

Qdrant Server

This repository is an example of how to create a MCP server for Qdrant, a vector search engine.

Official
Featured