Skip to main content
Glama
capwitf

Baidu Netdisk Knowledge MCP

by capwitf

Server Configuration

Describes the environment variables required to run the server.

NameRequiredDescriptionDefault
BAIDU_SCOPENoOAuth scopebasic,netdisk
BAIDU_APP_KEYYes百度开放平台 AppKey
BAIDU_CACHE_ROOTNo本地 cache 路径~/.baidu-netdisk-mcp/cache
BAIDU_LOCAL_ROOTNo本地文件访问根目录启动目录
BAIDU_SECRET_KEYYes百度开放平台 SecretKey
BAIDU_SKILLS_DIRNo自定义 skill 目录~/.baidu-netdisk-mcp/skills
BAIDU_TOKEN_STORENotoken 文件路径~/.baidu-netdisk-mcp/tokens.json
BAIDU_REDIRECT_URINoOAuth 回调地址oob
BAIDU_OPERATION_LOGNo写操作审计日志路径~/.baidu-netdisk-mcp/operations.jsonl
BAIDU_SELECTION_STORENoselectionId 存储路径~/.baidu-netdisk-mcp/selections.json
BAIDU_STRICT_APP_PATHSNo写操作限制到 /apps/<appName>true
BAIDU_TRANSFER_MAX_RETRIESNo上传/下载重试次数3
BAIDU_UPLOAD_CHUNK_SIZE_BYTESNo上传分片大小4194304

Instructions

Guidance the server publishes about itself, which clients place ahead of the tool catalog so the model reads it before choosing anything.

This server publishes no instructions, or was last inspected before Glama recorded them.

Capabilities

Features and capabilities supported by this server

Protocol revision2025-11-25

CapabilityDetails
tools
{
  "listChanged": true
}

Tools

Functions exposed to the LLM to take actions

NameDescription
baidu_auth_statusA

Check whether the MCP server has a Baidu Netdisk access token.

baidu_auth_urlC

Build a Baidu OAuth authorization URL for basic,netdisk access.

baidu_auth_qrcode_urlC

Build a Baidu OAuth URL optimized for QR-code login.

baidu_auth_qrcodeB

Build a QR-code Baidu OAuth URL plus terminal QR and PNG data URL.

baidu_auth_exchange_codeB

Exchange a Baidu OAuth authorization code for access and refresh tokens.

baidu_auth_refreshA

Refresh the stored Baidu access token and persist the new single-use refresh token.

baidu_operation_logB

Read recent local audit records for executed Baidu Netdisk write operations.

baidu_quotaA

Get Baidu Netdisk total, used, free, and expiring capacity.

baidu_list_filesC

List files in a Baidu Netdisk directory.

baidu_list_all_filesC

List files below a Baidu Netdisk path, optionally recursively.

baidu_search_filesC

Search Baidu Netdisk files by keyword.

baidu_search_selectable_filesB

Search files and return a numbered list that can be selected with expressions like 1,3,5-9.

baidu_list_selectable_filesB

List files and return a numbered list that can be selected with expressions like 1,3,5-9.

baidu_select_filesB

Create a reusable selectionId from a resultId plus an expression such as 1,3,5-9.

baidu_file_metasC

Get metadata for one or more Baidu Netdisk fs_id values.

baidu_create_folderB

Create a folder under /apps/ in Baidu Netdisk.

baidu_rename_fileC

Rename a Baidu Netdisk file or folder.

baidu_copy_fileC

Copy a Baidu Netdisk file or folder.

baidu_move_fileC

Move a Baidu Netdisk file or folder.

baidu_delete_fileB

Delete Baidu Netdisk files. Requires confirm: DELETE.

baidu_upload_fileB

Upload a local file to Baidu Netdisk using the official multipart upload flow.

baidu_download_fileA

Download a Baidu Netdisk file by fs_id to the configured local root.

baidu_read_selectionB

Download selected files to local cache, parse supported document formats, and return chunked text.

baidu_analyze_selectionB

Summarize selected files with key points, actions, tags, value judgment, and suggested classification.

baidu_list_skillsA

List built-in and user-defined Markdown/YAML knowledge processing skills.

baidu_run_skillC

Run a configured knowledge processing skill over a selectionId.

baidu_plan_organize_selectionA

Create a dry-run folder organization plan for selected files. It does not move files.

Prompts

Interactive templates invoked by user choice

NameDescription

No prompts

Resources

Contextual data attached and managed by the client

NameDescription

No resources

TDQS

C2.9/5.0

Scored across 27 tools

Disambiguation2/5

Several tools have overlapping purposes. The auth tools (baidu_auth_url, baidu_auth_qrcode_url, baidu_auth_qrcode) all generate OAuth URLs with subtle differences, and listing/search tools (baidu_list_files, baidu_list_all_files, baidu_list_selectable_files, baidu_search_files, baidu_search_selectable_files) create confusion about when to use each. The selection workflow (baidu_select_files, baidu_read_selection, baidu_analyze_selection) adds another layer of ambiguity.

Naming Consistency4/5

The baidu_ prefix is consistent, and most tools follow a verb_noun pattern (baidu_list_files, baidu_delete_file, baidu_upload_file). A few exceptions like baidu_quota, baidu_operation_log, and baidu_file_metas are noun-only, and baidu_plan_organize_selection is somewhat verbose, but overall the naming is predictable and readable.

Tool Count2/5

With 27 tools, this exceeds the 25+ threshold considered too many. The auth flow alone has six tools, and there are multiple variants for listing and searching files that could be consolidated. The tool count feels heavy for the server's purpose, even considering the broad feature set.

Completeness4/5

The tool set covers the core file lifecycle (create, read/upload, download, delete, rename, copy, move, list, search) and includes knowledge processing (read, analyze, run skill, plan organize). However, there is no skill management (create/update/delete skills) and the selection lifecycle only supports creation, not updates or deletion. These are minor gaps that agents can work around.

Maintenance

ActivityInactive
ResponsivenessNo issues