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

Capabilities

Features and capabilities supported by this server

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

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/capwitf/baidu-netdisk-knowledge-mcp'

If you have feedback or need assistance with the MCP directory API, please join our Discord server